GIF to PNG Sequence Converter

Fully parses an animated GIF's Logical Screen Descriptor, global/local color tables, Graphics Control Extensions, and every Image Descriptor block, LZW-decompressing and compositing each frame onto a shared canvas according to its disposal method, so every frame can be downloaded as its own accurate PNG. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-26

Overview

Introduction

An animated GIF packs many frames into one file, but sometimes you need each frame as its own standalone image — for editing, re-compositing, or analysis.

This tool decodes the complete animation and hands back every frame as a separate PNG.

What Is GIF to PNG Sequence Converter?

A full multi-frame GIF decoder that hand-implements LZW decompression (GIF requires it by spec) and walks every Graphics Control Extension and Image Descriptor block in the file, not just the first one.

Each frame is composited onto a shared logical-screen-sized canvas, honoring that frame's disposal method, before being captured as its own PixelBuffer.

How GIF to PNG Sequence Converter Works

After parsing the header and any global color table, the tool loops through the file's blocks: Graphics Control Extensions set the upcoming frame's disposal method, transparent color index, and delay, while Image Descriptor blocks contain that frame's actual LZW-compressed pixel data (with an optional local color table).

Each frame's decompressed pixels are drawn onto the shared canvas at their declared position, a snapshot is saved as that frame's output PNG, and then the canvas is adjusted per the frame's disposal method (left as-is, cleared to transparency, or reverted to the prior frame) before the next frame is drawn.

When To Use GIF to PNG Sequence Converter

Use it to pull individual frames out of an animated GIF for editing in an image editor, or to analyze exactly how an animation is constructed frame by frame.

It's also useful for converting a GIF animation into a PNG sequence for use in tools or pipelines (like video editors or game engines) that expect individual image frames rather than an animated GIF.

Often used alongside PNG to ICO Converter.

Features

Advantages

  • Runs entirely client-side; the uploaded GIF never leaves your browser.
  • Correctly composites frames according to their disposal method, rather than naively decoding each frame in isolation (which would produce visibly wrong results for GIFs relying on partial-frame updates).
  • Preserves each frame's original delay time alongside its pixel data.

Limitations

  • Frames using the less common 'restore to previous' disposal method are supported, but very unusual or malformed disposal sequences in the wild may not composite pixel-perfectly in every edge case.
  • Interlaced GIF frames are decoded correctly, but the decoder doesn't attempt to optimize decode speed for extremely long animations with hundreds of frames.

Examples

Simple 2-frame animation

Input

A small looping GIF alternating between two colors

Output

Two separate PNG files, one per frame, each with its own delay value

Each Image Descriptor block in the GIF becomes one decoded output frame.

GIF with partial-frame updates

Input

An animated GIF where later frames only redraw a small changed region

Output

Each output PNG shows the fully composited frame, not just the small changed region

Disposal-method compositing ensures every output frame is a complete, correct image, not a partial diff.

Best Practices & Notes

Best Practices

  • If you only need the first frame as a single still image, use the plain GIF to PNG converter instead — it's simpler and faster for that specific case.
  • For very long animations, expect proportionally longer decode time, since every frame requires its own LZW decompression pass.

Developer Notes

The LZW decoder and interlace-reordering logic are necessarily duplicated from gif-to-png-converter (its internals aren't exported for reuse), extended here with a per-frame compositing loop that tracks disposal method across frames — genuinely new logic beyond decoding a single frame.

GIF to PNG Sequence Converter Use Cases

  • Extracting individual frames from an animated GIF for manual editing
  • Converting a GIF animation into a PNG image sequence for a video editor or game engine
  • Analyzing exactly how a specific animated GIF was constructed frame by frame

Common Mistakes

  • Using this when you only need a single still image — the plain GIF to PNG converter is the simpler tool for that case.
  • Assuming frame delays are always meaningful — some GIFs specify a 0 delay, which browsers typically treat as a fast default rather than literally instantaneous.

Tips

  • Check each frame's reported delay value if you're rebuilding the animation elsewhere, so timing matches the original.
  • If a frame looks visually wrong, the source GIF may use an unusual disposal method combination — try the single-frame converter to isolate whether the issue is specific to compositing.

References

Frequently Asked Questions