Compress GIF
Shrink an animated GIF with fewer colors, a smaller scale or frame skipping; the animation is kept
Your files stay with you. Conversion happens inside the browser; no file is ever uploaded to a server.
Did this tool do the job?
Thanks, your feedback came through.
How it works
Tap or click the box and pick your GIF; only .gif files are accepted, and you can select several at once. The tool opens the file on your device, decodes every frame and writes it again with the settings you chose; the animation, the frame delays and the loop count are kept. There are three settings and each works on its own. Colors is the gentlest: a GIF holds at most 256 colors per frame, and going down to 64 is invisible in most chat GIFs while cutting the file by 20 to 40 percent. Scale reduces width and height together; 50% leaves a quarter of the pixels, which makes it the strongest lever. Frame skipping keeps 1 frame in 2 or 1 frame in 3 and adds the removed frames' delay to the frame before it, so the playback speed stays the same; only fast motion looks a little choppy. Example: a 480×270 screen recording with 60 frames and 4.8 MB comes down to roughly 900 KB with 64 colors, 75% scale and every 2nd frame dropped. The result line reports the old and new size, the percentage saved, the frame count and the pixel size. If the saving is not enough, tighten one more setting and press again: every run starts from the original file, so quality never stacks up losses.
This tool is also known as compress gif, gif compressor, reduce gif size, make gif smaller, compress animated gif, gif file size reducer, shrink gif online.
What is GIF compression?
GIF compression means making an animated GIF smaller without breaking the animation. The format's own compression (LZW) is lossless and has already been applied when the file was saved, so the only way to shrink the file further is to simplify what is in it: fewer colors per frame, a smaller width and height, or fewer frames. This tool does all three in your browser. It decodes every frame and rewrites the file with a single global palette, and the result line shows how much each setting saved, so you can bring a GIF under the size limit of a chat app, a forum or a web page by trying settings until the number fits.
What is Frame?
A frame is one of the still pictures an animated GIF shows one after another; each frame has its own delay (in hundredths of a second) and the frames play in a loop. The frame skipping option on this page keeps 1 frame in 2 or 1 frame in 3 but adds the removed frames' delay to the one before it: a GIF with 60 frames at 80 ms becomes 30 frames at 160 ms, and the total length stays at 4.8 seconds. The animation therefore does not speed up; fast motion just has fewer in-between steps and looks slightly choppy. This page does not save a single frame as a picture; for that, use the GIF to PNG tool.
What is the difference between compressing a GIF and compressing an image?
The image compressor shrinks a single photo by lowering its JPEG quality. That lossy method works well on photographs but cannot be applied to a GIF: the GIF format has no lossy mode, and if the output became a JPG the animation would be gone. Compressing a GIF keeps the file as a GIF and keeps the animation; the saving comes from fewer colors, a smaller scale and skipped frames. The two tools are not interchangeable on the same file: use this page to make an animated GIF smaller, the GIF to PNG tool to pull one frame out as a picture, and the image compressor to make a photo smaller.
Why is a GIF so big, and where does the loss show?
GIF dates from 1989: every frame is stored with at most 256 colors using lossless LZW, and the format only has a limited version of the "store just the difference from the previous frame" trick video uses. That is why a 5-second screen recording that takes 300 KB as MP4 can take 5 MB as GIF. The only way to shrink it is to simplify the content, and every simplification shows somewhere: fewer colors turn smooth gradients (sky, skin) into visible bands, a smaller scale thins out text, skipped frames make fast motion choppy. The tool lets you choose each of the three losses separately, so you give up whichever one your GIF does not show.
Color reduction here uses one global palette: there is no color flicker between frames, but the palette is sampled from the first, middle and last frames, so a new color that appears later is rounded to the nearest palette entry. Transparent GIFs keep their transparent area; partial transparency does not exist in GIF anyway. "Keep previous frame" and "restore to background" disposal rules are applied while decoding and the output is written as full frames, which is why a few finely tuned GIFs can get larger at 256 colors and 100% scale — the result line says so, and lowering the colors fixes it.
Which setting for which GIF?
For chat and social media (WhatsApp, Discord, Telegram): 64 colors plus 50% scale brings most GIFs below a quarter of their size, and on a phone screen the smaller scale is not noticed. For a web page or an email signature: 100% scale with 32 or 64 colors; if the size still slows the page down, drop every 2nd frame — short looping animations do not show the choppiness. For screen recordings and GIFs with text: leave the scale alone (text gets blurry) and try 32 colors and frame skipping first, because interface recordings hold few colors to begin with.
For GIFs made from photos or video clips: 128 colors and 75% scale; below 32 colors banding appears. In long GIFs with more than 100 frames the bulk of the file is the frame count, so keep 1 frame in 3 instead of fighting with colors. Every attempt starts from the original file and quality never stacks up losses; read the percentage on the result line and tighten or loosen one setting. When a GIF has to shrink a lot (recordings above 10 MB), set the scale to 50% first: the pixel count falls to a quarter and the processing gets faster by the same amount.
Frequently asked questions
Does compressing a GIF break the animation?
No. Frame delays and the loop count are written to the output as they were; even with frame skipping on, the removed frame's delay is added to the frame before it, so playback neither speeds up nor slows down. What you see depends on the setting you chose: fewer colors can turn gradients into bands, a lower scale makes the picture smaller, skipped frames make fast motion a little choppy.
Can a GIF be made smaller without losing quality?
Only up to a point. The GIF format's own compression is lossless and has already been applied; the file only shrinks when the content is simplified. The least visible simplification is going from 256 to 128 or 64 colors: on GIFs with few colors (screen recordings, line animation) that can be fully lossless, because the file never held that many colors in the first place. On a GIF made from a photo, anything below 32 colors leaves banding.
How many MB can I get a GIF down to?
There is no target box; the result line shows the new size and you tighten a setting and press again. Rule of thumb: 64 colors saves 20 to 40 percent, 50% scale leaves about a quarter, dropping every 2nd frame leaves about half, and the three multiply. An 8 MB GIF usually ends up under 1 MB with 64 colors, 50% scale and every 2nd frame dropped.
Is my file uploaded anywhere?
No. The GIF never leaves your device: decoding the frames, reducing the colors and writing the new file all happen inside your browser, and once the page has loaded it keeps working with the internet disconnected. A large file (hundreds of frames, high resolution) can take a few seconds on a phone, because your device does the work rather than a server.