Skip to content
UniKit

Avatar generator

Generate geometric avatars from a deterministic seed — the same seed always draws the same image, and the result can be exported as a 512 px PNG, all locally.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Result

No result yet

512px
6

Result

These are the real numbers from this run — copy them straight out.

Change the seed and the avatar is redrawn instantly.

What this tool does

  • Generate distinct geometric avatars for test accounts and community handles without uploading real photos.
  • Use the username as the seed: the same person always gets the same avatar, with no image file to store.
  • Create placeholder avatars for accounts that have not set one yet.

Example

Input

Seed "unikit", 512 px, 6 cells, mirrored

Output

A 512 × 512 PNG: the background hue comes from the seed hash and foreground cells are lit deterministically on a 6 × 6 grid — the same seed reproduces it pixel for pixel

The pattern comes from an FNV-1a hash plus a linear congruential generator. No system clock, no Math.random, so any machine draws the same image for a given seed.

Frequently asked questions

Does the same seed always produce the same avatar?

Yes. The pattern comes from an FNV-1a hash plus a linear congruential generator, with no system clock and no Math.random, so a given seed draws the same pixels on any machine at any time; only a different seed changes the pattern and colours.

Can the seed contain Chinese characters, and what happens to the export file name?

Yes — the seed is hashed character by character, so Chinese text, spaces and different capitalisation all draw different avatars. The export file name replaces non-alphanumeric characters with hyphens, so the seed "张三" gives avatar--.png, and an empty seed falls back to avatar-seed.png.

What sizes and cell counts are available, and what if the random pattern comes out empty?

The side length runs from 64 to 1024 px (step 32, default 512) and the cell count from 3 to 12 (default 6); out-of-range values are clamped to the limit instead of failing. Mirroring (identicon style) is on by default and can be turned off, and an optional ring can be added; if no cell lights up, a dot is drawn in the centre so every avatar has content.

Keywords:avatar generatorrandom avataridenticonavatar maker

Related tools