JPG to GIF Converter
Upload a JPG and download it as a GIF — converted entirely in your browser.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is JPG to GIF Converter?
JPG to GIF converts JPEG photos into the GIF format. GIF uses a palette of up to 256 colours with lossless LZW compression, which suits flat-colour images and simple graphics. For detailed photographs, the colour reduction is visible, but the file becomes a standard GIF that any tool can open.
This converter decodes your JPG with the browser's image engine, reduces the colours to a 256-entry palette using median-cut quantization, then builds a standard GIF89a file. Nothing is uploaded to a server.
How to Use JPG to GIF Converter
Drop a JPG file onto the upload area or click to browse
Wait a moment while the image is decoded and quantized
Preview the GIF result next to your original
Click Download to save the GIF
Common Use Cases
- Turning a simple JPG graphic into a web-friendly GIF.
- Converting a JPG to GIF for tools that require the GIF format.
- Creating a single-frame GIF from a JPEG image.
- Reducing a flat-colour JPG to a compact 256-colour GIF.
Example Input and Output
A flat-colour JPG converts to a compact 256-colour GIF.
banner.jpg (140 KB, JPEG)banner.gif (60 KB, 256-colour GIF)How This Tool Works
The browser decodes the JPG to canvas pixels, median-cut quantization builds a ≤256-colour palette, the pixel indices are LZW-compressed, and a GIF89a file is assembled for download.
Technical Stack
Colour reduction
Median-cut quantization builds a representative 256-colour palette. Images with fewer than 256 colours convert losslessly.
Privacy
The converter never sends your image to a server — everything happens in your browser tab.
Frequently Asked Questions
Is my JPG uploaded anywhere?
No. Decoding, colour quantization, and GIF encoding all run locally in your browser.
Why does the GIF look different?
GIF supports at most 256 colours, so detailed JPEG photos are reduced to a 256-colour palette. Flat-colour images convert with little visible change.
Will the GIF be animated?
No. The converter produces a single-frame GIF from the JPEG.
What image sizes are supported?
Any size your browser can decode. Larger images take longer because quantization runs per pixel.
Related Tools
JPG to PNG Converter
Convert JPG/JPEG images to lossless PNG files directly in your browser. Free, no upload, no signup.
JPG to BMP Converter
Convert JPG/JPEG images to uncompressed BMP bitmaps directly in your browser. Free, no upload, no signup.
GIF to JPG Converter
Convert GIF images to compressed JPG files directly in your browser. Free, no upload, no signup.
Image Converter
Convert images between PNG, JPG, WebP, and AVIF formats — with quality controls and batch conversion.
GIF to Base64
Convert a GIF image file to a Base64 string or data URI for embedding in HTML, CSS, or JavaScript.
BMP to JPG Converter
Convert BMP bitmap images to compressed JPG files directly in your browser. Free, no upload, no signup.

