GitHub Image Sizes
GitHub only asks for two images, and both are easy to get wrong. The avatar uploads at 460×460 and renders as a circle at roughly half that size in commit lists, so anything below 460 px looks soft the moment it is displayed large on the profile page. The social preview is a 1280×640 (2:1) card that GitHub serves to X, Slack, LinkedIn and Discord when someone pastes a repository link — it is the first thing a stranger sees, and the default is a grey placeholder.
Exact sizes at a glance
| Format | Pixels | Ratio | Max file | Formats | Tool |
|---|---|---|---|---|---|
| GitHub Profile Picture Open tool → | 460×460 | 1:1 | 1 MB | JPEG, PNG | Open tool |
| GitHub Social Preview Open tool → | 1280×640 | 2:1 | 1 MB | JPEG, PNG | Open tool |
All values are the current published specs. Click any format to crop and export that exact size in the browser.
Where these sizes usually go wrong
460×460 is the display size, so upload at least that
GitHub renders the avatar up to 460×460 on the profile page and downsizes it elsewhere. A 200×200 upload gets upscaled and looks soft; export 920×920 (2×) if you want it sharp on high-density screens, and keep the file under 1 MB.
The social preview is 1280×640, not 1200×630
GitHub's Open Graph card uses a 2:1 frame, so a 1.91:1 image gets bars on the sides. Export 1280×640 and keep the repository name and one line of description inside the centre, since Slack and X crop differently.
The avatar is always a circle
In the profile header, commit list, issue threads and organisation pages, the avatar is masked to a circle. Text or a wordmark that touches the corners will be cut — design inside the inscribed circle.
Resize to any of these sizes now
Drop an image on the workbench, pick the preset, crop, export. The file never leaves your browser.
GitHub image sizes — FAQ
What size should a GitHub profile picture be?
460×460 pixels, square, up to 1 MB as JPG, PNG or GIF. GitHub recommends at least 500×500 for the upload; exporting 920×920 keeps it sharp on retina screens while staying under the 1 MB limit.
What size is a GitHub social preview image?
1280×640 pixels (2:1), up to 1 MB. GitHub shows it as the link card on X, Slack, LinkedIn and Discord, so put the repository name and a one-line description in the centre of the frame.
Why is my GitHub avatar blurry?
The upload was smaller than the 460×460 display size, so GitHub upscaled it. Re-export from the original at 920×920 and the avatar stays sharp in the profile header and commit lists.
Can I use an animated GIF as a GitHub avatar?
Yes — GIF is accepted and animated avatars play on the profile. Keep the file under 1 MB and keep the animation inside the circular safe area, because the corners are never shown.
Image sizes on other platforms
Looking for the full list? All 86 presets by platform.