Gravatar Avatar Generator
User-uploaded photos with fallback to generated identicons or initials
Free PNG, SVG API
Playground
Changes update the preview instantly. Nothing is uploaded.
Ready-to-use samples
Copy the URL or download the file.
-
identicon
-
monsterid
-
wavatar
-
retro
-
robohash
Usage
HTTP API
<img
src="https://www.gravatar.com/avatar/{md5(email)}?d=identicon&s=80"
alt="Avatar" width="80" height="80" /> About Gravatar
The email-linked global avatar service. Construct a URL from an MD5 or SHA256 hash of the user's email to fetch their Gravatar photo. Falls back to generated identicons, initials, or blank when no photo is set. Version 3 (2025) adds new generated styles.
Best for: B2B tools, developer platforms, CMS comment systems where users likely have a Gravatar
- License
- Free
- Output
- PNG, SVG
- Deterministic
- No
- Hosted API
- Yes
- Links
- Docs
Other avatar generators
- DiceBear
- Boring Avatars
- Multiavatar
- Avataaars
- Bean Heads
- Jdenticon
- Nice Avatar
- Minidenticons
- Blockies
- UI Avatars
- Robohash
- Pravatar
- Open Peeps
Frequently Asked Questions
Is Gravatar free to use commercially?
Gravatar is licensed under Free. Check the exact license terms before shipping it in a commercial product, some styles carry attribution requirements.
What output formats does Gravatar support?
Gravatar generates avatars as PNG, SVG. SVG output scales to any size without quality loss, useful for retina displays and print.
Does Gravatar require an API key?
No signup or API key is required. Build the URL from the pattern above and use it directly in an
<img> tag.Does the same seed always produce the same Gravatar avatar?
Not always. Gravatar pulls from a set of pre-made images or falls back to the account owner's uploaded photo, so results are not guaranteed to be reproducible from a text seed alone.