GIF size limits on every platform that matters

What Discord, Slack, X, WhatsApp, and email actually accept — checked November 2026, with the stale advice people still repeat.

Every platform caps how large a GIF can be, and most of them fail the upload without telling you by how much. This page collects the limits that actually affect GIFs, and the settings that get you under each one.

Checked November 2026. These change without announcement. Where a figure below is wrong, it is usually because it is one or two revisions out of date rather than invented.

The limits

DestinationLimitNotes
Discord — custom emoji256 KBHard cap, static and animated alike. Emoji render at roughly 32 px, so 128×128 is already generous.
Discord — file upload (free)20 MBWas 8 MB for years, then 10 MB, then raised again in 2026.
Discord — Nitro50–500 MBDepends on tier. Almost never the binding constraint for a GIF.
Slack — custom emoji128 KBHalf of Discord's, and the one people hit most often.
Slack — file upload1 GBEffectively unlimited for GIFs, though workspace admins can lower it.
X / Twitter — GIF post15 MBAlso 1280×1080 px and 350 frames maximum. X re-encodes GIFs to video on upload.
WhatsApp — media16 MBWhatsApp converts large GIFs into looping video, sometimes losing the loop.
Gmail — attachment25 MBBut base64 encoding adds about a third: a 20 MB file becomes ~27 MB in transit. Treat ~18 MB as the real ceiling.
Outlook.com — attachment20–25 MBVaries by account type.
Email body / newsletter~1 MBNot a limit — a practical target. Above roughly 1 MB, clients start delaying the image or clients block it.
Your own web page—No cap, but decorative GIFs should stay under 1 MB and hero animations under 2–3 MB, or they cost you Core Web Vitals.

Three pieces of advice that are out of date

"Compress your GIF under 8 MB for Discord"

This was true for years and got copied into thousands of guides. Discord's free limit has moved twice since. Compressing to 8 MB when the cap is 20 MB means throwing away quality for no reason — and on a GIF, quality thrown away is quality you cannot get back.

"Twitter's GIF limit is 5 MB"

5 MB is X's limit for a still image. Animated GIFs get 15 MB. The confusion is understandable — the two figures sit next to each other in the documentation — but it means people over-compress for no reason. Note that 15 MB is the ceiling for the upload; X then converts the GIF to MP4 for playback, so a 3 MB file loads far better in a timeline.

"Slack has a 1 GB limit so size does not matter"

True for attachments, irrelevant for emoji, which have a hard 128 KB cap. If you are making a Slack emoji, the file-upload limit is not the number you are fighting.

Settings that hit each target

The order matters: cutting duration is free, cutting dimensions costs some sharpness, cutting colours costs fidelity. Pull them in that order.

TargetWidthfpsColoursCommand
128 KB (Slack emoji)1281032Square crop, under ~20 frames
256 KB (Discord emoji)1281064Square crop, under ~40 frames
Under 1 MB (email)3201064Keep the loop under 3 s
Under 5 MB (social)48012128Trim to 3–6 s
Under 15 MB (X)64012256Also check frame count ≤ 350

The compressor takes a target in kilobytes and searches for the best-looking combination that fits, which is faster than tuning these by hand.

Why the platform matters more than the number

A limit is not the only thing that changes your file. Several platforms do something to it after upload:

  • X/Twitter converts GIFs to MP4. Your 256-colour dither pattern goes through a video encoder, which smooths it. Files that look slightly grainy on your disk often look cleaner in the timeline.
  • WhatsApp converts large GIFs to looping video. If the loop breaks or the GIF arrives as a still image, the file was too large for the conversion path it chose.
  • Reddit re-hosts as video. The GIF you uploaded and the thing people watch are different files.
  • Discord shows large GIFs as static thumbnails on mobile. Under roughly 256 KB they animate inline without a tap; above it, some clients show a still until you click.

This is the strongest argument for sending video instead of GIF wherever the destination allows it. If the platform is going to turn your GIF into a video anyway, you may as well supply a good video — it will be smaller and look better. The GIF to MP4 tool does that conversion locally.

Questions people actually ask

What is the maximum GIF size on Discord?

For a normal file upload on a free account, 20 MB as of late 2026 — it was 8 MB for years and 10 MB more recently. For a custom emoji, the cap is a separate and much tighter 256 KB, and that one has not moved.

What is X/Twitter's GIF limit?

15 MB for an animated GIF, with a maximum of 1280×1080 pixels and 350 frames. The 5 MB figure often quoted is the limit for a still image, not a GIF.

Why does my GIF fail to upload when it is under the limit?

Usually pixel count or frame count, not bytes. X caps total pixels at roughly width × height × frames, so a small file with 600 frames can still be rejected. Resize or trim the loop and try again.

Do these limits apply to video files too?

No. Several platforms give video a different (usually larger) allowance than GIF, which is one more reason converting a GIF to MP4 before uploading often gets you further than compressing the GIF harder.

How do I get a GIF under 128 KB?

Square-crop it, resize to 128×128, drop to 32 colours, and cut it to under about 20 frames. The compressor can do this automatically if you set the target to 128 KB — though if the source is long, cutting frames first will look better than letting the palette collapse.