Your images are processed in your browser — Cloud HD (Pro, opt-in) is the only exception

X compresses every image you post — beat it to it

Arrive at the right pixel sizes — 1600×900 for a post, and X’s own 1500×500 for a header and 400×400 for an avatar — and its re-encode has nothing to change. Free, in your browser.

Free, no signupWorks offlineNo upload, ever
📸
Drop an image to startTap to choose an image
PNG, JPG, WebP, AVIF, HEIC, BMP, SVG, GIF, TIFF
Pro tools Pro
Platform
Pro
Presets limit your photo’s longest side and keep its shape — nothing is cropped, so the result matches the named size only when your photo already has that shape.
ProUnlocks one-click platform presets for Instagram, LinkedIn, X, YouTube, WhatsApp, and more.See Pro plans
Responsive set
Pro
Also export as
Pro
Your Format choice is always saved. These add more copies of the same image — one per format, at each width you tick above and only at those widths — bundled in a single ZIP. Tick no width and the extra formats come at your original size.
With Pro, 1 image → up to 17 files · A width larger than your original is never upscaled, so those collapse into one file.
ProPro unlocks responsive image sets and multi-format export, packaged in a single ZIP.See Pro plans
Rename pattern
Pro
Saved presets
Pro
ProPro unlocks saved presets — bundle your responsive set, format, watermark, codec and rename template into one named profile you apply with a single click.See Pro plans
Free foreverOffline-readyImages never uploaded
Why MiniPx

Built for people who care how images travel.

100%On-device
This compressor never uploads.
Every byte processed in your browser. No copy, no trace. Cloud HD — the Pro-only option on 7 AI tools — is the one exception on the site.
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 for compression, because your device does the work; only Pro Cloud HD runs are metered.
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
More tools
Everything stays on your device.
Runs in
Your browser, on your device
Upload
None — nothing is uploaded
Signup
Not needed
Watermark
None added by MiniPx
Limits
No quota. Batch tools take 5 files at a time on Free; Pro lifts the cap
Output
A file saved straight from your browser

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

A crisp photo that turns to mush the moment it is posted is X's encoder at work, not your camera. It re-encodes what you upload and sizes down whatever exceeds its limits — and the further your file is from what it expects, the harder it hits. Beat it to it: bring the image to 1600 × 900 and 300-500KB yourself, in the format that survives, and the second encode has nothing left to do.

MiniPx runs that step in the browser tab, with no upload to any third-party server. Drop the image in, set the width for the slot you are filling, pick Smart compression, and attach the result.

Twitter/X image dimensions guide

Image typeDimensionsMax sizeFormat
In-feed image1600 x 900px (16:9, our setting)5MBJPEG, PNG, GIF or WebP
Header / banner1500 x 500pxNot publishedJPEG, PNG or GIF
Profile photo400 x 400px2MBJPEG, PNG or GIF

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

X accepts JPG, PNG, GIF and WebP images up to 5MB each, per its developer documentation, but it does not document how it re-encodes each format. So pick by content: PNG for text, sharp edges and flat colours; 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. To get the pixel dimensions right before that step, resize the image for X.

Why tweets with images get more engagement

A blurry or poorly cropped image hurts a post 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.

Limits checked on 6 October 2026 against X’s profile-photo help and X’s media upload specifications.

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. For a header (1500 × 500) or a profile photo (400 × 400), crop to that shape first with the crop tool, then compress.
  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. That is the setting this page uses; X does not publish an in-feed display size, and its stated limit is 5MB per image.
Does Twitter compress uploaded images?
Yes. X re-encodes uploaded images. 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. X accepts both, plus GIF and WebP, up to 5MB.
What is the Twitter profile picture size?
400x400px, displayed as a circle. JPEG, GIF or PNG, under 2MB. Compress to under 100KB for instant loading. Keep your face or logo centred — the corners get clipped.

All Image Tools

AI Tools

Compress for Platform

Solutions by use case