sizefit

Home/X (Twitter) image too large? Get it under 5 MB

X (Twitter) image too large? Get it under 5 MB

X's developer documentation lists 5 MB for images, and the same figure is widely quoted for photos in posts. Animated GIFs can be larger, and video has its own limits that depend on your account.

  • Nothing is uploaded. Your browser does the compression, so the file stays on your device.
  • Lands under the real limit. We aim a little below it, so the upload goes through first time.
  • Fast. A 30 second 1080p clip fits into 10 MB in about two seconds on a desktop.
Where are you sending it?

Custom size 5.00 MB. We aim for 4.85 MB, a small safety margin so the file never lands just over.

Sent to our servers: 0 bytes. It all happens in this tab.

When you need 5.00 MB

A phone photo or a screenshot of a busy page is easily over 5 MB. The tool lowers quality only as far as it must, so most pictures keep their look.

What to expect

A normal phone photo keeps its full size. A large PNG screenshot may switch to JPEG.

How big a picture fits in 5 MB

Rough pixel sizes at good quality. The tool checks the real result, so treat these as a guide.

What it isAbout this many pixels
Detailed photo (landscape, crowd)4,020 x 2,680
Typical photo or headshot4,920 x 3,280
Scan, signature or screenshot of text8,530 x 5,690

How we hit the number

We try the highest quality that fits. If the picture still will not fit even at a lower quality, we reduce the pixel size a step at a time until it does. Photos are saved as JPEG by default, which every form accepts. You can switch to WebP or PNG with the format menu.

The target we aim for is 4.85 MB, which is 150 KB under 5.00 MB, so the file is not turned away over a few bytes.

Questions people ask

What about video on X?

X video limits depend on the account type and are higher, so check the current help page for yours.

Does X recompress my image?

It may, so a clean file under the limit gives the best chance of a sharp result.

Related

Limits change. We link the official page wherever there is one, and the safety margin means a small change is unlikely to matter. Last updated 2026-11-09.