Skip to content
Okaysize

Compress a GIF for X (Twitter)

Shrink a GIF under 5 MB so it posts from the X app, not only from a computer.

Drop a GIF, or choose a file

Animated or still GIFs.

Your file never leaves your device

X (Twitter) limits

WhatOfficial limitSource
Animated GIF5 MB on mobile, 15 MB on webhelp.x.com

Limits verified Oct 8, 2026 against official sources.

Report an outdated limit
  • Why files fail on X (Twitter)

    X takes animated GIFs up to 15 MB on the web but only 5 MB from mobile. A GIF that posted fine from your laptop can be refused when you try again from your phone.

  • What this preset does

    This preset sets the target to 5 MB and reduces frames, colors, and then dimensions only as far as needed, so the animation keeps its timing.

Questions

What is the GIF size limit on X?

Animated GIFs can be up to 5 MB on mobile and 15 MB on the web, per X's help center. Photos are limited to 5 MB.

Will dropping frames make it play faster?

No. Okaysize lengthens each remaining frame so the GIF plays at the same speed.

Should I post a video instead?

For anything longer than a few seconds, yes. A video is usually far smaller and sharper than the same clip as a GIF.

More image tools

Presets and guides