Skip to content
Open Source Avatar Library8.7k+

Pick a seed.Get an avatar.

DiceBear is a privacy-focused, open source avatar library with 35+ avatar styles crafted by talented artists. Generate deterministic profile pictures via API, JS library, PHP library & CLI.

Deterministic Avatars

Same Seed, Same Avatar.
Every Time.

Use any string as a seed — usernames, emails, IDs — and DiceBear generates the identical avatar consistently across all platforms.

Seed Explorer
https://api.dicebear.com/10.x/lorelei/svg?seed=Felix
import { Style, Avatar } from '@dicebear/core';
import definition from '@dicebear/styles/lorelei.json';

const style = new Style(definition);
const avatar = new Avatar(style, {
  seed: 'Felix'
});
<?php

use Composer\InstalledVersions;
use DiceBear\Style;
use DiceBear\Avatar;

$basePath = InstalledVersions::getInstallPath('dicebear/styles');
$definition = json_decode(file_get_contents($basePath . '/src/lorelei.json'), true);

$style = new Style($definition);
$avatar = new Avatar($style, [
  'seed' => 'Felix'
]);
npx dicebear lorelei --seed 'Felix'

Lorelei is a remix of Lorelei by Lisa Wischofsky, licensed under CC0 1.0.

Use Cases

Built for every application.

From two-person side projects to global platforms, DiceBear powers the avatar layer wherever identity needs a face.

User Profiles

Give every user a unique avatar from day one. No upload, no Gravatar fallback, no awkward grey silhouette.

Hey 👋
How's the launch?
Going great!

Chat Applications

Instantly recognisable participants. Deterministic from a user ID, so the same person looks the same on every device.

LV 47
LV 32
LV 88

Gaming

Generate millions of unique player identities, NPCs and bots — same seed, same character, every session.

posyAnyone tried the new beta?
renYep — runs 2× faster.
ivoSubmitted a PR for the bug.

Forums & Communities

Distinct identities help build community trust. New users feel welcome with a face from the very first post.

Lex HartDesign
Mae ParkEngineering
Sam ItoProduct
Avery LinMarketing

Team Tools

Visual distinction for team members in collaborative apps. Cursors, mentions, sidebars — every face stays consistent.

Placeholder Images

Beautiful default profile pictures while users set up their account — and a graceful fallback when uploads fail.

DiceBear Editor
Visual Editor

Avatar Maker Without Code

No developer? No problem! Our avatar maker lets anyone create custom profile pictures without writing a single line of code. Just pick, click, and download.

No Coding Required

Click to customize hair, eyes, accessories, and more.

Endless Combinations

Mix and match colors and styles to create your unique look.

Download as PNG

Save your avatar and use it anywhere you like.

For Artists

Create Your Own Style
with Figma

Design your avatar style visually in Figma. Our plugin handles the technical export – no coding required.

1

Design in Figma

Create your avatar components visually. Group colors and parts using our simple naming conventions.

2

Export with Plugin

Use the DiceBear Figma plugin to configure options and export your style as a ready-to-use package.

3

Build & Use

Run npm install and npm run build. Your custom style is ready to generate avatars.

face
face/round
face/oval
eyes
eyes/happy
eyes/wink
mouth
mouth/smile

Free and Open Source.
Forever.

DiceBear is built in the open. Our core library is MIT licensed, and we believe in transparent development. Join thousands of developers who already love DiceBear.