The size setting that does nothing
GitHub avatar links accept a size setting that is widely described as controlling resolution. Testing it produced an identical byte count at every value.
| Requested | File size |
|---|---|
| Default, nothing requested | 28,573 bytes |
| Capped at 460 pixels | 28,573 bytes |
| Capped at 1024 pixels | 28,573 bytes |
| Capped at 2048 pixels | 28,573 bytes |
The reason is that the setting caps the size rather than setting it. When the stored image is already smaller than the number requested, GitHub serves the original unchanged. Asking for 2048 pixels does not manufacture them. This tool therefore ignores the setting and serves the stored file directly, which is the largest version that exists.
A useful habit. Whenever a service offers a size option, check whether raising it changes the file size in bytes rather than assuming it works. Several figures on this site changed after doing exactly that, in both directions.
Gravatar accounts
Some older accounts never uploaded an avatar to GitHub and instead show one from Gravatar, keyed to the email address on the account. Those still resolve normally here, because GitHub returns the effective avatar URL either way. The difference is that the image lives on Gravatar's servers rather than GitHub's.
Accounts with no avatar
An account that has never set a picture gets an identicon, the small geometric pattern generated from the user ID. These are produced on the fly, so what you download is that generated pattern rather than a photograph. They are deterministic, meaning the same account always produces the same pattern.
Organisations work too
Organisation avatars use the same endpoint as user accounts, so a name like facebook or microsoft returns the organisation logo. No separate lookup is needed, and you do not have to say which type you are entering.
Why this one rarely breaks
Every other tool on this site reads a public web page, which means a redesign can break it overnight. That happened to Instagram and Facebook, and both had to be withdrawn. GitHub instead publishes a documented, versioned, unauthenticated API, and documented APIs change with notice.
The practical result is that this is the tool least likely to stop working, even though it is not the one most people come here for.
Saving the file on your device
iPhone. Download opens the image in Safari. Long press and choose Add to Photos.
Android. The file saves to Downloads and appears in your gallery.
Desktop. Right click Download and choose Save link as to rename it first.
Using the picture afterwards
A GitHub avatar is usually a photograph or a logo belonging to the person or organisation. Using one to illustrate who wrote a piece of software, in documentation or a contributor list, is ordinary use. Using a company logo in a way that implies endorsement is a trademark question rather than a copyright one, and the two are governed differently.