Guide
How to make a GIF smaller without ruining it
Six ways to get a GIF under a size limit, in the order that costs the least visible quality — plus the cases where GIF is simply the wrong format and nothing you shrink will look right.
Start with the number, not the tool
"Too big" is not a size. Discord lists 20 MB for standard attachments, the X phone app is stricter than its web uploader, and a support form may cap you at 2 MB before the attachment even arrives. Decide the number first, because a GIF built for 500 KB and a GIF built for 9 MB are different compromises, not the same file with different settings.
The fastest way to do it: open the compressor, drop the file and pick the preset for where you are posting. Everything below is what that button is doing, in case you want to do it by hand.
The levers, cheapest first
1. Remove unchanged pixels. Most GIFs have a still background and one moving subject. If a pixel matches the frame before it, it does not need to be stored again — it can be left on screen. This is where the big free savings are, and it costs nothing in quality. Animated GIFs exported from modern editors often already do this; a GIF assembled frame by frame from screenshots does not.
2. Cut the palette. GIF allows 256 colours per frame. Most animation uses far fewer. Going to 128 or 64 is invisible on flat illustration and only slightly visible on gradients, and the encoded stream shrinks with it because long runs of the same colour compress well.
3. Merge identical frames. A one-second pause at the start of a loop is often stored as 25 identical frames. It can be one frame with a longer delay.
4. Drop the frame rate. This is the biggest saving available and the most visible one. 30 fps to 12 fps can cut the file by more than half, and for a reaction or a screen recording nobody notices. For fast motion, people do.
5. Shrink the canvas. Last, because it is what people see. Halving the width removes three quarters of the pixels. Scaling to 70% is usually invisible on a phone screen and enough to bring a file down by half.
6. Re-check, don't guess. Size is not linear in any of these. Encode, measure, adjust. That loop is exactly what the GIF compressor automates. Each pass checks the actual encoded size and adjusts the settings if more compression is needed.
A worked example
A 24.6 MB, 1920×1080, 30 fps screen recording of a UI click, going to an uploader with a custom 10 MB limit:
- Frame-to-frame diff at full size: usually down to about 15–19 MB. Nothing visible changed.
- Palette to 128 colours: another 15–25% off. Still full size.
- Canvas to 70% (1344 px wide): roughly 9 MB. It fits.
At no point did the frame rate change. That is the point of the order: a UI demo stays smooth, and the part you lost was resolution you would not have noticed in a Discord embed anyway.
A different file — a 5-second 30 fps macro shot of a cat — would start with almost no unchanged pixels, so the first pass does nothing. It would get most of its savings from frame rate, because a cat moves everywhere.
When nothing works
If a GIF has real photographic colour, GIF is the wrong container. 256 colours will band a sky, and the file will still be huge, because every frame stores a picture. The same clip as an MP4 or WebM is typically a tenth of the size and looks better — and most chat apps now play short video inline.
Three rules of thumb:
- Loop, silent, autoplay required → GIF, and accept the size.
- Any real photo or video texture → export a video instead.
- Needed as a custom emoji → use the Discord emoji preset for a target below 256 KB and a canvas that fits within 128 × 128 pixels.
Doing it without this site
On a desktop you can install gifsicle and run gifsicle -O3 --lossy=80 --colors 128 in.gif -o out.gif. On macOS, sips will not touch animation, so people usually reach for a browser tool anyway. If you are doing this once a month, a bookmark is enough; if you are doing it ten times a day, a local binary is worth the five minutes of setup.
Either way the order of operations is the same: remove what is repeated, then reduce colours, then frames, then pixels — and measure after each step instead of trusting a slider.