GIF to PNG Converter

Add a GIF and get its first frame as a PNG, every pixel exactly as the GIF shows it.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. Which PNG settings are worth changing?

How it works
  1. The GIF's first frame is decoded
  2. Each of its pixels goes into a PNG
  3. The later frames are left out

What it does

Pixel for pixel

Even with no settings touched, the PNG shows the first frame exactly as the GIF does.

In our test GIF's first frame: 0 of 302,412 pixels changed

Clear stays clear

A see-through pixel in the GIF is still see-through in the PNG, so the picture can sit on any background.

Limits The GIF's pauses and its loop setting are dropped: a PNG is one still, and it's always frame 1.

Why is one frame of a GIF heavier as a PNG?

With no settings changed, the PNG writes the GIF's first frame in a longer hand than the GIF did. Two settings under More options fix it.

How does a GIF write down its colors?

Say you want one moment of a GIF as a picture of its own: a still to crop, to mark up, or to drop into a document. PNG is the usual home for that, because it copies pixels without changing them. What you may not expect is the size of the file.

The reason starts with how a GIF is made. A GIF is painted by numbers. Near the top of the file sits a key of at most 256 colors, and each pixel is stored as nothing more than its number on that key. The GIF we tested with loops 8 photographs of a kicking mule, taken by Eadweard Muybridge. All 8 frames share one key of 256 colors, the first frame uses 249 of them, and the GIF spends 224.2 KB on that frame.

Why does the PNG need more room for the same frame?

Because, with no settings changed, it writes every pixel out in full. The PNG your browser makes stores every pixel as four numbers: how much red, how much green, how much blue, and how see-through it is. A number on a 256-color key fits in one. It's the same picture, written longhand.

Painted by numbers, the mule's PNG shrinks to near the GIF's own frame

Frame 1 inside the GIF 224.2 KB
PNG, default settings 516.9 KB
PNG, Indexed palette 236.3 KB

File size, KB

The GIF's bar counts only the bytes that belong to its first frame, not the frames after it. How we measured

PNG can paint by numbers too. Its Indexed palette setting writes a key and one number per pixel, as the GIF did, and the mule's frame came out at less than half the size. We checked it against the GIF pixel by pixel and found 0 differences. It can't miss, because a GIF frame never holds more than 256 colors, so every color in it gets a place on the key.

That guarantee belongs to GIFs. A photo straight from a camera has far more than 256 colors, and Indexed palette would have to merge them down to fit, so the copy would no longer be exact. Starting from a GIF, there's nothing left to merge.

Asking for the lighter PNG

Indexed palette sits under More options, behind the advanced encoder.

  1. Press Choose images and open your GIF.

  2. Open Settings: the gear on a phone, beside the tool on a wide screen.

  3. Open More options at the foot of Settings.

  4. Switch PNG encoding to Advanced local encoder.

  5. Set PNG color to Indexed palette.

    The PNG settings with PNG encoding on Advanced local encoder and PNG color on Indexed palette, both outlined.
    The PNG settings with PNG encoding on Advanced local encoder and PNG color on Indexed palette, both outlined.
  6. Press Convert 1 to PNG.

  7. The arrow on the finished card downloads the PNG.

What if one exact frame isn't the goal?

A PNG is a still, made to be edited. If you're after the motion, or just a picture to look at, another way out of the GIF does better.

You want the mule to keep kicking, every frame in order.

FluffyBench's GIF to WebP converter

All 8 of the mule's frames come along, each held for 200 ms as the GIF holds it; a PNG stops at the first.

The still is a photo, headed for a message or a web page.

FluffyBench's GIF to JPG converter

A JPG of the same frame came to 71.9 KB, a fraction of either PNG. Its colors drift by a few shades.

Search FluffyBench