Compress images for Twitter / X

Optimal sizes for tweets, headers, and profile photos on Twitter/X. Compress to avoid blurry previews and slow loading.

Your images never leave your browser — zero uploads, 100% private
MiniPx
Free, no signupWorks offlineNo upload, ever
📸
Drop an image to start
PNG, JPG, WebP, AVIF, BMP, SVG, GIF, TIFF
Pro tools Pro
Platform
Pro
ProUnlocks one-click platform presets for Instagram, LinkedIn, X, YouTube, WhatsApp, and more.See Pro plans
Responsive set
Pro
Extra formats
Pro
ProUnlocks responsive image sets (1 input → up to 4 sizes) and multi-format export (AVIF + WebP + JPG simultaneously) — packaged in a single ZIP.See Pro plans
Rename pattern
Pro
Saved presets
Pro
ProUnlocks saved presets — bundle your responsive set, format, watermark, codec, and rename template into a named profile you can apply with one click.See Pro plans
Free forever·Offline-ready·Zero telemetry
Why MiniPx

Built for people who care how images travel.

100%On-device
Your photos never leave.
Every byte processed in your browser. No upload, no copy, no trace.
50–90%Smaller
Honest compression.
Multi-pass encoding that respects your image. No silent quality cliffs.
5Files per batch
No quota. No credits. No watermark.
Five files a batch on the free tier, unlimited batches — Pro lifts the cap. Your device is the only real ceiling, because your device does the work.
8Formats
Native to every modern format.
PNG · JPG · WebP · AVIF · BMP · SVG · GIF · TIFF
MiniPx
Settings
Mode
Format
Compression
Custom quality
65%
TinyMax
Max width
Privacy
EXIF data always removed
Every output drops GPS location, device info & timestamps
Everything stays on your device.

Compress Images for Twitter/X — Free, Fast & Private

Twitter (now X) applies aggressive in-feed compression to every image. Photos that look crisp on your phone can turn into a blocky mess after posting. The trick is to upload images at the exact dimensions Twitter expects, in the right format, at a controlled file size. That way Twitter's compression has less work to do.

MiniPx handles everything in your browser — no uploads to third-party servers. Drop your image in, set the right width, pick Smart compression, and you're done.

Twitter/X image dimensions guide

Image typeDimensionsMax sizeFormat
In-feed image1600 x 900px5MBJPEG or PNG
Header / banner1500 x 500px5MBJPEG or PNG
Profile photo400 x 400px2MBJPEG or PNG
Card image (OG)1200 x 628px5MBJPEG

For profile photos, see our passport-size photo resizer to crop a perfect square. For tips across all platforms, check compress images for social media.

JPEG vs PNG on Twitter

Twitter handles JPEG and PNG differently. JPEGs get recompressed (sometimes heavily). PNGs under 900px wide are kept as-is, but larger PNGs get converted to JPEG. If your image has text, sharp edges, or flat colours, try uploading a PNG under 900px — Twitter will preserve it pixel-perfect. For photographs, JPEG at 1600x900 compressed to 300-500KB gives the best results.

Twitter header optimization

The Twitter header banner is 1500x500px (3:1 ratio). It displays differently on mobile — the top and bottom edges get cropped. Keep text and logos in the centre 60% vertically. Compress your header to under 300KB in JPEG for fast loading.

Why tweets with images get more engagement

Tweets with images get 150% more retweets than text-only tweets. But a blurry or poorly cropped image hurts more than it helps. Upload at the exact 16:9 ratio (1600x900), compress to 300-500KB, and your images will look sharp in the timeline. MiniPx makes this a 30-second process.

How it works

  1. Choose your Twitter image type: In-feed post (1600x900), header (1500x500), or profile photo (400x400).
  2. Drop your image into MiniPx: Set max width to 1600px for posts, 1500px for headers, or 400px for profile photos.
  3. Compress with Smart preset: JPEG with Smart compression keeps detail while hitting the 300-500KB sweet spot.
  4. Download and tweet: Save the compressed image and attach it to your tweet. No more blurry previews.

Frequently asked questions

What is the best image size for Twitter posts?
1600x900px (16:9 ratio) in JPEG format. Compress to 300-500KB. This is the native in-feed display ratio — Twitter won't crop it, and it fills the timeline card completely.
Does Twitter compress uploaded images?
Yes, aggressively. Twitter recompresses JPEGs and converts large PNGs to JPEG. Pre-compressing to 300-500KB at the correct dimensions minimizes the damage Twitter's compression does to your image.
What size is a Twitter header?
1500x500px (3:1 ratio). The top and bottom edges get cropped on mobile, so keep important content in the centre. Compress to under 300KB in JPEG format.
JPEG or PNG for Twitter?
JPEG for photos. PNG for graphics with text or sharp edges — but only if under 900px wide (Twitter preserves small PNGs). Larger PNGs get converted to JPEG anyway.
What is the Twitter profile picture size?
400x400px, displayed as a circle. JPEG or PNG, under 2MB. Compress to under 100KB for instant loading. Keep your face or logo centred — the corners get clipped.

All Image Tools

Solutions by use case