GIF Compressor

Compress animated GIFs and keep every frame moving. Reduce file size by 40-80% with palette optimisation, optional scaling and frame reduction.

GIF files only — up to 50 MB

How to use GIF Compressor.

3 steps to get started, plus the details worth knowing before you export.

1
Step 1

Upload your GIF

Drop or select any animated GIF. The frame count and dimensions are read instantly, before anything is sent.

2
Step 2

Choose how hard to compress

Pick a level from Light to Maximum, or type a target size in KB. Optionally scale the dimensions down or keep every second frame.

3
Step 3

Check and download

Compare the before and after side by side — both still playing — then download once you are happy with it.

Getting the best results

Try Balanced before anything more aggressive

Balanced drops the palette to 64 colours, which is usually indistinguishable from the original on cartoons, screen recordings and UI demos while cutting the file by well over half. Photographic GIFs with smooth gradients are the exception — those show banding sooner, so Light is the safer starting point.

Dimensions beat palette every time

If you need a dramatic reduction, scale first. Going from 800 to 400 pixels wide removes three quarters of the pixels in every frame, which no amount of palette tuning can match. Most GIFs are displayed far smaller than they are stored, so this is usually free in practice.

Consider whether it needs to be a GIF at all

For anything longer than a couple of seconds, an MP4 or animated WebP will be a fraction of the size at better quality, because GIF has no motion compression and is capped at 256 colours per frame. GIF is still the right choice when you need something that plays automatically anywhere, including in email and older chat clients.

All image tools.

Free online tools for every image task.

Image Compressor

Compress images without losing quality.

Image Resizer

Resize images to exact dimensions or by percentage.

Image Converter

Convert between JPEG, PNG, WebP, and other formats.

Image Cropper

Crop images to any size or predefined aspect ratio.

Bulk Compressor

Compress multiple images at once and download as ZIP.

Image Rotator

Rotate images by any angle or flip horizontally/vertically.

Grayscale Converter

Convert color images to grayscale or apply filters.

Image Splitter

Cut an image into a grid of separate tiles.

Blur Image

Add a soft Gaussian blur to any image.

Flip Image

Mirror an image horizontally or vertically.

Merge Images

Combine several images into one, side by side or stacked.

Round Corner Image

Round the corners of an image, with transparency.

Square Image

Make any image a perfect square.

JPG to PDF

Convert JPG images to PDF documents instantly.

PDF to JPG

Convert PDF documents to JPG images instantly.

PNG to PDF

Convert PNG images to PDF documents instantly.

PDF to PNG

Convert PDF documents to lossless PNG images.

PNG to JPG Converter

Convert PNG images to JPG format instantly.

JPG to PNG Converter

Convert JPG images to lossless PNG format.

PNG to WebP Converter

Convert PNG images to modern WebP format.

WebP to PNG Converter

Convert WebP images to PNG format instantly.

WebP to JPG Converter

Convert WebP images to JPG format instantly.

JPG to WebP Converter

Convert JPG images to modern WebP format.

SVG to PNG Converter

Convert SVG vector files to PNG images.

SVG to JPG Converter

Convert SVG vector files to JPG images.

HEIC to JPG Converter

Convert iPhone HEIC photos to JPG format.

HEIC to PNG Converter

Convert iPhone HEIC photos to lossless PNG.

AVIF to JPG Converter

Convert AVIF images to universally compatible JPG.

AVIF to PNG Converter

Convert AVIF images to lossless PNG format.

GIF to JPG Converter

Convert GIF images to JPG format instantly.

GIF to PNG Converter

Convert GIF images to lossless PNG format.

BMP to JPG Converter

Convert BMP images to compressed JPG format.

BMP to PNG Converter

Convert BMP images to lossless PNG format.

TIFF to JPG Converter

Convert TIFF images to compressed JPG format.

TIFF to PNG Converter

Convert TIFF images to lossless PNG format.

JPG to AVIF Converter

Convert JPG images to next-gen AVIF format.

PNG to AVIF Converter

Convert PNG images to next-gen AVIF format.

WebP to AVIF Converter

Convert WebP images to next-gen AVIF format.

ICO to PNG Converter

Convert ICO icon files to PNG images.

GIF Resizer

Resize animated GIFs and keep them animated.

EXIF Viewer

See the hidden metadata inside any photo.

EXIF Remover

