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.

