PNG to GIF Converter

Up to 20 files, max 24 MB each. Add files now and convert them one by one or all together.

Queue is empty 0 files queued | 0 MB total
Ready for up to 20 files. Queue builds instantly as you drop files.
Advertisement icyabmod — 7 sections × 10 designs and 10 color palettes: design your site yourself, preview ready in 48 hours

How PNG to GIF Converter works

Convert a PNG for platforms and legacy systems that require GIF. Practical advice on palettes, dithering, edge halos and jagged outlines, plus how to prepare the PNG first.

Input
Output
Works done 1,895

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

  1. Select your PNG or drag it onto the upload area.
  2. Add any other images to the queue; up to 20 files can wait at once.
  3. Press Convert. Colors are reduced to a palette and encoded as GIF.
  4. Download the GIF and check its edges against the background it will be used on.
PNGGIF
ColorsMillionsUp to 256
Transparency256-level alphaOne bit
Result on a photoLossless but largeQuality drops, file often still large
Result on a flat logoSmall and crispSimilar size, stepped transparent edges
AnimationNoThe 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.

Advertisement icyabmod — admin panel included: update your website yourself, no code

Frequently asked questions

It depends on the image. Logos and icons made of a few flat colors lose almost nothing visible; the main change is that transparent edges become hard. Photos, gradients and soft shadows, on the other hand, run into the 256-color limit, which causes banding or a dithered texture and a clear drop in quality. For those images, keep the PNG or convert to WebP.

Not with this tool. The converter turns each PNG into its own single-frame GIF; there is no feature for combining frames and adding timing. For an animated GIF you need animation or image editing software that can take frames as layers and assign durations. The image resizer can help you bring all the frames to the same size beforehand.

When an image has many colors, the dithering created during palette reduction strains the older GIF compression and the file grows. This happens often with PNGs containing photos or gradients. To fix it, reduce the dimensions, cut down the number of colors, or stay with PNG or WebP if GIF is not essential. With flat-color images the two formats usually end up close in size.

Images with few colors, flat areas and hard edges: simple logos, interface icons, badges, diagrams and especially pixel art. Pixel art usually has fewer than 256 colors, so it transfers to GIF without loss, and its hard edges are part of the design anyway. Images with semi-transparent shadows, glass effects or photographs suffer the most in GIF.

The palette is created automatically, but you can reduce colors on the PNG side. Run the image through the image compressor first, which reduces the color palette of PNG files. A PNG that already has fewer than 256 colors goes into GIF with exact colors and no dithering. Flattening gradients and merging near-identical shades in an editor has the same effect.