PNG to GIF Converter

png → gif

Turn PNG images into GIF files. Your browser reduces each one to a 256 colour palette and writes the file in this tab, so nothing is uploaded.

QueueNothing is uploaded
Drop PNG files here
Converting…

About this PNG to GIF converter

The converter draws each PNG on a canvas at its original width and height, works out the 256 colours that suit that image best, and writes a GIF89a file around them. Logos, line art and screenshots come through well, because flat colour is what GIF compression was built for.

The two formats treat transparency differently. A PNG stores an alpha value for every pixel, while a GIF carries one fully transparent colour instead. A pixel whose alpha is below 128 becomes that transparent colour, and a partly transparent pixel is composited onto white.

The GIF is assembled by this page rather than by the browser, which has no GIF encoder of its own. Nothing is downloaded to do it: the palette, the LZW compression and the file itself all happen in this tab.

How to use it

01

Add PNG files

Drop them on the box above or click Select PNG files. You can add several at once.

02

Convert

Click Convert to GIF. The files are converted one at a time, and each row shows its status.

03

Check the size

A finished row shows the size of the PNG and, after the arrow, the size of the GIF.

04

Download

Use Download on a row to save one file, or Download all (ZIP) to save every finished file.

What it does

  • Your browser converts the files. They are not uploaded to a server.
  • Builds the palette from your own image by median cut, instead of forcing it onto a fixed set of colours.
  • Keeps a transparent background as the one fully transparent colour a GIF can hold.
  • Writes a real GIF89a file, LZW compressed, at the original width and height.
  • Works through a queue one file at a time, with a Download button on each finished row.
  • Needs no account and has no daily limit.

Specifications

Specification Details
Tool PNG to GIF converter
Input PNG images (.png), up to 100 MB each
Output GIF89a, a single frame, at the original width and height
Colours Up to 256, chosen from your image by median cut, with no dithering
Transparency One fully transparent colour. A pixel under 128 alpha takes it, a partly transparent pixel is composited onto white.
Compression LZW, written by this page
Libraries JSZip 3.10, from the cdnjs CDN, only for Download all (ZIP)
Where your files go Nowhere. They stay in this tab's memory.
Good to know

What this converter does not do

It writes one still frame with a 256 colour palette, which is as much as GIF can hold. Some jobs are better served elsewhere.

No animation

Each PNG becomes a one frame GIF. Assembling several images into an animation is not something this page does.

No soft edges

A GIF pixel is either opaque or fully clear. The soft shadow or anti-aliased edge a PNG fades out is composited onto white, so a logo drawn for a dark background will show a pale fringe.

256 colours at most

Flat colour art fits inside that. A photograph saved as PNG does not, and its smooth gradients will band.

No dithering

The palette is applied straight, without scattering pixels to imitate the missing colours, so banding stays visible rather than being traded for noise.

No resizing

The GIF keeps the pixel dimensions of the PNG. To change them, use Image resizer.

Related image tools

Frequently asked questions

No. Your browser decodes each PNG and this page writes the GIF inside the same tab. The only download is JSZip, from the cdnjs CDN, and only if you use Download all (ZIP).

It stays clear. A GIF carries one fully transparent colour rather than an alpha channel, so every pixel with an alpha below 128 is mapped to that colour. Pixels that were only partly transparent, such as a soft edge, are composited onto white.

For flat colour work such as logos, line art and screenshots it often is, because GIF compression suits large areas of one colour. A photograph saved as PNG usually comes out larger, and Image compressor will do more for it.

GIF holds at most 256 colours. A photograph usually contains thousands, so the converter picks the 256 that suit it best and maps every pixel to the nearest one. Smooth skies and gradients show that as bands.

No. Each file becomes its own single frame GIF. This page converts images one by one rather than assembling an animation.

Your images stay on your device

Your browser decodes each PNG and this page builds the GIF in the same tab. The images are not uploaded, and no request carries them anywhere.