Skip to content
cosmodev ~/tools/gif-frame-extractor

GIF Frame Extractor

Images & Media

Split an animated GIF into PNG frames with per-frame delays — decoded by our own pure GIF parser, entirely in your browser. Nothing uploads.

Choose a GIF to see its frames.

GIF Frame Extractor

What it does

Decodes an animated GIF and exports every frame as a PNG, with each frame’s delay shown in milliseconds. The decoder is our own from-scratch GIF89a parser — header, color tables, graphic-control extensions and LZW image data — with no external library and no network access; the file never leaves your browser. Transparency is preserved (transparent palette indices become alpha).

How to use

  1. Drop a .gif file.
  2. Press Extract — frames render as a strip with their delays.
  3. Save individual frames or download every PNG at once.

Examples

A 12-frame spinner GIF extracts to spinner-frame-001.png … spinner-frame-012.png, each labeled with its dwell time (commonly 100 ms).

Good to know

  • Frame sizes follow the GIF’s frame rectangles — optimized GIFs often store only the changed region per frame after the first.
  • The decoder handles interlaced frames, local color tables and the NETSCAPE loop counter.
  • The same parsing logic ships as a Go CLI twin, so the behavior is cross-checked between implementations.
Source code14 languages

100% client-side · your data never leaves your browser. Found this useful? Share it with a teammate.