PNG to GIF Converter
Upload a PNG 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 PNG to GIF Converter?
PNG to GIF converts PNG images into the GIF format. GIF uses a palette of up to 256 colours with lossless LZW compression, which works well for flat-colour graphics, logos, and icons. Detailed or photographic PNGs are reduced to 256 colours during conversion.
This converter decodes your PNG with the browser's image engine, reduces the colours to a 256-entry palette using median-cut quantization, then builds a standard GIF89a file. Transparency is flattened onto white because this converter writes a flat (non-transparent) GIF. Nothing is uploaded to a server.
How to Use PNG to GIF Converter
Drop a PNG 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
- Converting a flat-colour PNG logo or icon into a compact GIF.
- Producing a GIF from a PNG for tools that require the GIF format.
- Creating a single-frame GIF from a PNG graphic.
- Reducing a simple PNG to a 256-colour GIF.
Example Input and Output
A flat-colour PNG icon converts to a compact 256-colour GIF.
icon.png (40 KB, PNG)icon.gif (12 KB, 256-colour GIF)How This Tool Works
The browser decodes the PNG to canvas pixels, composites transparency onto white, median-cut quantization builds a ≤256-colour palette, the 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.

