How to Compress Image for Twitter Upload

Compress images to Twitter/X's upload limits and keep your photos looking sharp in your feed.

Twitter/X re-compresses every image you upload, and if your original file is already poor quality, the platform's compression makes it worse. Uploading an optimised image — right size, right format, right compression — ensures your photos look as good as possible in the feed.

Twitter/X Image Limits

FormatMax SizeMax Dimensions
JPG/PNG5 MBUp to 4096×4096 px
GIF15 MBUp to 1280×1080 px

How Twitter Re-compresses Images

Twitter applies its own compression to all uploaded images. If you upload a 5MB JPG, Twitter may serve it at 100–300KB to users — with visible quality degradation. The solution is to upload images at the exact display size you want (1200×675px for landscape or 1080×1350px for portrait) and at around 85% JPG quality. This gives Twitter less room to degrade quality.

How to Compress for Twitter

Upload your image to imgresizr.com. Resize to 1200×675 pixels for landscape or 1080×1350 pixels for portrait tweets. Use the Compress tool to set quality to 85–90%. Download as JPG. This produces a file of roughly 200–400KB — perfect for Twitter's compression algorithm. PNG files are also accepted and preserved at higher quality for graphics, but produce larger files.

Twitter Image Tips

  • Upload PNG for screenshots, memes, and graphics with text — Twitter preserves PNG quality better than JPG for these
  • For photos, JPG at 85% is better than PNG (smaller file, Twitter adds less additional compression)
  • Use 1200×675px (16:9) for the best Twitter feed preview — it fills the preview area without cropping
  • Multiple image tweets: use 1200×900px (4:3) for two-image layouts

Compress and resize images for Twitter for free at imgresizr.com — takes under a minute.