GIF to PNG: How to Keep Transparency (and What Happens to Animated GIFs)

To convert a GIF to PNG and keep its transparency, open GIF to PNG, choose your GIF and download the PNG. We tested it with a GIF that had a transparent background: the PNG came out transparent too. An animated GIF becomes a single PNG of its first frame, not an animation.

What we tested

Before writing this we ran the converter on test files rather than assume:

For comparison, the same GIF converted to JPG shows a white background where it was transparent, because JPG can't hold transparency. If you need to keep transparency, pick PNG, not JPG.

GIF and PNG: what's different

The consequence is that converting a GIF doesn't smooth its edges. If the transparent area of your GIF has jagged, stair-stepped edges, the PNG keeps them, because the partly transparent pixels were never in the GIF to begin with. To get soft edges you need the original artwork, or you have to retouch the PNG in an image editor.

How to convert GIF to PNG

  1. Open GIF to PNG.
  2. Click to choose your GIF, or drop it on the page. Free accounts take files up to 25 MB.
  3. Start the conversion.
  4. Download the PNG and open it on a colored background or in an editor to check that the transparent area is still transparent. Many image viewers show transparency as white or a checkerboard.

Convert your GIF to PNG now →

Pro accounts can convert up to 20 GIFs at once and download them as a ZIP.

If your GIF is animated

The converter takes the first frame only. If you need a different frame, the tool can't pick it. Your options:

When to choose WebP instead of PNG

PNG is lossless, so files of photos and gradients can be large. For a still picture on a website, PNG to WebP can make a smaller file, and WebP supports transparency. If the file just needs to be smaller, run the PNG through Compress Image. For the full comparison, see JPG vs PNG vs WebP.

Troubleshooting

The background is white, not transparent. You may be looking at a viewer that shows transparency as white. Place the PNG on a colored background to check. If it really is white, the GIF had a white background rather than a transparent one.

I got only one frame. That is how the converter handles animated GIFs. Use GIF to WebP to keep the animation.

The edges look jagged. GIF transparency has no soft edges, and the PNG keeps what the GIF had. Use the original artwork if you have it.

The PNG is bigger than the GIF. That is normal for some pictures. Compress it, or use WebP.

"The file can't be read." The GIF may be damaged. Try opening it in a browser.

FAQ

Does GIF to PNG keep the transparent background?

Yes, in our test the PNG kept the transparent background of the GIF.

What happens to an animated GIF?

You get a single PNG of the first frame. The animation is not kept.

Can I convert a PNG back to GIF?

Yes, with PNG to GIF. A GIF can't hold more than 256 colors, so a photo-like PNG will lose color detail.

Is it free?

Yes. You can run 2 jobs a day without an account and 10 a day with a free account. Pro removes the daily limit and ads for $4 a month or $38.40 a year.

Are my files kept?

The uploaded file is deleted when the job is done. The result is kept for 7 days so you can download it.

Ready? Open GIF to PNG and drop your file in.