DiceBear
by Florian Koerner
Avatar generator with 61 styles via a free HTTP API, JS library and CLI; self-hostable.
Avatars and placeholders Web serviceplayfulabstractpixelhand-drawn
1. Price: dicebear.com
Public HTTP API free for non-commercial use; library and self-hosting free.
dicebear.comNo quote yet: price is read from the official pages.
2. Commercial use: dicebear.com/how-to-use/http-api
“Our API is free to use for non-commercial purposes, but please use it responsibly.”
Self-host or use the library for commercial use; the public API is for non-commercial use.
dicebear.com/how-to-use/http-api3. Credit the author: dicebear.com/licenses
“each artist chooses the license for their own avatar style”
Credit CC BY 4.0 styles (e.g. Adventurer, Big Ears, Big Smile, Micah, Personas).
dicebear.com/licenses4. Agent access: dicebear.com/how-to-use/http-api
An agent can use it by itself without a key. HTTP API: https://api.dicebear.com/10.x/<styleName>/svg (style names lowercase, hyphenated); or the JS library @dicebear/core; or self-host.
dicebear.com/how-to-use/http-apiLicense checked Oct 19, 2026 against 2 official pages. Tap a verdict to see its source. How we checked Report an error
DiceBear popularity
License
DiceBear per-style licenses (CC0, CC BY 4.0, MIT, artist terms); code MIT.
“Our API is free to use for non-commercial purposes, but please use it responsibly.” dicebear.com/how-to-use/http-api
“each artist chooses the license for their own avatar style” dicebear.com/licenses
“Share — copy and redistribute the material in any medium or format for any purpose, even commercially.” dicebear.com/licenses
“Our API is free to use for non-commercial purposes, but please use it responsibly.” dicebear.com/how-to-use/http-api
- Self-host or use the library for commercial use; the public API is for non-commercial use.
- Credit CC BY 4.0 styles (e.g. Adventurer, Big Ears, Big Smile, Micah, Personas).
- Use API 10.x; 5.x-8.x are deprecated and reach end of life on 30 Apr 2028.
AllowedWith conditionsNot allowedNot stated or not checked yet
Is DiceBear free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with DiceBear. Paste them into your prompt or AGENTS.md.
- DiceBear (Avatars and placeholders). Avatar generator with 61 styles via a free HTTP API, JS library and CLI; self-hostable. Price: free; commercial use with conditions; credit depends on the item; ship inside your app with conditions. Style: playful, abstract, pixel, hand-drawn.
Connect: API docs https://www.dicebear.com/how-to-use/http-api/; npm @dicebear/core. Limits: 50 req/s SVG, 10 req/s raster (max 256px); HTTP 429; may change without notice.
Get files: HTTP API: https://api.dicebear.com/10.x/<styleName>/svg (style names lowercase, hyphenated); or the JS library @dicebear/core; or self-host (svg, png, jpg, webp, avif, json).
Not allowed: The public API is for non-commercial use; for commercial use or higher limits, set up your own instance.
Not allowed: PNG, JPG, WebP and AVIF are capped at 256x256 px; limits are 50 req/s for SVG and 10 req/s for raster, then HTTP 429.
Not allowed: 14 styles are CC BY 4.0 and need credit: Adventurer, Adventurer Neutral, Big Ears, Big Ears Neutral, Big Smile, Croodles, Croodles Neutral, Dylan, Fun Emoji, Glyphs, Micah, Miniavs, Personas, Toon Head.
Not allowed: The Icons style is MIT (keep the notice); Avataaars and Bottts variants use the artists' own terms.
Rule: Self-host or use the library for commercial use; the public API is for non-commercial use.
Rule: Credit CC BY 4.0 styles (e.g. Adventurer, Big Ears, Big Smile, Micah, Personas).
Rule: Use API 10.x; 5.x-8.x are deprecated and reach end of life on 30 Apr 2028.
License: https://www.dicebear.com/how-to-use/http-api/ (checked 2026-10-19; details: https://agentgid.com/assets/dicebear/)
Agent installs a package or loads it from a CDN.
npm install @dicebear/coreFormats: svg, png, jpg, webp, avif, json
Alternatives
DiceBear This page
Placeholder avatar images served by URL, random or by image ID or identifier, up to 1000 px.
MIT React library that generates unique placeholder avatars (initials or shapes) from any string.
MIT React library that generates SVG avatars, plus a separate paid avatar service.
Free open-source React component that renders deterministic generative mesh-gradient or dither avatars on a canvas from any seed.
React and TypeScript library that generates deterministic, animated squishy SVG avatars and emojis from a seed string.