Picture Batch GIF to JPG

GIF to JPG

Upload forms, printing services and older software that accept photographs often accept exactly one format, and it is JPEG. Converting a GIF to JPG gets it through that door. The trade is that JPEG cannot store transparency or animation, and that it is the wrong format for the flat colour most GIFs contain — all of which this page tells you about before you convert rather than after.

Drop GIF images here

GIF files — or any of PNG, JPEG, WebP, AVIF, BMP, ICO, TIFF or camera raw (CR2, CR3, NEF, ARW, DNG, RAF, ORF, RW2). Everything runs on this device.

Or paste an image from the clipboard.

Your images never leave this device. They are decoded and re-encoded by your own browser, and the security policy on every page blocks this site from sending them anywhere.

Lossy, no transparency, opens absolutely everywhere, small for photographs.

The standard range for photographs. Hard to distinguish from the original.

Size

Images keep their original dimensions.

Rotate

Images are turned upright from their own orientation data, and left that way.

JPEG cannot store transparency. Nothing in the queue currently has transparent pixels, so this has no effect yet.

Metadata

Exif is carried across where both formats can hold it. Nothing currently in the queue has any.

GIF metadata cannot be read by this tool, so there is nothing to carry across. Orientation is still applied to the pixels.

What happens to your image

Expect a much smaller file than a lossless source, at the cost of some detail.

What is preserved and what is lost converting GIF to JPEG
PropertyOutcome
Transparency Not preserved: Lost. JPEG cannot store it, so transparent areas are filled with a background colour you choose. This cannot be undone in the output.
Image quality Partly preserved: JPEG is lossy: the image is re-compressed and detail is discarded to make the file smaller. The quality control decides how much.
Colour Partly preserved: Output uses eight-bit colour and is treated as sRGB. Colour management depends on the decoder; source profiles are not copied, and wide-gamut colours may change.
Exif metadata Not preserved: GIF metadata is not read by this tool, so there is nothing to carry across.
Orientation Preserved: Applied to the pixels, and the tag is reset to upright afterwards so nothing rotates the image a second time.
Animation Not preserved: Only the first frame is converted. Animation is not carried across.

Flat colour and sharp edges are what JPEG does worst

Most GIFs are graphics: logos, diagrams, icons, screenshots, text. JPEG was designed for photographs, where smooth gradients hide its compression. On a hard edge between two flat colours it produces the faint ringing and blocky smudges that make a converted logo look slightly dirty.

That is why the quality here starts at 90 rather than the 85 used for photographs. At that setting the artefacts are hard to see on most graphics. If the destination accepts PNG, that is still the better choice for anything with text or hard lines in it.

Transparent areas need a colour, and you choose it

GIF can mark pixels as transparent; JPEG has no way to store that at all. Every transparent pixel has to become a solid colour, and the background control decides which. The default is white, which suits documents and most upload forms. For something that will sit on a dark page, choose a colour that matches it.

The queue tells you whether a GIF it has read actually uses transparency, so you know whether the choice will show.

One frame, not the animation

A JPEG holds a single still image. When the GIF is animated, the first frame is converted and the rest are left out — the row says so before converting, and the manifest in the ZIP records it.

Expect the file size to change in either direction

For a GIF of a photograph, the JPEG will usually be smaller and look better, because it is no longer limited to 256 colours. For a small flat graphic, the JPEG can be larger than the GIF, since a 256-colour palette compresses flat areas very efficiently and JPEG does not use one.

If something goes wrong

The edges of a logo look fuzzy or have faint halos.

JPEG compression artefacts around hard edges, which flat-colour artwork shows more than photographs do.

What to do: Raise the quality to 95 or above, or use PNG if the destination accepts it — PNG stores the edges exactly.

There is a white box around the image.

The GIF had transparent areas and JPEG cannot store them, so they were filled with the background colour, which defaults to white.

What to do: Choose a background colour that matches where the image will be placed, and convert again.

Only the first frame of my animation came out.

JPEG is a single still image, so only the first frame of an animated GIF is converted.

What to do: That is the expected result. For the full animation, use a video tool instead of an image converter.

Questions

Will converting GIF to JPG reduce the quality?

Slightly, because JPEG is lossy — the quality setting decides how much. On photographs the change is hard to see. On flat graphics with text, keep the quality high or choose PNG instead.

Does GIF to JPG keep the animation?

No. JPEG cannot store animation, so the first frame is converted as a still and the other frames are left out.

Do my files leave my computer?

No. The conversion runs entirely in your browser, and the page is not permitted to send image data to any server.

Related