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.

Avataaars avatar preview

Ready-to-use samples

Copy the URL or download the file.

  • Avataaars avatar: NoHair

    NoHair

  • Avataaars avatar: Turban

    Turban

  • Avataaars avatar: Hijab

    Hijab

  • Avataaars avatar: WinterHat1

    WinterHat1

  • Avataaars avatar: LongHairStraight

    LongHairStraight

  • Avataaars avatar: Eyepatch

    Eyepatch

  • Avataaars avatar: Hat

    Hat

  • Avataaars avatar: ShortHairShortFlat

    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

License
MIT
Output
SVG, PNG
Deterministic
Yes
Hosted API
No
Package
avataaars
Links
Docs GitHub

Other avatar generators

Compare all 14 libraries

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.