X (Twitter)

Compress images for X (Twitter) without losing quality

X accepts up to 5 MB and, on the web, keeps a JPEG exactly as uploaded when it already fits its rules. Export the right size here and the photo stays yours.

1200×675 post1500×500 header400×400 avatarUnder 5 MB
0 uploads

Drop photos here or tap to choose

JPG, PNG, WebP, HEIC (iPhone), RAW · up to 80 MB each

More options
1080 px is the safe choice. 1440 px can look sharper in the newest app versions.
Sharpen
The result will be at or under this size.
More options
Sharpen

×

0 uploads. Your photos never leave this device, and the tool keeps working with Wi-Fi off.Check the Network tab in your browser: no image requests, ever. Tip: paste a photo with Ctrl+V / ⌘V.

Post
1200×675 (16:9)
Portrait post
1080×1350 (4:5)
Header
1500×500
Profile
400×400
Max file
5 MB
Max pixels
4096×4096

How X handles image quality

Since 2019 X keeps the original JPEG bytes for web uploads that fit its limits (under 5 MB and 4096 px), so a well-encoded file arrives untouched. Uploads that break a rule are re-encoded at roughly 85% quality. In the mobile apps, turn on Settings › Accessibility, display and languages › Data usage › High-quality image uploads to avoid the extra downscale.

Photos display uncropped between 2:1 and 3:4 in the timeline; anything taller is cropped in the preview. 16:9 (1200×675) fills the timeline card; 4:5 gives more height on phones.

Headers and profile pictures

The header is 1500×500 and some screens trim about 60 px from the top and bottom, so keep text in the middle band. Profile pictures upload at 400×400 and are cropped to a circle.

Try it on your own photoDrop a photo at the top of the page. Ten seconds later it's sized, sharpened and ready to post.
Compress a photo

Questions people ask

What is the best image size for X?

1200×675 (16:9) for a card that fills the timeline, or 1080×1350 (4:5) for a taller photo on phones. Keep files under 5 MB.

Does X compress images?

Web uploads that already fit the limits are stored as uploaded. Others are re-encoded to JPEG at about 85% quality. Mobile apps also downscale unless High-quality image uploads is on.

What is the X header size?

1500×500 pixels (3:1), under 2 MB, with about 60 px at the top and bottom that may be hidden on some devices.

More ways to use it

This page uses the same private tool as the homepage; only the preset changes.

IGCOMPRESSOR is an independent tool and is not affiliated with Instagram, Meta, WhatsApp, YouTube, or any other platform mentioned.