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
| Setting | Typical saving | What you see |
|---|---|---|
| Size 50% | 60 – 75% | Smaller picture |
| Keep every 2nd frame | 35 – 50% | Choppier motion, same length |
| Lossy medium | 15 – 50% | Faint trails in noisy areas |
| 64 colours | 10 – 30% | Banding in gradients |
| Dithering off | 5 – 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?
Which setting saves the most?
What does the lossy setting do?
Why did my GIF get bigger?
Is the animation speed changed when frames are dropped?
How small does a GIF need to be?
Last updated: 2026-11-26