Skip to content
YouNeed Tools
Free VPN

Compress GIF

Shrink an animated GIF to fit an upload limit for Discord, Slack, a forum or an email, and compare the size and look before you download.

Drop a GIF here

Animated or still GIF.

or drag and drop here

Where the bytes in a GIF go

A GIF stores every frame as a grid of colour numbers, squeezed with a method from 1984 that is good at long runs of the same colour and poor at noise. So file size follows four things: how many pixels each frame has, how many frames there are, how many colours each frame uses, and how much changes from one frame to the next. Each setting on this page works on one of them.

The settings, from biggest to smallest effect

SettingTypical savingWhat you see
Size 50%60 – 75%Smaller picture
Keep every 2nd frame35 – 50%Choppier motion, same length
Lossy medium15 – 50%Faint trails in noisy areas
64 colours10 – 30%Banding in gradients
Dithering off5 – 25%Flatter shading

Savings vary with the GIF: cartoons with flat colours gain little from fewer colours, while camera footage gains a lot from lossy.

What is optimised for you

Whatever you pick, every frame is checked against what the viewer already shows. Only the rectangle that changed is stored, and pixels inside it that stayed the same become see-through so the previous frame shows through. Runs of see-through pixels compress extremely well. A frame that doesn’t change at all is merged into the one before, adding its time.

Worked example

A 4.8 MB, 480 × 270 clip of 60 frames needs to go under 2 MB. With 128 colours and light lossy it comes out around 3.5 MB. Adding Keep every 2nd frame brings it to about 1.9 MB with the same 6-second length. If it still looks too rough, use 75% size with every frame kept instead, and compare.

Other GIF tools

Need an exact pixel size? Resize GIF. Only want part of it? Cut GIF removes frames, and Crop GIF trims the edges. For photos, Compress image works on JPG, PNG and WebP.

Frequently asked questions

How do I reduce the file size of a GIF?
Add the GIF and press Compress GIF with the starting settings (128 colours, light lossy). The page shows the old and new size. For more savings, lower the colours, choose a stronger lossy level, keep every 2nd frame, or make it smaller.
Which setting saves the most?
Size first: 50% has a quarter of the pixels, often a 60–75% saving. Next, dropping every second frame roughly halves what is left (the timing is kept, the motion gets a bit choppier). Fewer colours and lossy help most on photo-like GIFs.
What does the lossy setting do?
Between frames, pixels whose colour barely changed are not stored again; the viewer keeps showing the previous pixel. With video noise and film grain that is most of the picture, so the file shrinks a lot. Strong levels can leave faint trails where things move slowly.
Why did my GIF get bigger?
GIFs made by a good optimiser can already be close to their smallest. If the new file is larger, the page says so: keep your original, or try fewer colours, fewer frames or a smaller size.
Is the animation speed changed when frames are dropped?
No. The time of each dropped frame is added to the frame kept before it, so the GIF lasts exactly as long as before.
How small does a GIF need to be?
Common limits: Discord 10 MB for free accounts and 256 KB for emoji, Slack emoji 128 KB, many forums 1–2 MB, email newsletters ideally under 1 MB.

Last updated: 2026-11-26