Identicon generator
Generates unique avatar images based on the input text.
Input
Output
Guide
What is an identicon?
An identicon is a small picture made from a piece of text, usually a username or an email address, so every account gets an avatar without uploading a photo. The text is hashed, and the hash decides which squares of a grid are filled. The same text always gives the same picture, while a slightly different text gives a completely different one. Sites such as GitHub use them as default avatars.
Tool description
Type a Username, or press Generate random username for a made up one, and the identicon appears: a 5 by 5 pattern, mirrored left to right, in a square image of 240 by 240 pixels. Hashing algorithm picks the hash the pattern comes from, SHA-256 by default, and each algorithm gives the same username a different pattern.
Pick the Foreground Color and the Background color, black on white by default. Then choose PNG, JPG or WebP under Output Format and download the image.
Features
- The same username always gives the same identicon, so you can make it again at any time
- Seven hash algorithms: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and RIPEMD-160
- Your own colors, and downloads as PNG, JPG or WebP
How it works
The username is hashed in your browser with the chosen algorithm. The first 15 hexadecimal digits of the hash decide the squares of the middle column and the left half, one square each, filled when the digit is even. The right half mirrors the left, which is why identicons look like little faces or badges.
Good to know
- Only those 15 digits count, so there are 32,768 possible patterns. With many users, some will share a pattern, so treat an identicon as a visual hint, not a unique ID.
- The username isn't sent anywhere.