Compress Image for Twitter / X
Reduce photo size before tweeting — avoid quality loss from Twitter's re-compression
Drop image here or click to upload
JPG, PNG, WebP, HEIC — max 20MB
You can also paste an image (Ctrl+V)
Why Compress Images for Twitter / X?
Twitter (now X) automatically compresses every image uploaded to the platform. When you attach a high-resolution photo to a tweet, Twitter converts it to WebP or JPG and reduces the file size to fit its delivery targets — often down to 300–500KB regardless of the original. A crisp 8MP photo from your smartphone can emerge noticeably softer on the tweet timeline, with visible compression artifacts in gradients, fine detail, and text areas.
Pre-compressing your image at quality 80 before uploading to Twitter gives the platform a file that is already close to its internal size target. Twitter then applies minimal additional compression, preserving more of the original detail. This technique is commonly used by photographers, designers, and content creators who need their images to look sharp on the tweet timeline without the visible softness introduced by Twitter's automatic processing.
All compression in this tool happens entirely in your browser — no image is ever sent to any server. Your photos are processed locally and downloaded directly to your device.
How to Compress Images for Twitter / X — 3 Simple Steps
- 1
Upload your image
Click the upload area, drag and drop, or paste from clipboard (Ctrl+V). Supports JPG, PNG, and WebP files up to 20MB. Your image stays on your device — nothing is sent to any server.
- 2
Set quality to 80 for Twitter
Quality 80 is the recommended setting for Twitter image uploads. It reduces file size by 60–70% while preserving enough detail to survive Twitter's re-compression with minimal additional quality loss. For PNG graphics with text, quality 85 preserves sharper edges.
- 3
Download and attach to tweet
The compressed file downloads directly to your device. Attach it to your tweet as usual. The pre-optimized file gives Twitter's algorithm less work, producing a sharper image on the timeline than uploading an uncompressed original.
Twitter / X Image Size Specifications 2025
Twitter supports different image placements, each with specific recommended dimensions. Uploading at the correct size prevents Twitter from cropping or downscaling your image, which preserves quality at the displayed resolution.
| Placement | Recommended Size | Aspect Ratio | Target File Size |
|---|---|---|---|
| Tweet Image | 1200 × 675 px | 16:9 | 300–700 KB |
| Profile Photo | 400 × 400 px | 1:1 (circular crop) | Under 100 KB |
| Header / Banner | 1500 × 500 px | 3:1 | 200–600 KB |
| Single Image (tall) | 1200 × 1200 px | 1:1 | 300–700 KB |
| 4-image grid (each) | 1200 × 675 px | 16:9 | 200–500 KB each |
Twitter enforces a maximum file size of 5MB for images in tweets. PNG files above 5MB are rejected. Use the Resize Image tool to adjust dimensions before compressing if your original is very large.
How Twitter Compresses Your Images
Twitter converts all uploaded images to WebP format for delivery in modern browsers, and JPG as a fallback for older browsers. This conversion happens server-side regardless of what format you upload. Twitter targets a specific file size for each image type — tweet images are typically delivered at 300–500KB.
When you upload a large uncompressed JPG (3–8MB), Twitter applies heavy lossy compression to reach its 300–500KB target — introducing visible banding in sky areas, ringing around text, and softness in fine-detail regions. When you upload a pre-compressed 500KB JPG, Twitter applies little or no additional compression since the file is already at its target size. The resulting image on the timeline retains significantly more of the original sharpness. This is why professional photographers and visual artists pre-compress images before tweeting rather than uploading camera originals directly.
Best Image Format for Twitter / X
JPG — Best for Photos
JPG is the best format for photographs on Twitter. Twitter converts images to WebP for delivery, so uploading JPG or PNG produces similar results. JPG is smaller than PNG at equivalent quality for photos, making it faster to upload and giving Twitter's algorithm a better starting file.
PNG — Best for Graphics
PNG is recommended for screenshots, infographics, memes, and graphics with text or flat colors. PNG preserves hard edges and sharp text that JPG compression would blur. Twitter's WebP conversion of PNG input generally preserves more graphic detail than the same image uploaded as JPG.
GIF — For Animations
Twitter supports animated GIFs up to 15MB. GIF uploads are converted to MP4 video for delivery, which is why the "GIF" badge appears on animated tweets. For still images, use JPG or PNG rather than GIF — GIF is limited to 256 colors and produces poor quality for photographs.
Privacy — Your Images Never Leave Your Device
All compression in this tool runs entirely inside your browser using JavaScript. When you select an image to compress for Twitter, no file is transmitted to any server. The image is processed locally on your computer or phone, and the compressed result downloads directly to your device. This makes the tool safe for unreleased photography, brand assets, promotional graphics, and personal photos. No account is required, there is no usage limit, and there is no watermark on any compressed output. The tool is completely free for any number of images.
More Free Image Tools
Need to create a Twitter/X header first?
Design a 1500×500px Twitter header with templates and custom text — then compress it here before uploading.