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.
Frequently Asked Questions
Is my PNG 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 PNGs are reduced to a 256-colour palette. Flat-colour graphics convert with little visible change.
Does the GIF keep transparency?
No. This converter produces a flat GIF, so transparent areas are composited onto white.
Will the GIF be animated?
No. The converter produces a single-frame GIF from the PNG.
Related Tools
PNG to JPG Converter
Convert PNG images to compressed JPG files directly in your browser. Free, no upload, no signup.
PNG to BMP Converter
Convert PNG images to uncompressed BMP bitmaps directly in your browser. Free, no upload, no signup.
GIF to PNG Converter
Convert GIF images to lossless PNG 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 GIF Converter
Convert BMP bitmap images to GIF format directly in your browser. Free, no upload, no signup.

