Get familiar with our free and open source avatar generator API.
From one GET request, an avatar will be returned (in SVG format) with the initials of the name
provided. Such a URL is fit to put in an
<img> tag with ease. With no rate-limiting or tracking and an
excellent up-time record with speedy responses, this tool works great in production, too. If you
don't believe us and want to run it for yourself, you can find the ridiculously simple code on GitHub (This page aswell!). Just don't forget
to give us credit, eh?
Returns an SVG avatar with the background color specified in the hex #f39c12 and the intial "E" (specified one)
Returns an SVG avatar with the background color specified in the hex #f39c12 and the intials "JS"
Returns an SVG avatar with a random background color and the intials "Ed" (respective capitalization) in the bold version of the font.
Example within img tag:
Note: Any file extension is accepted
avatar.png?name=Eddie returns the same as
|The name/username/email of the entity you want the avatar's initials to represent
|How many initials should be present in the avatar? (either 1 or 2)
|The background color of the avatar (without the # in a hex) e.g #fff becomes fff
|The text color of the avatar (without the # in a hex) e.g #fff becomes fff
|Should the bold version of the font be utilized?
|How many pixels should the avatar be rounded (border-radius like) by?
|For those who don't want to specify the exact pixel amount of rounding to be done on the avatar, you can instead just provide true or false here and it'll do the magic for you.
|The font size for the initials in pixels.
|The height of the avatar in pixels
|The width of the avatar in pixels
|Capitalization of the letter(s). 3 for leaving such as provided, 2 for all lowercase or 1 for all uppercase.