To compress a GIF online, add your GIFs above, choose how many colours to keep (128 is a good start), optionally keep every 2nd frame or set a maximum width, then press Compress. Free, private, and your images are never uploaded.
Add your images, choose the settings and download smaller files. Everything runs in your browser, so your images are never uploaded.
Loading the tool…
To compress a GIF online, add your GIFs above, choose how many colours to keep (128 is a good start), optionally keep every 2nd frame or set a maximum width, then press Compress. The animation and timing are kept. Nothing is uploaded; it all runs in your browser.
Shrink animated GIFs for email, chat and websites. The compressor reduces the palette, can skip frames and resize, and stores only the pixels that change from one frame to the next. It is a free tool from Websolindia, a New Delhi website design and SEO company that builds fast, image-optimised websites.
Unlike most online image tools, this one does not upload your pictures. Your browser decodes each image, re-encodes it with an open-source compression engine and shows you the exact before and after sizes. You can process up to 30 images at a time and download them one by one or together as a ZIP.
Once your image is ready, you may also want the GIF to PNG Converter Online, the GIF to JPG Converter Online or the WebP Image Compressor Online. All of our free image tools are listed in the Image Compressor Tools collection and the Websolindia Image Converter.
Use this table to choose settings with confidence.
| Setting | Effect on file size | Effect on look |
|---|---|---|
| Colours 256 → 128 | Moderate saving | Rarely noticeable |
| Colours 128 → 64 | Large saving | Banding in gradients |
| Colours 64 → 16 | Very large saving | Posterised look |
| Every 2nd frame | Roughly halves the frames | Slightly choppier |
| Smaller width | Saving grows with the reduction | Less detail |
This is exactly what happens to your image, with no hidden step. You can check that nothing is uploaded by watching your browser's network tab while you use the tool.
| Step | What happens |
|---|---|
| 1. Read the GIF | The file is read and every frame is composed onto a full canvas, honouring each frame's disposal method. |
| 2. Reduce frames and size | Optionally keep every 2nd or 3rd frame (delays are added together to keep timing) and scale frames down to your maximum width. |
| 3. Build one palette | A single shared palette is quantised from sampled frames, with one entry reserved for transparency. |
| 4. Store only changes | For each frame after the first, pixels identical to the previous frame are made transparent, so long unchanged areas cost almost nothing. |
| 5. Encode and compare | The frames are written as an animated GIF. If the result is not smaller than your original, we return your original. |
| Setting | Default | Choices | What it does |
|---|---|---|---|
| Colours | 128 | 256 (best quality); 128; 64; 32; 16 (smallest) | Fewer colours means a smaller file. |
| Frames to keep | All frames | All frames; Every 2nd frame (about half the frames); Every 3rd frame | Dropping frames shrinks animations; timing is kept. |
| Maximum width in pixels (optional) | Empty | 1 to 20000 | Larger images are scaled down, never up. |
| What | Formula | Notes |
|---|---|---|
| Size change | (new − original) ÷ original × 100 | Shown for every file. |
| Frame delay | Sum of the delays of the frames merged | Keeps the animation length when frames are skipped. |
| Height | width × (original height ÷ original width) | Proportions are always kept. |
| Component | Role | Where it runs |
|---|---|---|
| omggif | Decodes every GIF frame | Your browser |
| gifenc | Quantises colours and writes the GIF | Your browser |
| Topic | Detail |
|---|---|
| Images per batch | Up to 30 at a time |
| File size | Up to 150 MB per image |
| Image dimensions | Up to about 120 megapixels; larger images are declined to protect your browser |
| Privacy | Images are processed in your browser and never uploaded |
| Browsers | Current Chrome, Edge, Firefox and Safari (WebAssembly is needed for AVIF, HEIC, TIFF and AI tools) |
| Metadata | EXIF and location data are not copied into new files |
In our test, a 24-frame animation of 183 KB became 61 KB at 64 colours, and 27 KB with 32 colours and every second frame. Results depend heavily on the animation.
Yes. Frame delays are kept, and when frames are skipped their delays are added together so the total duration stays the same.
Yes. Transparent pixels remain transparent.
GIF only supports 256 colours, and fewer colours cause visible bands or grain. Increase the colours or avoid dropping frames.
Yes. Short MP4 or WebM video, and animated WebP, are far smaller than GIF. Use GIF only where those are not accepted.
Yes: the GIF to PNG Converter Online and the GIF to JPG Converter Online convert the first frame to a PNG or JPG.
Yes. It is free, needs no sign-up, adds no watermark and has no daily limit. It is provided by Websolindia.
No. Your images are read and processed inside your browser on your own device. They are never sent to Websolindia or anyone else, which is why the tool is safe for private photos.
No. New files are created from the pixels, so camera details, GPS location and other embedded metadata are not copied. Keep your originals if you need that information.
Up to 30 images per batch and 150 MB per image. Images above roughly 120 megapixels are declined with a clear message rather than freezing your browser.
Current versions of Chrome, Edge, Firefox and Safari on computers, phones and tablets. Large images and AI or AVIF features run faster on a computer.
Websolindia built it. We are a New Delhi website design, SEO and digital marketing company serving businesses since 2014. See our website designing and SEO services.
More in this collection: Image Compressor Tools