Compress a GIF for Twitter / X

Fit any animated GIF inside Twitter (X) limits — 15 MB on the web, 5 MB in the mobile app — for free, right in your browser. No upload, no sign-up, and no cap on the GIF you put in.

Compress your GIF free → 100% in-browser · files never leave your device

Posting a GIF on X looks simple until your file is rejected — or worse, silently converted to a lower-quality version. The catch is that X applies two different size limits depending on where you post from, and an oversized GIF gets stripped or downgraded. Compressing it first puts you back in control of how it looks on your timeline.

Twitter / X GIF limits

X enforces different ceilings for the web and the mobile apps:

Where you post fromMax GIF size
Web (x.com / twitter.com)15 MB
iOS & Android apps5 MB
Max dimensions1280 × 1080 pixels

The 5 MB mobile limit trips up most people: a GIF that posts fine from a laptop gets refused from your phone. If your GIF sits between 5 MB and 15 MB, you have two options — compress it under 5 MB so it works everywhere, or post it from a desktop browser. Compressing under 5 MB is the more reliable choice.

Quick rule of thumb: target under 5 MB if you tweet from your phone. Most GIFs reach 5 MB in one or two compression passes; very large ones may also need smaller dimensions.

How to compress a GIF for X

  1. Open the compressor. Go to the GIF Compressor, click "Upload GIFs," and choose the GIF you want to tweet.
  2. Let it compress. The gifsicle engine optimizes it instantly in your browser, showing the original size next to the new one.
  3. Hit your target. Aim for under 5 MB for the X app, or under 15 MB for the web. Compress again if you need it smaller.
  4. Post on X. Download the compressed GIF and attach it to your post — it uploads and animates normally.
Compress your GIF free → Batch multiple GIFs and download them as a ZIP

Why compressing beats letting X re-encode

When you upload an oversized GIF, X may convert it on its own terms — and you don't get to choose the trade-off. Compressing first means you decide how much to shrink it. The gifsicle engine reduces the color palette and applies lossy optimization, typically cutting file size 30–70% while keeping every frame, the timing, and the loop intact. Your reaction GIF or meme keeps playing the same way; it just fits the limit.

Compression runs locally through WebAssembly, so your GIF is never uploaded to our server — it only goes online when you post it to X yourself. And there's no limit on the input file, so even a huge screen capture can be brought down to a tweetable size.

Frequently asked questions

What is the GIF size limit on Twitter / X?

15 MB from the web and 5 MB from the iOS/Android apps, with a maximum of 1280×1080 pixels.

How do I compress a GIF to post on X?

Upload it to this free tool and let it compress. Aim for under 5 MB for mobile or under 15 MB for the web; compress again if needed.

Why won't my GIF post from the X app?

The app caps GIFs at 5 MB. If yours is between 5 and 15 MB, compress it under 5 MB or post it from a desktop browser instead.

Is my GIF uploaded to a server when I compress it?

No. Compression happens entirely in your browser via WebAssembly, so the file stays on your device until you post it.