The Paper Room

GIF Compressor

Upload an animated GIF and compress it by adjusting three parameters: maximum number of colors (64, 128, or 256), frame rate, and maximum width. The tool re-generates the color palette with your chosen color limit using ffmpeg's palettegen filter, and optionally downscales and reduces the frame rate to shrink the file further.

This is useful for GIFs that are too large for email, messaging apps, or websites. Reducing colors from 256 to 128 or 64 often produces a significant size reduction with minimal visual impact, especially for GIFs with limited color variety. Lowering the fps and width compound the savings.

Everything runs in your browser using ffmpeg.wasm — your GIF is never uploaded to a server.

By The Paper Room Editorial TeamVideo Tools

Frequently asked questions

Which setting has the biggest impact on file size?

Reducing the width (dimensions) typically has the largest impact because it reduces the total number of pixels per frame. Lowering the fps is next, as it reduces the number of frames. Reducing colors has a more modest effect but can help with GIFs that have large areas of similar color.

Will 64 colors look bad?

It depends on the content. GIFs with limited color palettes (screen recordings, pixel art, simple animations) look fine at 64 colors. GIFs with photographic content, gradients, or many colors will show visible banding at 64 colors — try 128 first.

Can I compress a GIF without losing quality?

GIF is already a lossless format, so there's no way to reduce file size without some quality trade-off. However, many GIFs are larger than necessary because they use more colors or frames than needed. Reducing these to match what the content actually requires can look indistinguishable from the original.