Universal email avatars. One URL, any email, instant avatar.
Request an avatar for any email address. We check multiple sources and return the best match:
Every request returns a 302 redirect to a CDN-hosted image. Fast, cacheable, and reliable.
GET https://avatars.gxb.vc/avatar/{email}?size={size}
| Parameter | Type | Description |
|---|---|---|
email |
string | Email address or MD5 hash |
size |
integer | Image size in pixels. Default: 80. Snaps to nearest: 16, 24, 32, 48, 64, 80, 96, 128, 200, 256, 512 |
Returns a 302 Found redirect to a CDN-hosted PNG image.
<img src="https://avatars.gxb.vc/avatar/user@example.com?size=128" alt="Avatar">

<img
src={`https://avatars.gxb.vc/avatar/${encodeURIComponent(email)}?size=128`}
alt="Avatar"
/>
image_tag "https://avatars.gxb.vc/avatar/#{CGI.escape(user.email)}?size=128"
Built by GXB