Convert GIF to JPG

Converting GIF to JPG turns an animation into a single still image — the first frame — because a JPG holds exactly one picture. Drop the file above and it converts inside your browser, free and without an upload. The result is usually much smaller, and any transparency is filled with a colour you can choose.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. JPG cannot hold everything a GIF can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Only the first frame is converted; an animated GIF becomes a still image.

Up to 100 files at once. Mixed formats are fine.

What GIF to JPG actually does

A generated landscape with a low sun and three ridges, used to show what JPEG does to continuous tone. Shown as GIF.

GIF36 KB

A generated landscape with a low sun and three ridges, used to show what JPEG does to continuous tone. Shown as JPG.

JPG9 KB4.2× smaller

A photographic scene — smooth gradients, soft edges, grain. This is the case JPG is designed for or against, and the figures show which. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.
A generated badge: a circular gradient on a transparent background with a white bar across it, used to show what each format does with transparency and with hundreds of shades. Shown as GIF.

GIF8 KB

A generated badge: a circular gradient on a transparent background with a white bar across it, used to show what each format does with transparency and with hundreds of shades. Shown as JPG.

JPG6 KB24% smaller

A transparent background and a gradient across the shape. JPG either keeps both, keeps one, or fills the transparency with a solid colour — which is the difference that catches people out. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.
A generated application window with a sidebar, a table and a bar chart, used to show what JPEG does to flat colour and hard edges. Shown as GIF.

GIF6 KB

A generated application window with a sidebar, a table and a bar chart, used to show what JPEG does to flat colour and hard edges. Shown as JPG.

JPG16 KB2.6× larger

Flat colour and hard edges, as in an interface, a chart or a logo. Very different behaviour from the photograph above, and the reason the answer is "it depends what is in the file". Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

An animation has to become one moment

This is the thing to know before converting. A GIF can hold hundreds of frames; a JPG holds one picture and has no mechanism for a second. So the conversion picks the first frame, which is the only choice that does not involve guessing which moment you meant.

That is often not the frame people want. Animations frequently open on a blank or near-blank lead-in, so the still can look like nothing happened. If a specific moment matters, this is not the tool: convert the GIF to a video and pause where you want, or use an editor that shows you the frames. A converter takes one file and returns one file, and choosing between three hundred moments is not something it can do from the file alone.

Why the result is usually much smaller

Two things shrink at once. Discarding every frame but one removes most of the file by itself — a three-second animation is dozens of images and you are keeping one. Then JPG compresses that single image with a scheme built for photographs, which is generally more efficient than GIF at the same visual quality.

The exception is worth naming because it is common. If the GIF is a chart, a logo, a screenshot or anything made of flat colour and hard edges, JPG is the wrong target: it will smear the edges and may not save much. PNG or WebP handle that kind of image far better, and WebP will also keep the transparency.

Quality, starting from an already-reduced image

A GIF has been through a colour reduction to at most 256 colours before it ever reached you. That is a real loss and it has already happened, so the JPG is not compressing an original — it is compressing something that was simplified once already.

In practice this is invisible for a thumbnail or an avatar and noticeable if the GIF contained text. You can raise the quality setting under the result, which reduces the softening around edges without removing it. Converting the JPG back to GIF afterwards recovers nothing; each step only removes.

Transparency has to be filled in

GIF can mark pixels as transparent and JPG cannot — the format has no alpha channel at all. So anything see-through becomes a solid colour, white unless you choose otherwise in the settings under the result.

That default is right most of the time and wrong in one memorable case: a white or pale graphic on a transparent background becomes invisible. If you can see the shape in a preview but not in the JPG, this is why. Pick a contrasting fill colour, or convert to PNG or WebP instead, both of which keep the transparency intact.

How to get the frame you actually wanted

Since this takes the first frame, the useful trick is to change which frame is first. Any GIF editor will trim the lead-in, and once the moment you want sits at the front, this conversion hands it to you.

The other route is to convert the GIF to MP4 and take a still from the video, where a timestamp can be named. That is two steps instead of one, and it is the only way to reach frame 147 of 300.

The dimensions are fixed by the GIF

The JPG comes out at exactly the size of the GIF. Animations are frequently small — 480 pixels wide is still common, because back when the format took hold every extra pixel was multiplied across every frame.

So a still taken from one is small, and enlarging it afterwards will not add detail the GIF never had. If the picture needs to be large, the GIF is the wrong source and the original video or photograph is the right one.

A GIF that was never animated

