platform · image
GitHub Avatar Size
GitHub profile avatar and repository social preview dimensions. 420×420 avatar, 1280×640 repo image.
Updated 2026-08-04
Dimensions & limits
| Élément | Taille | Fichier max. | Formats |
|---|---|---|---|
| avatar | 420×420 | 1024 KB | jpg, png, gif |
| social_preview | 1280×640 | 2048 KB | jpg, png |
Source officielle · vérifié 2026-05-21
Square avatar; GIF allowed for profile.
Preset: optimized export
Foire Aux Questions
- What size is a GitHub avatar?
- 420×420 pixels displayed; upload square source.
- Repository social preview image?
- 1280×640 px in repo Settings → Social preview.
- GIF avatars?
- GitHub allows animated GIF profile images within size limits.