Strip metadata and GPS from photos without quality loss.

HTML to Image

Turn HTML and CSS into a PNG, JPEG or WebP.

Why use GIF Compressor?

Everything you need to know about gif compressor.

Why animated GIFs get so large

A GIF stores each frame as its own palette-indexed bitmap, with no motion compression of the kind video codecs use. There is no concept of describing how pixels moved between frames, so a two-second clip at 25 frames per second is closer to fifty stacked images than to a video. That is why a short GIF can easily outweigh a high-resolution photograph.

Two limits define the format. Each frame can reference at most 256 colours, and compression is LZW over the palette indices, which rewards flat areas and repeated patterns while punishing noise and gradients. Understanding both explains every compression decision below: reducing the palette makes the index stream cheaper, and reducing dithering keeps that stream repetitive enough for LZW to work with.

What each compression level changes

The levels move the palette size, the dithering strength, and how much error the encoder may accept when it reuses a palette between frames or treats a barely-changed pixel as unchanged. Light keeps 192 colours and is intended to be hard to distinguish from the original. Balanced uses 64 and is the recommended default. Strong uses 32 and starts to show visible banding in gradients. Maximum drops to 8 colours, which is a deliberate trade for the smallest possible file.

Dithering is reduced as the levels get stronger, which sounds backwards but is not. Dithering hides banding by scattering pixels of nearby colours, and that scattering is noise — exactly what LZW compresses worst. At small palette sizes, heavy dithering can leave a file barely smaller than it started, so it is eased off in step with the colour count.

Scaling and frame reduction

Palette work has a floor, and once you reach it the only things left are pixels and frames. Scaling is the more effective of the two because it applies to every frame at once: halving both dimensions leaves a quarter of the pixels. Every frame is resampled independently and the animation is rebuilt, so the result plays exactly as before at the new size.

Frame reduction keeps one frame in every two or three. The delays of the removed frames are added to the frame that replaces them, so total playback time is unchanged and the animation never runs fast. The cost is smoothness, which matters for fluid motion but is often unnoticeable on screen recordings and text animations that hold still between changes.

Frames, timing and looping are preserved

Every operation here reads the whole animation rather than the first frame, which is the usual reason a GIF comes back as a still image from online tools. Frame delays are read per frame and written back, and the loop flag that makes a GIF repeat forever is preserved, so nothing stops after one pass.

The frame count of the file you are about to download is measured from the encoded output and shown in the result panel, next to the original count. If those two numbers match, no frames were lost.

How your file is handled

Animated GIFs are compressed on our server, because browsers can decode animation but cannot re-encode it. Your file travels over HTTPS, is held in memory for the few seconds the work takes, and is discarded when the response is sent. It is never written to disk, logged, indexed or shared, and nothing is retained after your download.

Frequently asked questions.

Everything you need to know about GIF Compressor.

Yes. Every frame is decoded, re-encoded and written back into a single animated GIF, and the per-frame delays and the infinite-loop flag are carried across unchanged. The result card shows the frame count of the file you download so you can confirm it before saving.

GIF is already a compressed format, so the size comes almost entirely from how many colours each frame stores. Reducing the palette from 256 colours to 64 typically cuts the file by more than half, because every pixel then needs fewer bits and the encoder can reuse one palette across several frames. Areas that barely change between frames are also marked as unchanged rather than being stored again.

Some GIFs are already saved with a small palette and inter-frame optimisation, and there is little left to remove. When that happens the two levers that always work are dimensions and frame count: halving the width and height removes three quarters of the pixels, and keeping every second frame removes half the data outright.

Nothing — the animation still runs for the same length of time. Each frame that is kept absorbs the delay of the frames it replaces, so a 20-frame GIF at 80ms per frame becomes a 10-frame GIF at 160ms per frame. It looks slightly less smooth but never sped up.

Enter a target in KB and the best-looking setting that fits under it is found automatically. If even the smallest palette is still over the target, you will be told, because at that point the only remaining options are reducing the dimensions or the frame count.

Up to 50 MB and up to 600 frames. Very long animations are the slowest thing to process because every frame has to be decoded and re-quantised.

No. Unlike our still-image tools, animated GIFs are processed on our server because browsers cannot re-encode animation. Your file is sent over HTTPS, held in memory only, and discarded as soon as the response is sent — never written to disk.