Image

PNG to GIF

Details

How to use PNG to GIF

What the tool does, how to run it, and what to expect from the result.

How to convert a PNG to GIF

Pick a PNG. It is drawn onto a white-filled canvas, which flattens any transparency, then its colors are reduced by median-cut quantisation to at most 256 palette entries and LZW-compressed into a single-frame GIF89a.

Read the palette size in the status line. A flat graphic that comes back well under 256 colors converts cleanly. A photo that hits the 256 ceiling will band, and the file will very likely be larger than the PNG you started with.

  • Pick a PNG file.
  • Accept that transparency will be flattened onto white, or flatten onto your real background color first in an editor.
  • Check the reported palette size and file size.
  • Inspect the preview for banding and for a halo around soft edges.
  • Press Download GIF, or keep the PNG if nothing downstream actually requires GIF.
Tips

Getting a better result out of PNG to GIF

Specific settings and thresholds, not general advice.

  • GIF only has 1-bit transparency: a pixel is either fully opaque or fully invisible, with nothing in between. This encoder does not even use that, and writes fully opaque frames, so every transparent and semi-transparent pixel in your PNG is composited onto white first.
  • That flattening is what ruins soft edges. A PNG logo with an anti-aliased outline has pixels at every alpha level around its border; against white they become pale halo pixels, which then show up as a visible fringe if you place the GIF on any other background.
  • The palette is capped at 256 colors and built with median-cut quantisation, with no dithering. Flat graphics survive that; photographs and gradients band.
  • The status line reports the palette size the encoder actually used. A two-color icon may come back at 4 or 8 colors and compress to a few hundred bytes; a screenshot with a gradient will hit 256.
  • For a logo with transparency, PNG is already the right format and is usually smaller. Convert to GIF only when something downstream insists on it.
Limits

What PNG to GIF does not do

The honest boundary, so you do not lose time finding it yourself.

  • Transparency is not preserved. Alpha is flattened onto white and the GIF is written fully opaque.
  • Single frame only. It does not make animated GIFs.
  • 256 colors maximum, no dithering.
  • No background color picker, no transparency index, no frame or loop controls.
Reference

Terms used on this page

Short, plain-language definitions for the formats and settings above.

At a glance

Who PNG to GIF is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Anyone converting a PNG to a GIF still.

Ideal for

Using the png to gif without installing anything or signing up.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Does the GIF keep my PNG's transparency?

No. The encoder writes fully opaque frames, so transparent pixels are composited onto white before encoding. Even a GIF that did use its transparency feature could only store 1-bit alpha, meaning fully on or fully off, which cannot represent the soft anti-aliased edge a PNG carries.

Why does my logo have a pale outline now?

That is the flattening. The anti-aliased pixels around the logo's edge were partly transparent; against white they became light-colored pixels. On a white page you would never notice. On any other background they read as a halo, and no post-processing can cleanly remove them.

How do I avoid the white halo?

Flatten the PNG onto the exact background color you will place the GIF on, using an image editor, before converting. If the background is not known in advance, GIF is the wrong format for the job and you should keep the PNG.

Will the GIF be smaller than the PNG?

For a photograph, almost certainly not, and often the opposite. For a flat graphic with few colors it can be close, but PNG's DEFLATE plus filtering usually still wins, and PNG keeps the alpha. There is very rarely a size argument for GIF over PNG on a still image.

Can I make an animated GIF from several PNGs here?

No. This encodes one still PNG into a single-frame GIF89a. It does not accept multiple files, and it writes no delay or loop blocks.

Is my PNG uploaded?

No. The PNG is decoded on a canvas, flattened onto white, quantised, LZW-compressed, and wrapped in GIF89a blocks entirely in your browser.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon