GIF Frame Extractor
Inspect every GIF frame with its delay and disposal, then export selected PNGs, a sprite sheet or a timing manifest.
GIF and selection
no fileFilmstrip
not decodedNo GIF loaded
Choose a GIF to inspect its frames.
Examples
Sprite sheet
8 selected frames, columns 44-column PNG sheet plus a JSON manifestThe manifest's x/y values match the emitted sheet layout.
Disposal debug
Frame with disposal 2Frame cleared to background before the next drawWrong backgrounds are usually disposal issues, not decode failures.
Loop info
NETSCAPE2.0 count 5loop 5 in the file chipApplication extensions are read rather than skipped.
About this tool
GIF Frame Extractor decomposes an animated GIF into its component frames for inspection and reuse. The metadata parser reads the GIF header, logical screen descriptor, graphic control extensions and the NETSCAPE loop block directly from the bytes, reporting each frame's delay, disposal method, rectangle and transparency flag.
Frames are decoded locally by a self-hosted FFmpeg engine with frame-by-frame PNG output, then presented as a filmstrip with selection checkboxes. Export selected frames as a PNG ZIP, assemble a sprite sheet with a configurable column count, or download a timing manifest that records the original delays and sprite positions.
Everything stays in the browser tab. The parser tolerates truncated files and unknown extensions, surfaces warnings rather than hiding them, and treats very short delays honestly: the metadata table shows the source value while the manifest applies the browser-enforced floor.
What this tool does not do
- Very long GIFs should be decoded in batches; the filmstrip is capped for responsiveness.
- APNG and animated WebP are not supported inputs.
- FFmpeg is downloaded once and cached; first decode has a one-time cost.
How to use this tool
Choose a GIF
Pick a GIF file. The tool immediately reads its dimensions, frame count, loop count and per-frame timing.
Review the filmstrip
Press Extract frames to decode PNG stills, then select the frames you want to keep.
Export
Download the selected frames as a PNG ZIP, build a sprite sheet, or download the timing JSON manifest.
Debug disposal
Compare delay and disposal values in the table when a frame looks wrong — disposal 2 clears to background and disposal 3 restores the previous frame.
Use cases
Game sprites
Extract animation frames into PNGs or a packed sprite sheet.
Documentation stills
Reuse individual frames from a product animation.
QA debugging
Inspect delays, disposal and transparency when a GIF renders incorrectly.
Metadata fields
| Field | Meaning |
|---|---|
| Delay | Graphic control extension value in 1/100 s, shown in milliseconds |
| Disposal | 0/1 leave, 2 restore background, 3 restore previous; 4–7 degrade to leave |
| Transparency | Whether a transparent palette index is declared |
| Rect | Frame left/top and width/height in the logical screen |
| Loop count | NETSCAPE2.0 iteration count; null means not declared |
Delays of 0 are shown as 0 ms in metadata; the exported manifest uses a 20 ms floor for browser-safe playback.
Common mistakes
Mistake:Assuming every short delay plays at its source value.
Fix:Browsers floor very short delays; the manifest applies a floor while the table keeps the true value.
Mistake:Blaming the decoder for a broken-looking frame.
Fix:Check disposal 2/3 behavior and the frame rectangle first.
Mistake:Expecting to bake a checkerboard into a sprite PNG.
Fix:The exported sheet keeps transparency; a checkerboard is a preview aid only.
Mistake:Thinking APNG is supported.
Fix:This tool handles GIF89a/GIF87a files only.
Frequently asked questions
Why do some frames look broken?
GIF frames are not always full images. Disposal method 2 clears the frame rectangle to the background and method 3 restores the previous frame; a mismatch between the encoder's intent and the player's background leaves visible artifacts. The metadata table shows the disposal value for each frame.
What is a disposal method?
It tells a decoder what to do with the canvas after drawing a frame: 0/1 leave it, 2 restore the background, 3 restore the saved previous image. Values 4–7 are reserved and browsers generally treat them as leave.
How do I export a sprite sheet?
Decode the GIF, select the frames you want, set the column count and press Download sprite sheet. The PNG keeps transparency and the companion JSON manifest gives each frame's x/y/w/h plus its original delay.
Are original delays preserved in the JSON?
Yes. The table shows the exact source delay in GIF 1/100 s units converted to milliseconds; the manifest applies a 20 ms floor for browser-safe playback. Loop count and disposal are recorded too.
Is my GIF uploaded?
No. The metadata parser reads bytes in the tab, and PNG decoding uses a self-hosted FFmpeg engine that runs locally. The only network cost is downloading that engine once; files are never sent anywhere.
Can it read GIF87a files?
Yes. Without graphic control extensions a GCE is absent, so frames are treated as full redraws with zero delay. The parser also skips comment and application extensions and reports unknown blocks as warnings.
References & standards
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns