Skip to content

GIF to PNG converter

Turn a GIF into a PNG with its transparent background kept. Pick any frame of an animated GIF, or save every frame as PNGs in one ZIP.

GIF → PNG · lossless · transparency kept

805 bytes GIF · 24 × 24 px · 8 frames

How to convert a GIF to PNG

  1. Choose your GIF, or drag it onto the box. It is converted in your browser, so nothing is uploaded.
  2. Pick the frame with the slider if the GIF is animated. The checkerboard behind the preview shows which parts are see-through.
  3. Download the PNG, or download all frames at once as a ZIP.

Nothing is lost on the way: PNG is lossless, so every pixel in the PNG has exactly the colour it had in the GIF frame.

Does PNG keep the transparent background?

Yes. This is the main reason to pick PNG over JPG, which has no transparency and fills see-through parts with a colour. Stickers, logos and emoji from a GIF stay cut out as PNGs, ready to drop onto any background.

The edges stay exactly as they were. A GIF pixel is either fully see-through or fully solid, so GIF edges are hard and can look jagged on a dark background, sometimes with a pale fringe left over from the background the GIF was made for. PNG can store soft, half-see-through edges, but converting cannot invent them: the PNG keeps the GIF's hard edges, fringe and all.

Getting every frame of an animated GIF as PNG

An animated GIF is a stack of still pictures shown one after another. Splitting it into PNGs is how you edit one frame, build a sprite sheet for a game, make a sticker set, or put the steps of a demo into slides. Each frame comes out as the full picture you see at that moment, even when the GIF stores only the part that changed.

Example: the loading spinner in the tool

The example GIF is a 24 × 24 spinner with 8 frames of 0.1 s each, on a transparent background. Click All 8 frames (ZIP) and you get spinner-frame-1.png to spinner-frame-8.png: eight 24 × 24 PNGs, each with the dots in a new position and the background still see-through.

Result: 8 frames × 0.1 s = 0.8 s, so to rebuild the animation elsewhere, show each PNG for 0.1 s.

Why is the PNG bigger than the GIF?

A GIF stores each pixel as a number pointing into its list of up to 256 colours. Browsers, this tool included, save PNGs in full colour with a transparency value for every pixel, which is about four times as much information before compression. So the PNG of one frame can be larger than the GIF frame it came from, even though it looks identical.

If size matters, run the PNG through a PNG optimiser, or save it as an 8-bit or indexed PNG in an image editor. That turns it back into a 256-colour picture like the GIF, and PNG's compression usually makes it smaller than the GIF was.

GIF vs PNG: which should you use?

GIF and PNG compared
GIFPNG
AnimationYes, everywhereOnly as APNG, and many apps show just the first frame
ColoursUp to 256 per frameMillions
TransparencyOn or off per pixelSmooth, 256 levels per pixel
Quality lossNone within its 256 coloursNone
Best forShort animations, reactions, simple loadersLogos, stickers, screenshots, single frames

Keep the GIF while it needs to move. Switch to PNG once you need a still with a clean, see-through background, or a frame you can edit without losing quality.

Frequently asked questions

Is converting GIF to PNG lossless?

Yes. The PNG has exactly the same pixels as the GIF frame. Only the animation is lost, because each PNG holds a single frame.

Can a PNG be animated?

Yes, as an APNG (animated PNG), which current browsers play. Many other apps and sites show only its first frame, though, so GIF is still the safer choice for sharing animations. This tool saves ordinary still PNGs.

Will the PNG look sharper than the GIF?

No. It has the same pixels, so it looks the same. Enlarging it afterwards does not add detail either: a small GIF stays small and blocky.

Is my GIF uploaded anywhere?

No. The GIF is decoded and saved as PNG in your browser, so the file never leaves your device.

More GIF tools: GIF to JPG · GIF viewer · GIF to Base64

Sources