Avatar Generator
Make an initials, identicon or geometric avatar from a name or email. The same input always gives the same avatar. Download SVG or a 512 px PNG.
The same seed always gives the same avatar.
01 · Definition
What is an identicon?
An identicon is a small abstract image generated from a hash of some text, such as a username or email address. Because the picture is computed from the text, the same account always gets the same image, which gives each user a recognizable default avatar without anyone uploading a photo.
02 · Overview
How the Avatar Generator works
Type a name, an email or any other text and get a consistent placeholder avatar for it. There are three styles: initials on a colored tile, a geometric tile with one shape, and an identicon (a 5×5 mirrored grid, similar to the default avatars on code-hosting sites). Colors and shapes are derived from a hash of the text, so the same input always gives the same result. Download the SVG or a 512 px PNG, or copy the SVG markup or a data: URL. It does not draw cartoon characters, illustrated faces or AI portraits. Everything runs in your browser.
03 · Guide
Initials, geometric and identicon avatars: how each is drawn
All three styles start from the same hash of your text (32-bit FNV-1a), which picks one of 8 background and accent color pairs. Every avatar is a 256 × 256 SVG tile with rounded corners; the PNG download is the same image at 512 × 512 px.
Changing one character of the text changes the hash, so two similar names usually get different colors and patterns. The same text gives the same avatar on every device.
| Style | What is drawn | Decided by |
|---|---|---|
| Initials | One or two white capital letters on the background color | First letter of the first and last word; first two characters of a single word or email |
| Geometric | A circle, rounded square, triangle or lens shape in the accent color | The hash picks the shape and its rotation |
| Identicon | A 5 × 5 grid of squares, mirrored left to right | The hash turns each of 15 cells on or off |
04 · Use cases
When to use the Avatar Generator
- 01
Generate placeholder avatars for a user table in a new app
- 02
Mock up a comment thread with a consistent avatar per user
- 03
Seed a demo with avatars that are clearly not real people
- 04
Make a fallback avatar for users who haven't uploaded a photo
05 · Examples
Avatar Generator examples
Jane Doe (Initials)
ex 01JD in white on a #5c5db1 tile, a 319-byte SVG
Two or more words give the first letter of the first and last word.
alex@example.com (Identicon)
ex 02A 5×5 mirrored grid in a light accent on a #a24e10 tile
The pattern and colors come from a hash of the email address.
Acme Corp (Geometric)
ex 03One shape in a light accent on a #896100 tile
Works for organizations as well as people, where initials would read oddly.
alex@example.com (Initials)
ex 04AL
For an email address or a single word, the initials are its first two characters.
06 · FAQ
Avatar: frequently asked questions
Does this make cartoon or AI avatars?
Is the same seed always the same avatar?
Can I use these in a commercial app?
How is this different from Gravatar?
What alt text should a generated avatar have?
Should I use the SVG or the PNG?
Will the initials always be readable on the generated background?
07 · Reference
Specs and further reading
These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.
- SVG
MDN Web Docs. Reference for the vector format the generated avatars are emitted in.
- An alt Decision Tree
W3C WAI. How to decide what alt text a generated avatar should carry, if any.
08 · More
Tools that pair with Avatar
Placeholder Image Generator
Make a placeholder image at any size from 16 to 4,096 px. Set the background, text color and label, then download SVG or PNG or copy a data: URL.
Fake Name Generator
Generate random fake names, or a full fake identity for testing: name, email, phone, address and date of birth. US, UK, Canada, Australia or France.
Username GeneratorAI-powered
Get 10 usernames: random adjective-noun pairs made in your browser, or AI suggestions from a vibe like 'cyberpunk hacker, short'. Set a maximum length.
Favicon Generator
Make a favicon from text, an emoji or an image. Get a zip with favicon.ico, six PNG sizes from 16 to 512 px, site.webmanifest and the HTML link tags.