Compress GIF Files

Upload a GIF and Picture Optimizer exports its first frame as a still WebP, AVIF, JPG or PNG, at the quality you choose. Animation is not kept, so this suits still GIFs, such as old logos, banners and graphics.

Try it on your own file

Drop a GIF here, or choose a file

It stays on your device. Nothing is uploaded from this page.

80
Sign up free to compress it

Nothing is processed on this page. The Free plan compresses your first 15 photos to AVIF or JPG; bigger photos are resized to fit 3 MB. WebP and AI text start on Starter.

At a glance

Compress GIF at a glance

GIF, still or animated

Input

Still WebP, AVIF, JPG or PNG

Output

Not kept (first frame)

Animation

256 colours a frame

GIF colour limit

Figures from our sample run; AI text is Starter and up.

How GIF compression works

GIF dates from 1987. It stores images with LZW compression and a palette of at most 256 colours per frame. For still images, GIF is rarely the best choice: PNG, WebP and AVIF can store the same picture with more colours, usually in fewer bytes.

Picture Optimizer doesn't write GIF files. It reads the GIF and exports it in a modern format instead.

What Picture Optimizer does with a GIF

Picture Optimizer reads the first frame of a GIF and exports it as a still image in the format you pick: AVIF or JPG on every plan, WebP from Starter, PNG from Pro. It is resized and compressed like any other image.

Animation is not kept: a GIF with several frames comes out as a single still. If you need the animation, convert it with a tool that writes animated WebP; Google's WebP documentation notes that animated WebP files are smaller than GIFs. ShortPixel's WordPress plugin, for example, lists converting animated GIFs to animated WebP or AVIF.

Questions

Common questions about this tool.

For web pages, animated WebP is usually the lighter choice; Google's WebP documentation says animated WebP files are smaller than GIFs. Keep GIF where a platform needs it, such as some email clients.

Fresh from the blog: Image compression