Public APIs
DiceBear favicon

DiceBear

Art & Design

Free avatar generation library with multiple styles.

DiceBear's website screenshot

About DiceBear

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 and pixel art to abstract patterns and icons, some created by independent artists and others designed by the DiceBear team.

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 avatar maker and a browser-based editor are also available for creating and customizing avatars without writing code, with output downloadable as PNG. A Figma plugin lets users design custom avatar styles visually and export them as ready-to-use packages.

The core library is MIT licensed, and individual avatar styles carry their own licenses (including CC0, CC BY 4.0, and free-for-personal-and-commercial-use terms) depending on the original artist. Typical use cases include user profile pictures, chat application participants, gaming player identities and NPCs, forum member avatars, team collaboration tools, and placeholder images for accounts without an uploaded photo.

Key features

  • 52 avatar styles from hand-drawn characters to abstract patterns
  • Deterministic avatars generated from any seed string (username, email, ID)
  • HTTP API plus libraries for JS, PHP, Python, Rust, Go, and Dart, and a CLI
  • No-code avatar maker/editor for customizing and downloading PNG avatars
  • Figma plugin for designing and exporting custom avatar styles
  • Global CDN delivery, serving 1B API requests and 3TB data per month

Frequently asked questions

Is DiceBear free to use?

Yes, DiceBear's core library is MIT licensed and free and open source.

What platforms or languages does DiceBear support?

DiceBear offers an HTTP API and libraries for JavaScript, PHP, Python, Rust, Go, and Dart, plus a CLI.

Will the same input always produce the same avatar?

Yes, using the same seed string generates the identical avatar consistently across all platforms.

How many avatar styles are available?

DiceBear offers 52 unique avatar styles, ranging from hand-drawn characters to abstract patterns and pixel art.

Can non-developers create avatars without coding?

Yes, the DiceBear Editor lets anyone pick, click, and customize an avatar and download it as a PNG without writing code.

Ad
Webz.io News API favicon

Webz.io News API

Webz.io News APIs provide global news data for search, monitoring, analytics, and AI applications, with powerful filters and natural-language search.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Webz.io News API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product