Resize for GitHub Social Preview

Auto-set to 1280×640 pixels. Repository social preview card for link sharing.

Drop your image here 🍡

PNG, JPG, WebP, BMP — any size, mochi handles it all

Resized Image
Result
Dimensions
--
File Size
--

Image too small? Sharpen first

If your image is smaller than the target size, use Sharpen for better clarity, then resize.

Browse All Tools →

Continue your workflow

Type Dimensions Ratio
PlatformGitHub
Image TypeSocial Preview
Dimensions1280×640 px
Aspect Ratio2:1

Frequently Asked Questions

What size is a github social preview?
GitHub recommends 1280×640 pixels for this image type. Uploading at this exact size ensures the best display quality without platform-side compression.
What format works best for GitHub?
JPEG works best for photos on GitHub. PNG is ideal for logos and graphics with transparency. Keep file size reasonable for fast loading.
Can I use this for multiple platforms?
This tool is optimized for GitHub's specific dimensions (1280×640). Other platforms may require different sizes. Check our other platform-specific resize tools.