Free avatar generation library with multiple styles.
DiceBear is an open source avatar library and API that generates deterministic SVG avatars from a seed string such as a username, email, or ID. The same seed always produces the same avatar across platforms. It offers 52 avatar styles ranging from hand-drawn characters to abstract patterns, pixel art, and illustrated designs, with some styles sourced from independent artists under various open licenses and others designed by DiceBear itself.
Avatars can be generated through an HTTP API or through libraries for JavaScript, PHP, Python, Rust, Go, and Dart, as well as a CLI. A no-code editor is also available for creating and customizing avatars by selecting options like hair, eyes, and mouth, with export to PNG. A Figma plugin lets designers create custom avatar styles visually and export them as ready-to-use packages.
The product targets developers building user profiles, chat applications, games, forums, communities, and team collaboration tools who need unique, consistent avatars without requiring image uploads, as well as non-developers who want to create custom profile pictures through the editor. The core library is MIT licensed, and the CDN is sponsored by bunny.net.
Yes, DiceBear's core library is open source and MIT licensed.
DiceBear offers an HTTP API and libraries for JavaScript, PHP, Python, Rust, Go, and Dart, as well as a CLI.
You provide a seed string such as a username, email, or ID, and DiceBear generates the identical avatar for that seed every time.
It's for developers who need avatars for user profiles, chat apps, games, forums, or team tools, as well as non-developers who want to create custom avatars with the no-code editor.
Yes, you can design avatar components visually in Figma and export them as a ready-to-use style package with the DiceBear Figma plugin, or use the no-code avatar maker to customize and download a PNG.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Color Palette Generator.
Get various patterns, palettes and images.
Smithsonian Design Museum.
Discover the world’s top designers & creatives.
Get emojis by categories and groups.
European Museum and Galleries content.