How to use it
This PNG to GIF converter turns a PNG, which can carry millions of colors and smooth transparency, into a GIF that works with at most 256 colors and one-bit transparency. Colors are reduced to a palette automatically and transparent areas are kept, but partially transparent pixels become either fully visible or fully transparent. It suits logos with few colors, icons and older platforms that insist on GIF. The result is a single, still frame.
From millions of colors to 256: how the palette works
A PNG can store the exact color of every pixel. A GIF first builds a palette of up to 256 colors tailored to the image, then maps each pixel to the closest palette entry. If the image already has few colors, such as a two-color logo or a flat icon, the process is close to lossless. As the color count climbs, two side effects appear:
- Banding: smooth transitions such as skies, shadows and gradients split into visible stripes of color.
- Dithering: pixels of different colors are scattered side by side to imitate the missing in-between shades. From a distance the gradient looks smooth; up close it turns grainy.
That is why photos rarely look good as GIF. Because dithering is hard to compress, a GIF of a photo can even end up larger than the lossless PNG. For photographs, use JPG or the PNG to WebP converter instead.
One-bit transparency: halos and jagged edges
The edges of a logo in a PNG are usually smoothed with semi-transparent pixels that blend into whatever sits underneath. In a GIF, a pixel is either fully transparent or fully opaque, so during conversion those in-between pixels get pushed to one extreme. A few typical problems follow:
- Jagged edges: with the smoothing gone, curves and diagonals look like a staircase.
- Halos: if the PNG was once prepared on a light background and its edge pixels were blended with that color, a thin pale outline appears when the GIF sits on a dark page. The reverse also happens: edges blended against dark look dirty on a light page.
- Lost shadows: soft drop shadows and glows either vanish or turn into a hard smear.
Prepare the PNG before converting
A few minutes of preparation pays off. If you know the background color of the page where the GIF will appear, place the PNG over a layer of that color in an editor and remove transparency altogether; edge pixels then blend into the right color and both halo and jaggies disappear. If the background varies, strip out shadows and glows and keep anti-aliasing simple. Turning gradients into a few flat bands prevents banding and shrinks the file. And if the image is larger than needed, scale it down first with the image resizer; with GIF, fewer pixels means a much smaller file.
How to convert PNG to GIF
- Select your PNG or drag it onto the upload area.
- Add any other images to the queue; up to 20 files can wait at once.
- Press Convert. Colors are reduced to a palette and encoded as GIF.
- Download the GIF and check its edges against the background it will be used on.
| PNG | GIF | |
|---|---|---|
| Colors | Millions | Up to 256 |
| Transparency | 256-level alpha | One bit |
| Result on a photo | Lossless but large | Quality drops, file often still large |
| Result on a flat logo | Small and crisp | Similar size, stepped transparent edges |
| Animation | No | The format allows it; this tool outputs one frame |
Where GIF is still required
In most cases PNG or WebP is the better choice today. Even so, some forum software, signature fields, old email templates, corporate intranets and device interfaces accept GIF only. If you have the frames of an animation, note that this tool makes one single-frame GIF from one PNG; it does not combine several PNGs into an animated GIF. Should you need to go the other way, the GIF to PNG converter carries the colors back losslessly, but it cannot restore shades lost during palette reduction.
Privacy
Your PNG is uploaded to our server, converted to GIF within the same request and sent back to you; no copy is kept and nothing is shared. Each file must stay within 24 MB and 50 megapixels. Files whose content does not match the extension are rejected. Nothing to pay, nothing to register.