Minidenticons Avatar Generator

Ultra-minimal colored identicons: 5×5 pixel grid, zero dependencies

MIT SVG npm runs locally

Ready-to-use samples

Generated with the Minidenticons package, served from this site.

  • Minidenticons avatar: felix

    felix

  • Minidenticons avatar: aneka

    aneka

  • Minidenticons avatar: jasper

    jasper

  • Minidenticons avatar: luna

    luna

  • Minidenticons avatar: milo

    milo

  • Minidenticons avatar: sage

    sage

  • Minidenticons avatar: nova

    nova

  • Minidenticons avatar: remy

    remy

Run Minidenticons in your project

Minidenticons is a zero-dependency string function with no hosted endpoint. Install the npm package, or try the closest URL-driven identicon style below.

Want a live playground instead?

DiceBear has a hosted URL API with a similar look, so you can preview and download without installing anything.

Usage

npm

npm i minidenticons

import { minidenticon } from 'minidenticons';

const svgString = minidenticon('felix');
const dataUri = 'data:image/svg+xml;utf8,' + encodeURIComponent(svgString);

About Minidenticons

The smallest identicon library: zero dependencies, under 1KB minified. Generates colored pixel-grid SVGs from a string. Fully client-side, no network requests, GDPR-friendly. The SVG is returned as a string, not a React component, so it works in any framework.

Best for: Performance-critical apps, serverless edge functions, GDPR-sensitive contexts

License
MIT
Output
SVG
Deterministic
Yes
Hosted API
No
Package
minidenticons
Links
Docs GitHub

Other avatar generators

Compare all 14 libraries

Frequently Asked Questions

Is Minidenticons free to use commercially?
Minidenticons is licensed under MIT. This is a permissive license: you can use it in commercial projects with no royalties, though MIT requires keeping the license notice.
What output formats does Minidenticons support?
Minidenticons generates avatars as SVG. SVG output scales to any size without quality loss, useful for retina displays and print.
Is there a hosted Minidenticons API?
No. Minidenticons ships as an npm package that renders locally, there is no hosted HTTP endpoint to call. The samples on this page were generated with that package.
Does the same seed always produce the same Minidenticons avatar?
Yes. Minidenticons is fully deterministic: the same seed value always renders the identical avatar, so you never need to store the generated image.