IMAGE→GIF local · no upload

Format guide · PNG → GIF

PNG to GIF

PNG is lossless and supports full alpha. GIF is indexed and supports one transparent color. That difference matters for logos, stickers, and cut-outs: hard edges survive, soft shadows do not. Convert a PNG here when a platform requires GIF, or when you want to animate several PNG frames.

  • PNG
  • 1-bit transparency
  • No upload
  • No sign-up

Read the transparency notes before using a logo.

Local GIF encoder GIF89a
ready nothing uploaded
or paste an image with Ctrl/⌘ + V

What changes when a PNG becomes a GIF

PNG can store millions of colors plus an alpha channel with partial transparency. GIF stores an indexed palette of at most 256 colors and a single transparent index. The converter builds a palette from the PNG, maps each pixel to it, and reduces transparency to on or off.

For a flat logo with a hard edge, that is often fine: the shape survives, the colors are close, and the file stays small. For a product cut-out with a soft shadow, a glow, or hair, the loss is visible. The semi-transparent pixels have to become either solid or fully transparent.

PNG transparency vs GIF transparency

The practical fix is to decide what the GIF will sit on. If it will be placed on a white page, flatten the PNG onto white before converting. If it will be placed on a dark chat background, flatten it onto that color. The edge then blends into a known background instead of producing a light fringe.

The converter's Background setting controls this. Auto uses transparency when the first image has alpha and white otherwise. You can also choose transparent, white, black, or a custom color.

PNG vs GIF at a glance

PropertyPNGGIF
ColorsUp to 16.7 million per image256 per frame, indexed
TransparencyFull 8-bit alpha1-bit, one transparent index
AnimationAPNG (separate format)GIF89a
CompressionDeflate, losslessLZW, lossless per frame
Best forLogos, UI, full-alpha imagesStickers, simple loops, compatibility

When PNG to GIF makes sense

When to use APNG or WebP instead

If the destination supports modern formats, APNG or animated WebP can keep full alpha and more colors, often at a smaller size. GIF is the fallback for compatibility, not the best format for a high-quality cut-out. Read GIF vs WebP vs APNG for the trade-offs, or Transparent GIF: what works and what doesn't for edge cases.

How the conversion works

  1. Add a PNG or several. One PNG makes a still GIF. Add several to build an animation. A PNG with an alpha channel is automatically given a transparent GIF background.
  2. Check the transparency. GIF keeps one fully transparent color, not partial alpha. Soft shadows and semi-transparent edges will become hard edges or take the background color.
  3. Encode and download. The PNG is quantized to a GIF palette and encoded in a Web Worker. The file never leaves your device.

Related pages

PNG to GIF FAQ

Does PNG transparency survive a GIF conversion?

Partly. GIF supports one fully transparent color, so hard-edged transparency (a logo on a plain background) survives. Partial alpha, soft shadows, and semi-transparent glows do not; they become hard edges or blend into the chosen background.

Why does my transparent PNG get a fringe or halo?

Anti-aliased edges contain partially transparent pixels. GIF must make each pixel fully visible or fully transparent, so the edge is simplified. A light fringe can appear when the original was designed for a dark background. Flattening the image onto the final background color before converting usually looks cleaner.

Can I convert several PNGs into one animated GIF?

Yes. Add up to 30 PNG files, reorder them, set the frame delay, and choose whether the GIF loops. The first image sets the output aspect ratio.

Should I use PNG or GIF for a still logo?

For the web, PNG is usually the better choice: it keeps full alpha and lossless color. GIF is useful when a platform requires GIF or when the same file must also work as an animation.

When should I use APNG or animated WebP instead?

If you need full alpha, more colors, or a smaller animated file and the destination supports modern formats, APNG or animated WebP is technically better. GIF remains the safest choice for old chat apps, forums, and upload fields that reject other formats.

Are my PNG files uploaded?

No. The files are decoded and encoded in this browser tab. There is no upload endpoint and no server-side copy.

image-to-gif.com converts images to GIF in the browser; files are never uploaded.