dicebear
dicebear/dicebear · Vue · MIT
Deterministic avatars and illustrations for developers — 30+ styles, one API.
DiceBear generates consistent vector avatars from any seed string: same seed, same face, forever. Ships as HTTP API, self-hostable service and JS packages, with 30+ illustration styles you can theme and restyle programmatically.
Score
Setup at a glance
npm install @dicebear/core Deep dive
dicebear is a deterministic avatar and illustration library: the same seed string always produces the same face, across 30+ styles — so a user's avatar is stable without storing an image.
It ships as an HTTP API that returns avatars as SVG or PNG, a CLI for batch generation, and a browser editor where you assemble a single avatar piece by piece — plus the official dicebear/styles package that holds the style collection.
The core is a small npm/PHP library with no runtime dependencies on your app, which is why it shows up in everything from onboarding flows to comment systems.