Drop the GIF on this page. It is compressed at once with 128 colors, every frame and its full size, and the list shows its old size, its new size and how much smaller it got. Press its thumbnail to see it larger, then press Download.
Three settings make it smaller still. Colors sets how many colors the GIF keeps, from 256 down to 32. Frames keeps every frame, every 2nd or every 3rd. Size scales the width and the height to 75% or 50%. Change one and the list is compressed again.
A GIF stores every frame as a picture of at most 256 colors, compressed without loss. Its size grows with the number of frames, the number of pixels in each and how busy each picture is.
Video, film grain and dithering, the dotted pattern converters use to fake more colors, compress poorly: our 4-second video clip took 2.8 MB at 480 × 270. Flat pictures compress well: our 2-second animated chart took 89 KB at 640 × 400.
Cut one of the three things that make it large: colors, frames or pixels. In our tests, 128 colors made four GIFs 31% to 74% smaller, keeping every 2nd frame 41% to 82%, and scaling to 50% 74% to 87%.
The settings add up: every 2nd frame and 50% size together took our video clip from 2.8 MB to 245 KB. The list shows the new size of each GIF, so you can change a setting until it fits a limit.
A GIF has 256 colors at most. At 256, a GIF that already uses 255 colors or fewer keeps every one of them exactly; it gets smaller only through the way its frames are stored, which was less than 1% for our screen recording and video clip.
At 128 colors, the default, our four test GIFs looked nearly the same as before. Screen recordings and charts take fewer colors well: our screen recording looked the same at 32. Video and smooth gradients show bands first: our video clip had them at 32.
Keep every 2nd frame and half of them are left out; keep every 3rd and two in three are. A dropped frame adds its time to the frame before it, so the animation plays at the same speed and lasts as long as before: our 6-second screen recording went from 60 frames to 30 and still lasts 6 seconds.
The movement looks less smooth with fewer frames, most in fast motion. The loop count stays as it was, whether the GIF plays forever or a set number of times.
At 75% a GIF keeps a little over half of its pixels, and at 50% a quarter. That is why the Size setting saves the most: our four test GIFs became 74% to 87% smaller at 50%.
Each new pixel is the average of the pixels it replaces, so edges stay smooth instead of jagged. Transparent areas stay transparent.
After the first frame, each frame keeps only the rectangle that changed. Inside it, the pixels that stayed the same can be left see-through so the frame underneath shows; the compressor keeps whichever way takes fewer bytes. A frame that is the same as the one before adds its time to it instead of being stored again.
A GIF that was compressed well already can come out the same size or larger, most often at 256 or 128 colors. The compressor then says Not smaller and offers the original; fewer frames or a smaller size usually help.
A GIF of a screen recording usually explains something: a bug, a new feature, the steps of a task. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the explanation can be said rather than typed. It is free to start.
Measured with this compressor on four GIFs: a 6-second screen recording and a 4-second video clip, both made with ffmpeg, a sticker on a transparent background and an animated chart. Sizes as the compressor shows them, 1 KB being 1,024 bytes. The last two columns keep 128 colors.
|
| Screen recording, 1,280 × 772, 60 frames | 184 KB | 127 KB (−31%) | 112 KB (−39%) | 108 KB (−41%) | 48 KB (−74%) |
|---|
| Video clip, 480 × 270, 48 frames | 2.8 MB | 1.7 MB (−37%) | 1.3 MB (−54%) | 968 KB (−66%) | 435 KB (−85%) |
|---|
| Sticker, 240 × 240, 24 frames | 175 KB | 113 KB (−36%) | 107 KB (−39%) | 55 KB (−68%) | 36 KB (−79%) |
|---|
| Animated chart, 640 × 400, 31 frames | 89 KB | 23 KB (−74%) | 23 KB (−74%) | 16 KB (−82%) | 12 KB (−87%) |
|---|
At 256 colors the screen recording and the video clip, which use 255 colors or fewer, kept every color exactly and became less than 1% smaller. Every 2nd frame and 50% size together took the video clip from 2.8 MB to 245 KB.