← All articles 5 min read

How to Convert GIF to PNG (Free, No Upload Required)

GIF is a fine format — for animations. For static images, it caps you at 256 colors and 1-bit transparency. PNG does both better, with full 24-bit color and proper alpha transparency. Converting takes under ten seconds.


Convert GIF to PNG in Your Browser (Pixotter)

Pixotter's converter runs entirely in your browser via WebAssembly. Your image never leaves your device.

  1. Go to pixotter.com/convert/
  2. Drop your GIF onto the drop zone (or click to browse)
  3. Select PNG as the output format
  4. Click Convert
  5. Download your PNG

No account required, no file size limits enforced by a server, no waiting for an upload to complete.

If your GIF is animated, Pixotter extracts the first frame and converts it to PNG. More on that in the animated GIF section below.


Why Convert GIF to PNG?

Three reasons to make the switch for static images:

Better color depth. GIF supports 256 colors maximum. PNG supports 16 million. For photographs, illustrations, or anything with gradients, the difference is visible.

Real transparency. GIF transparency is 1-bit — each pixel is either fully transparent or fully opaque. PNG uses full alpha channels, so you get smooth edges, anti-aliasing, and partial transparency. If you've ever seen a GIF with jagged edges on a transparent background, that's why.

Smaller file size for static content. Animated GIFs carry frame data for every frame. A static GIF still uses a format designed around animation. PNG compresses static images more efficiently in most cases — the PNG format was designed specifically for lossless static image storage.

If your GIF contains animation you want to keep, PNG is not the right target. Consider compressing the GIF instead for far better results.


GIF vs PNG: Key Differences

Feature GIF PNG
Color depth 256 colors (8-bit) 16.7 million colors (24-bit)
Transparency 1-bit (on/off) Full alpha channel
Animation Yes No (use APNG for animation)
Compression LZW (lossless) DEFLATE (lossless)
File size (static) Larger for complex images Smaller for complex images
Browser support Universal Universal
Best for Simple animations Static images, logos, screenshots

For a deeper look at the GIF format itself, see What is a GIF?


How to Convert GIF to PNG on Windows

Option 1: Pixotter (browser) Use Pixotter as described above. Works on any browser on Windows — Chrome, Edge, Firefox.

Option 2: Paint

  1. Open Paint (search "Paint" in Start)
  2. File → Open → select your GIF
  3. File → Save as → PNG picture
  4. Choose a save location and click Save

Paint will save the first frame of an animated GIF.

Option 3: ffmpeg 7.1 (LGPL 2.1+)

ffmpeg 7.1 is the current stable release. Download it from ffmpeg.org/download.html (Windows builds available from BtbN and gyan.dev).

Convert a single GIF to PNG:

ffmpeg -i input.gif -frames:v 1 output.png

The -frames:v 1 flag extracts only the first frame. Without it, ffmpeg produces a sequence of PNGs — one per frame.

To batch-convert all GIFs in a folder:

for %f in (*.gif) do ffmpeg -i "%f" -frames:v 1 "%~nf.png"

How to Convert GIF to PNG on Mac

Option 1: Pixotter (browser) Same as Windows — open Pixotter in Safari, Chrome, or Firefox and drop your GIF.

Option 2: Preview

  1. Open your GIF in Preview (double-click, or right-click → Open With → Preview)
  2. File → Export
  3. Set Format to PNG
  4. Click Save

Preview shows animated GIFs as animations, but exports only the first frame as PNG.

Option 3: ffmpeg 7.1 (LGPL 2.1+)

Install via Homebrew:

brew install ffmpeg

Then convert:

ffmpeg -i input.gif -frames:v 1 output.png

Batch-convert all GIFs in the current directory:

for f in *.gif; do ffmpeg -i "$f" -frames:v 1 "${f%.gif}.png"; done

Handling Animated GIFs

Converting an animated GIF to PNG always produces a static image — PNG does not support animation (APNG does, but that is a different format). Every tool covered here extracts the first frame.

If you want a specific frame, ffmpeg gives you precise control:

# Extract frame at timestamp 0.5 seconds
ffmpeg -ss 0.5 -i input.gif -frames:v 1 output.png

If you want to keep the animation but reduce file size, compress your GIF or convert to a video format.

If you want all frames as separate PNGs (for editing each frame individually):

ffmpeg -i input.gif frame_%04d.png

This produces frame_0001.png, frame_0002.png, and so on.


FAQ

Does converting GIF to PNG lose quality? No. Both formats are lossless. The conversion preserves all pixel data from the source frame. You may notice colors look richer in the PNG because it renders them in full 24-bit depth rather than the 256-color GIF palette.

Will the PNG be transparent if my GIF has a transparent background? Yes. Pixotter and ffmpeg both preserve GIF transparency during conversion, mapping it to PNG's alpha channel. The result is a cleaner, smoother edge than the original GIF offered.

Can I convert multiple GIFs at once? Yes — use the ffmpeg batch commands above, or drop multiple files onto Pixotter at once.

Why is my PNG larger than the original GIF? PNG stores full 24-bit color per pixel; GIF uses a compressed 8-bit palette. For simple images with few colors (icons, pixel art), GIF can be smaller. For photographic or complex images, PNG wins.

Does this work on iPhone or Android? Pixotter works in any modern mobile browser. Open pixotter.com/convert/, drop or select your GIF, and download the PNG. No app install needed.

What if I only want one frame from a long animation? Use ffmpeg with the -ss flag to seek to a specific timestamp before extracting. For example, -ss 2.0 extracts the frame at the 2-second mark. Pixotter always extracts the first frame.

Also try: Compress Images