Free Online Image Optimizer What it's for

Getting a picture out of GIF

GIF is the oldest image format still in daily use, and it survives on two things neither of which is quality: it animates, and absolutely everything opens one. For holding a photograph it is about the weakest option still in circulation, for a reason unchanged since 1987 — it can hold 256 colours and no more.

Convert GIF to JPG →

Why a photograph in a GIF is so heavy

A photograph contains tens of thousands of distinct shades. Forced into a palette of 256, the encoder has to approximate, and the usual approximation is dithering — scattering pixels of two available colours to suggest a third. That looks passable from a distance and it is catastrophic for file size, because dithering replaces smooth areas, which compress beautifully, with fine noise, which does not.

So a photographic GIF is both worse looking and larger than the JPEG of the same picture. Converting fixes both at once, which is unusual — most format changes trade one against the other.

GIF to JPG is set up for that and needs nothing configured.

The GIF to JPG page before a file is chosen, with a drop zone reading "Drop your GIF files here".
One job, already configured: JPEG out, at a quality that suits a photograph.

An animation becomes one picture

This is the part to understand before you press anything. A JPEG holds exactly one image. Hand over an animation and what comes back is a single frame — the first one — and the movement is gone for good.

That is often precisely what people want: a still out of a reaction GIF, a thumbnail for a clip, one frame to put in a document. It is occasionally a nasty surprise. The page says so when it notices the file is animated, rather than letting you discover it afterwards.

If keeping the movement is the point, you want the other page: making an animated GIF smaller keeps every frame and is a different operation entirely.

A GIF staged on the page with its measured before and after sizes shown beneath it.
The saving is measured on the file you handed over, not estimated from its type.

What to do with the result

The JPEG that comes back is an ordinary photograph again: it can be resized, cropped, turned, or converted onward to WebP or AVIF if it is headed for a web page. Nothing about having once been a GIF follows it.

One thing worth not doing is converting back. JPEG has already discarded detail that GIF's palette had discarded before it, and a round trip through both compounds the damage rather than undoing it. Keep whichever version you will actually use and throw the intermediate away.

Worth knowing

Transparency, if the GIF had any

GIF can mark one palette entry as transparent — not a gradient of transparency, a single on-or-off colour. JPEG has no concept of it at all, so those areas are filled in. On a photograph this almost never arises; on a logo or a sprite it certainly will, and PNG or WebP is the right destination for those instead.

Where the file goes

The GIF is uploaded so the conversion and the compression can happen, is put to no other use whatsoever, and is deleted automatically after a short period. What that commitment means in enforceable terms is set out in the privacy notice.

Convert GIF to JPG →

Next: How to make an animated GIF smaller · How to convert a PNG to JPG