Avataaars Avatar Generator
Cartoon characters with 13 customizable properties: hair, clothes, accessories, skin tone
MIT SVG, PNG npm runs locally
Playground
Changes update the preview instantly. Nothing is uploaded.
Ready-to-use samples
Copy the URL or download the file.
-
NoHair
-
Turban
-
Hijab
-
WinterHat1
-
LongHairStraight
-
Eyepatch
-
Hat
-
ShortHairShortFlat
Usage
HTTP API
<img
src="https://avataaars.io/?avatarStyle=Transparent&topType=LongHairStraight&hairColor=BrownDark"
alt="Avatar" width="80" height="80" /> npm
npm i avataaars
import Avatar from 'avataaars';
<Avatar
avatarStyle="Transparent"
topType="LongHairStraight"
hairColor="BrownDark"
eyeType="Default"
mouthType="Smile"
skinColor="Light"
/> About Avataaars
The original customizable cartoon avatar library. Choose from dozens of options for top type, hair color, facial hair, clothing, eyes, eyebrows, mouth, and accessories. Used by hundreds of thousands of projects since its release.
Best for: User profile customization, onboarding flows, fun team pages
Other avatar generators
- DiceBear
- Boring Avatars
- Multiavatar
- Bean Heads
- Jdenticon
- Nice Avatar
- Minidenticons
- Blockies
- UI Avatars
- Robohash
- Gravatar
- Pravatar
- Open Peeps
Frequently Asked Questions
Is Avataaars free to use commercially?
Avataaars 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 Avataaars support?
Avataaars generates avatars as SVG, PNG. SVG output scales to any size without quality loss, useful for retina displays and print.
Is there a hosted Avataaars API?
No. Avataaars 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 Avataaars avatar?
Yes. Avataaars is fully deterministic: the same seed value always renders the identical avatar, so you never need to store the generated image.