UI Avatars Avatar Generator

Initials on a colored background: customizable font, size, and background color

Free PNG, SVG API

Playground

Changes update the preview instantly. Nothing is uploaded.

UI Avatars avatar preview

Ready-to-use samples

Copy the URL or download the file.

  • UI Avatars avatar: Felix

    Felix

  • UI Avatars avatar: Aneka

    Aneka

  • UI Avatars avatar: Jasper

    Jasper

  • UI Avatars avatar: Luna

    Luna

  • UI Avatars avatar: Milo

    Milo

  • UI Avatars avatar: Sage

    Sage

  • UI Avatars avatar: Nova

    Nova

  • UI Avatars avatar: Remy

    Remy

Usage

HTTP API

<img
  src="https://ui-avatars.com/api/?name=Felix&background=6366f1&color=fff"
  alt="Avatar" width="80" height="80" />

About UI Avatars

HTTP API that generates initials-based avatars. Pass a name and optional color, font size, and background. No signup or API key required. Returns PNG or SVG. Simple, reliable, and widely used as a Gravatar fallback.

Best for: Default avatars before users upload a photo, email systems, simple user lists

License
Free
Output
PNG, SVG
Deterministic
Yes
Hosted API
Yes
Links
Docs

Other avatar generators

Compare all 14 libraries

Frequently Asked Questions

Is UI Avatars free to use commercially?
UI Avatars 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 UI Avatars support?
UI Avatars generates avatars as PNG, SVG. SVG output scales to any size without quality loss, useful for retina displays and print.
Does UI Avatars 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 UI Avatars avatar?
Yes. UI Avatars is fully deterministic: the same seed value always renders the identical avatar, so you never need to store the generated image.