JPEG to GIF Converter
Save a JPEG photo as a still GIF, in your browser.
or drop files here
JPEG Format
JPEG image
The photographic JPEG format; .jpg and .jpeg are equivalent filename endings.
- lossy compression
- adjustable quality
- no alpha transparency
- supported everywhere
GIF Format
Graphics Interchange Format
A palette-based image format with LZW storage and optional timed frames.
- 256-color palette per frame
- lossless LZW compression
- animation
- 1-bit transparency
How to convert JPEG to GIF
Follow these steps to convert JPEG to GIF online.
Choose your JPEG file, or several at once.
Wait while the converter turns each file into GIF.
Download each new GIF file. Your original file isn't changed.
Related Tools
GIF to JPEG
Convert GIF images to JPEG format
JPEG Compressor
Compress and optimize JPEG files
JPEG to ICO
Convert JPEG images to ICO format
JPEG to JPEG
Convert JPEG images to JPEG format
JPEG to JPG
Convert JPEG to JPG format
JPEG to KTX2
Convert JPEG to KTX2 format
JPEG to PCX
Convert JPEG to PCX format
JPEG to PGM
Convert JPEG to PGM format
JPEG to PPM
Convert JPEG to PPM format
JPEG to PSD
Convert JPEG to PSD format
JPEG to TGA
Convert JPEG images to TGA format
JPEG to TIF
Convert JPEG images to TIF format
JPEG to TIFF
Convert JPEG images to TIFF format
AV1 to GIF
Convert AV1 files to GIF format
BMP to GIF
Convert BMP images to GIF format
GIF Compressor
Compress and optimize GIF files
CR3 to GIF
Convert CR3 images to GIF format
DNG to GIF
Convert DNG images to GIF format
FLV to GIF
Convert FLV files to GIF format
M2TS to GIF
Convert M2TS files to GIF format
MOV to GIF
Convert MOV files to GIF format
RMVB to GIF
Convert RMVB files to GIF format
SWF to GIF
Convert SWF files to GIF format
TS to GIF
Convert TS files to GIF format
Before converting JPEG to GIF
- The GIF is a single still frame. The page does not build an animation.
- A GIF image has a limited palette, so photographs can look banded.
- Camera data such as EXIF and the color profile are not copied.
- Several JPEGs give several separate GIFs, not one slideshow.
JPG to GIF: formats and alternatives
What is a JPEG file?
Joint Photographic Experts Group is the committee behind JPEG, and it began in 1986. Lossy compression is the baseline design: a transform and Huffman coding are applied to every 8x8 pixel block, which ordinarily leaves a tenth to a twentieth of the raw size. Color channels get 8 bits, and without an alpha channel a JPEG simply cannot hold transparency. A progressive variant lets a rough version of the picture show first.
Most cameras and scanners write the format directly. You can write the extension as .jpg or .jpeg, since they mean one thing, and the media type is image/jpeg. Browsers all display it, and the final US patents lapsed on 27 October 2006.
Programs that open JPEG files
- Windows, Mac and Linux: ImageMagick reads a JPEG from a terminal, and GIMP imports it for editing.
- Web: Google Chrome and Mozilla Firefox display JPEG.
- Mobile: Chrome and Safari display JPEG.
GIF is displayed by the same browsers, on phones as well as computers. GIMP exports GIF as a still picture or a multilayer animation, and ImageMagick reads GIF.
JPEG and GIF compared
- Extensions: .jpg and .jpeg are image/jpeg. A GIF is image/gif.
- Colors: 8 bits per channel for a JPEG, against a GIF image restricted to a palette.
- Compression: JPEG is lossy. GIF is lossless, but mapping a photograph onto a palette discards distinctions first.
- Transparency: JPEG has none. A GIF can make a palette color fully clear, with no partial opacity.
- Animation: GIF can hold many frames, while JPEG is one picture.
- Layers: neither format stores an editable layer stack.
The JPEG is decoded by your browser, and the GIF is then written by ImageMagick inside the page. The result is a single still frame, not an animation, and several JPEGs give several separate GIFs rather than a slideshow. Nothing is uploaded, because the conversion stays in your browser. The page sets no palette options and passes no quality setting. Camera data such as EXIF and the color profile do not carry over. Detail that JPEG compression removed does not come back in the GIF, and the palette adds a further limit on color. The download keeps your file's name with a .gif ending.
Other ways to convert JPEG to GIF
- GIMP: on Windows, Mac or Linux, open the JPEG, go to File > Export As, save it as a GIF and confirm the options in the GIF Export dialog. GIMP exports at most 256 colors, which can change gradients.
- ImageMagick (command line): run
magick photo.jpeg photo.gif. It gives a still GIF and does not build an animation.
The GIF Export dialog in GIMP has an Interlace option and a Save comment option, and when the image has several layers it offers As animation, with controls for the delay between frames, the number of repeats and looping forever. ImageMagick suits scripts and whole folders. Both give a still GIF from a single JPEG. Animation takes a separate step in an editor that supports layers or frames, and GIMP's As animation option stays disabled for an image with only one layer.
Problems with JPEG files
- Transparent pixels cannot be kept: transparency is impossible to store in a JPEG, so a background you want clear has to be removed in an editor before you save a GIF.
- Quality numbers do not match across programs: the same 0 to 100 setting can give different compression and appearance in different editors, so compare the result rather than the number.
- Some older photo frames reject progressive JPEG: if a device will not show a file, try saving it again with progressive mode turned off.
- Gradients change in the GIF: smooth areas such as a sky have to be mapped onto a small palette, and GIMP warns that this can change gradients.
- Layers are not kept: a JPEG has no layers to edit later, so save the project file as well.
- Camera details are gone after converting: EXIF is left behind by this page. Keep the JPEG if you need the date, camera or location data.
- No animation came out: the page converts one picture. To animate several images, build the frames as layers in GIMP and export a multilayer animation.
Frequently Asked Questions
Everything you need to know about our converter
How do I save a JPEG as a GIF?
Will the GIF be animated?
Why does the GIF look worse than my JPEG?
Is my JPEG uploaded anywhere?
Does the GIF keep the JPEG's EXIF data?
Can I make the background transparent?
Are .jpg and .jpeg handled the same?
Does the page let me choose the palette?
What is the downloaded file called?
Can I use ImageMagick instead?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.