GIF and PNG compared
Both formats are lossless, so the pixels in your PNG are exactly the pixels that were in the GIF. The difference is what each format is allowed to hold, as laid down in the GIF89a and PNG specifications:
| GIF | PNG | |
|---|---|---|
| Colors | A color table of up to 256 entries per image | Truecolor with 1 to 16 bits per sample, or indexed color |
| Transparency | One table entry is marked transparent, so a pixel is either fully see-through or not | An optional alpha channel with partly transparent pixels, so soft edges and shadows work |
| Animation | Yes, in frames | No, the converter writes a still image |
| Compression | LZW, lossless | Lossless, "filtering and compression should preserve all information" |
| Saving after edits | Back down to 256 colors | Every color and soft edge is kept |
That 256-color table is the reason GIF photos look grainy: the encoder has to pick 256 colors for the whole frame and dither the rest. Converting to PNG does not add the missing colors back, but it stops the loss from getting worse. Once the image is a PNG, you can edit it, add a drop shadow with real transparency and save it as often as you like without a new round of color reduction.
What the converter does with each kind of GIF
| Your GIF | Your PNG |
|---|---|
| Still image, opaque | The same pixels, as a lossless PNG |
| Still image with a transparent color | Those pixels become fully transparent in the PNG; all others stay opaque |
| Animated | A still PNG of the first frame |
| Several files at once | One PNG per GIF, all in one ZIP if you want |
Transparency in a GIF has hard edges, because the GIF89a specification marks a single color index as transparent and tells the decoder to leave those pixels untouched. The PNG keeps that exactly: on or off per pixel, nothing in between. If an old logo has a jagged white fringe on a dark background, that fringe was baked into the GIF; the background remover can cut it out afterwards.
Good reasons to convert
- Old logos, icons and clip art stored as GIF open in any design tool as PNG, and you can add soft shadows or more colors without the 256-color limit.
- Poster images: a still PNG of the first frame of an animated GIF makes a clean preview for a slide, an email or a link image, where the animation would distract or not play at all.
- Upload forms and editors that take PNG but not GIF.
- A first step to other formats: once you have the PNG, the PNG to JPG converter makes a small photo file and the PNG to WebP converter a small web file.
Once converted, crop the frame with the image cropper or scale it with the image resizer. For a small file to share, the image compressor is the next step.
Steps
- 1Drop your GIF files on the box. Animated ones work too.
- 2Each GIF becomes a PNG right away, showing the first frame of an animation.
- 3Save the PNG files one at a time or as a ZIP.
Sources
- GIF89a specification: color table size, transparent color index, LZW compression
- W3C: PNG Specification: lossless storage, alpha channel, sample depths from 1 to 16 bits
Guide on this topic
Frequently asked questions
What happens to an animated GIF?
You get a still PNG of the first frame. That is handy for a preview image, a thumbnail or a slide where the animation would distract. The PNG does not move.
Is the transparency kept?
Yes. GIF transparency is either fully on or fully off for each pixel, and PNG keeps those transparent pixels exactly as they were.
Will the PNG look better than the GIF?
It looks the same. A GIF is limited to 256 colors, and converting cannot add colors that are not there. What you gain is a lossless file that you can edit and save again without new limits.
Can I convert several GIFs at once?
Yes, it works as a batch converter. Drop as many as you like and download them all in one ZIP when they are done.
Will the PNG be bigger than the GIF?
Often, yes, but not always. Both formats are lossless, so neither throws pixels away; they just pack them differently. A flat-color logo usually stays small either way. A photo-like GIF with lots of dithering can grow as a PNG. If the size matters more than the format, run the PNG through the image compressor and save it as WebP.
Can I get every frame of an animated GIF?
No. This converter saves the first frame only, which is what you need for a poster image or a thumbnail. For a still from a later moment, take a screenshot while the GIF plays in your browser, at the moment you want, and crop that instead. Browsers cannot pause a GIF, so it may take a few tries.
Are my files uploaded?
No. The GIFs are opened and saved as PNG by your browser, on your device.