How to Compress a GIF in Your Browser
Load your GIF
Drag a GIF onto the drop zone or click Select GIF to pick one from your device. The tool accepts animated and static GIF files only, and the file stays on your device the whole time. The first compression also pulls the FFmpeg engine into your browser, so allow a moment on the initial run.
Set color palette and max FPS
Choose a color palette between 32 and 256 colors and drag the Max FPS slider to cap the frame rate. Fewer colors and a lower frame rate produce a smaller file. The default of 64 colors and 15 FPS is a balanced starting point for most animations.
Compress and download
Click Compress GIF. The tool builds an optimized color palette for your clip, re-renders the animation with Bayer dithering, then shows the original size, new size, and the percentage saved. Click Download to save the result, or Compress Another to start over with new settings.
Color Palette Settings Compared
This compressor reduces file size by cutting the number of colors stored in the GIF and capping its frame rate. The table below shows how the available palette sizes trade visual fidelity against output size so you can pick the right setting for your clip.
| Palette size | Visual quality | File size impact | Best for |
|---|---|---|---|
| 256 colors | Highest, closest to source | Smallest savings | Photographic clips and smooth gradients |
| 128 colors | Very good, minor shifts | Moderate savings | Detailed animations you want to keep crisp |
| 64 colors (default) | Good, slight banding possible | Strong savings | Most reaction GIFs and UI captures |
| 32 colors | Reduced, visible banding | Largest savings | Simple graphics, logos, flat-color art |
| Max FPS slider | Smoothness vs choppiness | Lower FPS drops more frames | Trimming frame count on long loops |
Which Settings Should You Use
Keep quality high
Set the palette to 128 or 256 colors and leave the FPS near the source rate. Expect smaller savings, but gradients and detailed frames stay clean. Good when the GIF will be viewed close up.
Smallest possible file
Drop to 32 colors and lower the Max FPS to 10 or 12. This sheds both color data and frames, ideal for flat illustrations, icons, and screen recordings where exact tones matter less.
Balanced for sharing
Stay on the 64-color default and a Max FPS around 15. This usually cuts size noticeably while keeping motion readable, which suits chat reactions and embedded web GIFs.
Long or large animation
Lower the Max FPS first to thin out frames, then reduce colors if you need more. Capping FPS is often the biggest lever on lengthy loops, and it processes faster on modest hardware.
Common Problems and Fixes
Compression failed or the engine did not load
The tool loads the FFmpeg engine into your browser from a content delivery network on the first run. If it fails, the page shows an alert. Reload the page so the libraries can load, and use a current desktop build of Chrome or Firefox, which the tool recommends for compression.
The file got larger instead of smaller
If your source GIF is already heavily optimized, re-encoding can add a little overhead and the saved value may show 0%. Lower the color palette and reduce Max FPS to force a genuine reduction, or keep the original if it is already smaller.
Colors look banded or posterized
Aggressive palette reduction removes colors, so gradients and photographic frames can show banding. Step the palette back up toward 128 or 256 colors. Bayer dithering already helps blend tones, but more colors give the smoothest result.
Processing is slow on large files
Compression runs entirely on your device, so very large GIFs take longer on slower or mobile hardware. Lower the Max FPS to cut the frame count before compressing, and process one file at a time using Compress Another between runs.