↑↓ to move ↵ to open Esc to close Browse all tools

GIF to PNG

Turn a GIF, or the first frame of an animated GIF, into a lossless PNG you can edit and use anywhere.

Embed

Convert GIF to PNG

Smaller fileBest quality
JPG has no transparency, so see-through parts get this color.

Your files are converted by your own browser. Nothing is uploaded.

Saved you time? Buy me a coffee

GIF to PNG by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

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:

GIFPNG
ColorsA color table of up to 256 entries per imageTruecolor with 1 to 16 bits per sample, or indexed color
TransparencyOne table entry is marked transparent, so a pixel is either fully see-through or notAn optional alpha channel with partly transparent pixels, so soft edges and shadows work
AnimationYes, in framesNo, the converter writes a still image
CompressionLZW, losslessLossless, "filtering and compression should preserve all information"
Saving after editsBack down to 256 colorsEvery 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 GIFYour PNG
Still image, opaqueThe same pixels, as a lossless PNG
Still image with a transparent colorThose pixels become fully transparent in the PNG; all others stay opaque
AnimatedA still PNG of the first frame
Several files at onceOne 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

  1. 1Drop your GIF files on the box. Animated ones work too.
  2. 2Each GIF becomes a PNG right away, showing the first frame of an animation.
  3. 3Save the PNG files one at a time or as a ZIP.

Sources

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.