GitHub Image Size Cheat Sheet 2026

GitHub uses profile pictures across the platform at sizes from 40px in commit lists to 500px on profile pages. Social preview images appear when repositories are shared on social media and messaging apps, displaying at 1280x640 pixels. FastEdit helps you prepare both with one-click presets that handle sizing and format automatically.
Start editing GitHub Profile Picture

Pick this preset, drop your file, and FastEdit starts from the GitHub Profile Picture dimensions, format, and file-size target.

GitHub Image Size Cheat Sheet

Profile Picture

500x500 PNG / JPEG Max 1 MB

GitHub avatar displayed across the platform. Shown as small as 40px in commit lists and up to 500px on profile pages. Use a square image with the subject centered.

Open GitHub Profile Picture preset →

Social Preview

1280x640 PNG / JPEG Max 1 MB

Repository social preview image. Displayed when a repo URL is shared on Twitter, Slack, Discord, and other platforms. Set via Settings > Social Preview in your repository.

Open GitHub Social Preview preset →

What can you create for GitHub?

Use these rows when you know the asset you need but not the exact settings. Each one points to the matching FastEdit workflow.

How to prepare GitHub Profile Picture

Open FastEdit with the GitHub Profile Picture preset selected, drop your file, then export to this row's target: 500x500, PNG / JPEG, max 1 MB.

github profile picture sizegithub profile picture dimensionsresize github profile picturecreate github profile picture
Open GitHub Profile Picture preset →

How to prepare GitHub Social Preview

Open FastEdit with the GitHub Social Preview preset selected, drop your file, then export to this row's target: 1280x640, PNG / JPEG, max 1 MB.

github social preview sizegithub social preview dimensionsresize github social previewcreate github social preview
Open GitHub Social Preview preset →

Before you upload

FAQ

Bring the file.
Leave with the fix.

Open the editor, drop in the image, PDF, GIF, or video that is holding things up, and export a cleaner version. No signup, no upload, no watermark.

Open the editor
Free to use Runs in your browser No account needed