Identicon / Avatar Generator
Generate a unique, deterministic avatar from any seed string — a username, email, or ID. The same seed always produces the same symmetric pixel-grid identicon, GitHub-style, as a scalable SVG.
Input
Any text — the same seed always produces the same identicon.
Output
Your identicon will appear here.
Guides
What this identicon generator does
Type a username, email address, or any other string and get back a unique, symmetric pixel-grid avatar — the same style GitHub uses for accounts without a profile photo. The identicon is deterministic: the same seed always produces the exact same pattern and colour, so you can generate a consistent placeholder avatar for a user without storing an image anywhere. The result is plain SVG markup, so it stays crisp at any size and never needs re-generating.
Everything runs in your browser — the seed you type never leaves your device.
How to use it
- Type a seed — a username, email, user ID, or anything else you want to turn into an avatar.
- Pick a grid size: 5×5 for the classic GitHub look, or 7×7/9×9 for a more detailed pattern.
- Choose a cell style: square (crisp pixel blocks) or rounded (softer corners).
- Leave the foreground colour on "from seed" for a deterministic colour derived from the hash, or switch to custom to pick your own.
- Set a background colour and an output size.
- Copy the SVG source or download it as a
.svgfile.
How the pattern is generated
The seed string is hashed with a 32-bit FNV-1a hash, repeated with an incrementing salt to produce a deterministic byte sequence. Those bytes are read bit by bit to fill the left half of the grid (plus the centre column, for odd sizes); each generated cell is mirrored onto its horizontal counterpart, which is what gives the identicon its left-right symmetry. When the colour mode is left on "from seed," two of the hash bytes are also used to pick a hue, saturation and lightness, so the colour is just as deterministic as the pattern — swap one character in the seed and both the shape and the colour change.
Is this the same algorithm GitHub uses?
No — GitHub's exact hash and colour formula are not public. This tool reproduces the same idea (hash → symmetric grid → deterministic colour) using an open, documented algorithm, so it won't produce identical output to GitHub's own identicons for the same seed, but it gives you the same guarantee: one seed, one avatar, always.
Can I use these as real user avatars?
Yes — it's a common pattern for apps that want a placeholder avatar before a user uploads a real photo. Because the SVG is generated from a pure function of the seed and your chosen settings, you can regenerate the exact same avatar on demand (client-side or via the API) instead of storing an image file for every user.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/identicon-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seed": "user@example.com",
"gridSize": "5",
"cellStyle": "square",
"colorMode": "auto",
"foregroundColor": "#464aff",
"backgroundColor": "#f0f0f0",
"size": "256"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `identicon-generator` tool (Identicon / Avatar Generator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.