Free & Open Source API

Avatar Placeholder
Generator & API

Generate placeholder avatars for your apps. 100+ built-in avatars, custom themes, shapes, and SVG generation. Zero dependencies.

Random Avatar
/random

Returns a random avatar every time

/random
8 Themes
3 Shapes
CDN Ready

Live Avatar Generator

Type a name and customize your avatar in real-time

Customize Your Avatar

Avatar Preview

Preview

JD

Download

Powerful Features

Everything you need for avatar placeholders

100+ Built-in Avatars

Pre-made avatar collection for quick placeholders. Boy, girl, and job-specific avatars.

8 Color Themes

Ocean, forest, fire, sky, sunset, purple, mint, and coral. Instant color theming.

Multiple Shapes

Circle, rounded corners, or square. Match your design system.

SVG Generation

Generate SVG avatars from any name. No image files needed.

Batch API

Get multiple avatar URLs in one request. Perfect for galleries.

CDN Ready

Cache headers and ETag support. Optimized for production.

Any Format

PNG, JPG, and WebP output. WebP for best compression.

Tags & Filter

Filter avatars by gender, job, or custom tags.

Download Options

Download with custom filename. Batch download support.

Simple API

Integrate in seconds with our REST API

GET /public/:id

Get avatar by ID (1-100)

GET /public/boy /public/girl

Get random male/female avatar

GET /username?username=John+Doe

Generate SVG avatar from name

GET /api/avatars?ids=1,5,25

Batch get multiple avatars

GET /api/tags

List all available tags

HTML Image

<img src="http://localhost:3000/public/42" alt="Avatar">

cURL

curl "http://localhost:3000/username?username=John+Doe&theme=ocean"

JavaScript

const avatar = await fetch('/api/avatars?ids=1,5,25');
const data = await avatar.json();

React Component

<img src="/username?username=JD&size=128&shape=circle" />

Get Started in 30 Seconds

Add avatar placeholders to your project instantly

HTML
<!-- Add avatar image -->
<img src="https://your-api.com/public/42" alt="User Avatar">

<!-- Or generate from name -->
<img src="https://your-api.com/username?username=John+Doe&theme=ocean" alt="Avatar">
Copied to clipboard!