Plenty of GIFs hold a single frame: old site graphics, images in email templates, exports from software that offered nothing else. For those, none of the frame-choosing applies and this is simply a change of format.

What still applies is the colour reduction that happened when the GIF was made, and the question of whether JPG is the right target at all. A single-frame GIF is usually a graphic rather than a photograph, and graphics belong in PNG or WebP.

Metadata, and the little of it there is

GIF has no EXIF. The specification includes a comment block that almost nothing writes and almost nothing reads, and that is the entire extent of it.

So there is nothing here to carry across and nothing to strip. The JPG comes out with no date, no device and no coordinates, because the GIF never had them to give.

Converting several at once

Drop a folder and each GIF gives up its first frame; the results come back as a ZIP. That suits the common case of turning a set of animations into thumbnails.

The decoding, the frame selection and the JPG encoding all run in your browser. Nothing is uploaded, so there is no queue behind anybody else and no daily allowance to spend; the batch itself stops at 100 files at once.

How to turn a GIF into a JPG

  1. Drop your GIF onto this page, or click to choose one.
  2. The first frame is decoded and encoded as a JPG, in your browser.
  3. Download the JPG, or change the quality and background colour under the result.

GIF vs JPG: one frame, sixteen million colours

GIF compared with JPG
GIFJPG
Full nameGraphics Interchange FormatJPEG Image
File extension.gif.jpg, .jpeg, .jpe
Media typeimage/gifimage/jpeg
CompressionLossless — nothing is discardedLossy — file size is bought with quality
First published19871992
Published byCompuServeJoint Photographic Experts Group
SpecificationGIF89aITU-T T.81
LicensingOpen standardOpen standard
Standing todayLegacy, still read everywhereCurrent
Bit depth88
Colour it can describeindexed paletteRGB, greyscale, YCbCr
Largest image65,535 px per side65,535 px per side
Opens in a browserEvery browserEvery browser
Considered insteadWebP, MP4WebP, AVIF, HEIC

What is lost

JPG has no alpha channel. A transparent GIF comes out with those areas filled in — white unless something else is set — and no setting in JPG brings the transparency back.

JPG holds a single still image. An animated GIF keeps its first frame and loses the rest, so a conversion is a way to take a still out of one, not a way to move it.

Opening the result

GIF dates from 1987 and is largely superseded. JPG is what current software writes, so the conversion is as much about staying readable as about the file itself.

GIMP and Adobe Photoshop read both GIF and JPG, so there is a way to check the result against the original without a second tool.

File size and quality

The file gets substantially smaller, and it gets smaller by discarding detail. GIF keeps everything; JPG keeps what the eye is poor at noticing. On a photograph that trade is close to free; on text, a screenshot or a line drawing it is visible as haloing around the edges.

What each format is for

GIF is CompuServe's format, published in 1987. It records 8 bits per channel.

JPG comes from Joint Photographic Experts Group and dates from 1992, specified as ITU-T T.81. Adobe Photoshop, GIMP and Preview all read it.

GIF to JPG: common questions

Which frame of the animation do I get?

The first. A JPG holds exactly one picture, so an animation has to be reduced to a single moment, and the first frame is the only one that can be chosen without guessing what you meant. If the frame you want is somewhere in the middle, a converter is the wrong tool — you need something that lets you scrub through and pick, or you need to convert the GIF to a video and take a screenshot.

Will the JPG be smaller than the GIF?

Usually yes, and often dramatically, because you are discarding every frame but one. Even against a single-frame GIF, JPG generally wins on photographic content. Against a GIF of flat colour — a logo, a chart, a diagram — JPG is the wrong target and will look worse at a similar size. PNG or WebP are better for those.

What happens to the transparent background?

It is filled in, because JPG has no way to store transparency. White is the default and you can change the colour in the settings under the result. If the transparency needs to survive, convert the GIF to PNG or WebP instead — both keep it.

Does the image get worse?

A little, and from an unusual starting point. A GIF has already been reduced to at most 256 colours, so it is not a pristine original; JPG then compresses it again in a way that is designed for photographs. The result is usually fine for a thumbnail and visibly soft if the GIF contained text or hard edges.

Is the file uploaded?

No. The GIF is decoded and the JPG encoded inside your browser, so nothing is sent anywhere. There is no account and no daily allowance; a batch runs to 100 files at once.

More about these formats

Where these figures come from

The claims this page makes about GIF and JPG are checkable, and these are the documents that settle them.