Compress Images for Twitter/X
Optimize images for Twitter/X posts, profile pictures, and header banners. Twitter applies its own compression to uploaded images — often making them look worse than intended. By pre-compressing and using the right dimensions, you control the final quality. Compresso processes everything in your browser, so your images stay private.
Drop images here or click to upload
PNG, JPG, WebP, HEIC — up to 50MB each
Compress images to fit Twitter/X's 5MB upload limit
Optimize for Twitter's recommended dimensions and aspect ratios
Reduce file sizes for faster uploads on mobile connections
PNG support for screenshots and images with text
Batch compress multiple images for Twitter threads
Works with JPG, PNG, WebP, and GIF formats
Profile picture and banner image optimization
No watermarks, no sign-up, completely free
Twitter/X Image Specifications
- Tweet image: 1600x900px recommended (16:9), up to 5MB
- Profile picture: 400x400px, displayed as circle
- Header banner: 1500x500px (3:1 ratio)
- In-stream photo: Minimum 600x335px
- Animated GIF: Up to 15MB, recommended under 5MB
- Video: Up to 512MB, recommended under 15MB, 2:20 max length
How Twitter Handles Image Uploads
Twitter re-compresses every image you upload. JPGs are re-encoded at a quality level Twitter chooses, often introducing visible artifacts in detailed photos. PNGs under 900x900 pixels are sometimes converted to JPG. Large PNGs are always re-compressed.
The best strategy is to upload images at the exact dimensions Twitter expects and at a moderate compression level (80-85% quality). This minimizes the damage from Twitter's re-compression because the file is already appropriately sized and the encoder has less work to do.
Related Tools
- Compress JPG — best format for Twitter photos
- Compress PNG — for screenshots and graphics
- Compress GIF — optimize animated GIFs for Twitter
- Resize Image — hit Twitter's exact recommended dimensions
Frequently Asked Questions
What is the Twitter/X image size limit?
Twitter/X allows images up to 5MB for JPG and PNG, and up to 15MB for animated GIFs. Videos can be up to 512MB but Twitter recommends keeping them under 15MB for best quality. Images larger than 5MB will fail to upload with an error message.
What are the best image dimensions for Twitter/X?
For tweet images: 1600x900 pixels (16:9 ratio) for single images, 1200x1200 for two images side by side. Profile picture: 400x400 pixels. Header/banner: 1500x500 pixels. Twitter crops images that don't match these ratios, so sizing correctly prevents important parts from being cut off.
Why does Twitter make my photos look blurry?
Twitter re-compresses all uploaded images to save bandwidth. JPG photos are re-encoded at a lower quality, and PNGs under 900x900 pixels may be converted to JPG. To minimize quality loss: upload JPGs at 85% quality (gives Twitter room to re-compress without visible degradation) and use the exact recommended dimensions.
Should I use JPG or PNG for Twitter?
Use JPG for photographs and complex images — Twitter handles JPGs well and the files are smaller. Use PNG for screenshots, text-heavy images, logos, and artwork with solid colors — Twitter preserves PNG quality better for these types. Avoid uploading huge PNGs of photos; Twitter will convert them to lower-quality JPGs anyway.
How do I optimize my Twitter profile picture?
Create or crop your image to exactly 400x400 pixels. Compress as JPG at 85% quality or as PNG for logos/artwork. Keep the file under 2MB. Twitter displays profile pictures as circles, so keep important content centered and away from the edges. Use Compresso's resize feature to hit the exact dimensions.
How do I compress GIFs for Twitter?
Twitter allows GIFs up to 15MB but recommends under 5MB for reliable playback across all devices. Compress with Compresso to reduce GIF file size. Keep GIFs under 1200x1200 pixels and under 60 seconds. For larger animations, consider posting as video — Twitter's video player handles large files better than GIF playback.
Does Twitter strip EXIF data from photos?
Yes, Twitter strips all EXIF metadata (including GPS location data) from uploaded images. This is a privacy feature. However, Twitter re-compresses images in the process, which is why pre-optimizing with the right dimensions and quality helps preserve visual quality through Twitter's pipeline.
How do I post high-quality images on Twitter/X?
Three steps: (1) Resize to Twitter's exact recommended dimensions (1600x900 for tweets). (2) Compress at 85% JPG quality — this gives Twitter headroom to re-compress without visible artifacts. (3) Upload as JPG for photos or PNG for graphics with text. Following these steps consistently produces the sharpest results on Twitter.
Last updated: April 2026