How to Split an Animated GIF Into Individual PNG Frames

How animated GIFs store frames and timing, how to save every frame as a full PNG, and how to do it with free desktop and command-line tools too.

Updated September 29, 2026 5 min read

Use the free GIF Frame ExtractorSplit an animated GIF into individual PNG frames

An animated GIF looks like a tiny video, but underneath it is a stack of still images played in sequence. Sometimes you need those stills: a product demo GIF contains the one frame that would make a perfect screenshot, a designer wants to fix a single glitchy frame and re-export the animation, or a support team needs a numbered sequence of steps for a written guide.

This guide explains how GIF animation actually works, including the detail that trips up most simple extractors, and shows how to pull out every frame as a clean PNG in a browser, with desktop software or from the command line.

How an animated GIF is built

The GIF format dates from the late 1980s and was extended in 1989 (the "GIF89a" version) with the features that make animation possible. A GIF file contains:

  • A logical screen: the overall width and height of the animation.
  • A sequence of image blocks. Each one can be smaller than the screen and placed at an offset, so an animation may only store the part of the picture that changed.
  • A graphic control extension before each image, holding the delay (in hundredths of a second), the index of a transparent colour, and the disposal method.
  • A colour table of up to 256 colours, either global or per frame.

Why disposal methods matter

The disposal method tells the player what to do with a frame before drawing the next one: leave it in place, clear that area to the background, or restore what was there before. Because many GIFs store only partial frames, grabbing the raw image blocks gives you odd fragments: a moving arrow with no background, or a small rectangle of changed pixels.

A proper extractor composites each frame the way a browser would, applying the offsets and disposal rules, so every exported image is the full picture as it appeared on screen at that moment. This is the difference between a usable set of frames and a folder of confusing slices.

What frame delays tell you

Delays are stored per frame, so a GIF can pause on one frame for two seconds and flick through others quickly. Adding the delays gives the total loop length. Note that many browsers treat very short delays (below about 20 milliseconds) as slower than written, so a GIF may play differently in different apps.

Extract frames with our tool

The GIF Frame Extractor decodes the GIF in your browser and composites each frame at full size.

  1. Open GIF Frame Extractor and drop an animated GIF onto the upload area, or click to choose one. Files up to 50 MB are accepted.
  2. Extraction starts automatically. A progress bar shows Extracting frames… with a running count.
  3. When it finishes, the header shows the file size, the pixel dimensions, the number of frames and the total duration in seconds.
  4. Browse the grid. Each tile shows the frame number and its delay in milliseconds. Transparent areas appear over a checkerboard, and transparency is kept in the PNGs.
  5. Click the download icon on any tile to save that frame, or Download all frames (ZIP) to get the complete numbered sequence.
  6. Click Start over to process another GIF.

Very long animations are limited to their first 1,000 frames, and extremely large GIFs are refused rather than crashing the tab; for those, a desktop tool is more comfortable.

Other ways to split a GIF

FFmpeg

FFmpeg handles compositing correctly and is ideal for batch jobs:

ffmpeg -i animation.gif frame_%03d.png

It names files frame_001.png, frame_002.png and so on. FFmpeg normalises timing to a frame rate, so if you need the original per-frame delays, record them separately.

ImageMagick

magick animation.gif -coalesce frame_%03d.png

The -coalesce option is essential. Without it, ImageMagick writes the raw partial frames described above.

GIMP

GIMP opens an animated GIF with each frame as a layer, and the delay written into the layer name. Choose Filters > Animation > Unoptimize first to get full frames, then export layers individually. It is slower but lets you edit frames in place.

Preview on a Mac

Opening a GIF in Preview shows the frames as thumbnails in the sidebar. You can drag a frame out to the desktop to save it. This is fine for one or two frames but tedious for a long animation.

Tips and practical uses

Pick the sharpest still for a thumbnail

Screen-recording GIFs often contain motion-blurred transition frames. Scroll the grid for a frame with a longer delay, since that is usually where the animation rests on a finished state.

Edit one frame and rebuild the animation

Extract all frames, fix the problem frame in an editor, then reassemble them with the GIF Maker. Keep the numbered file names so the order is preserved.

Create a sprite sheet

Game developers and CSS animators often need frames side by side in one image. After extracting, combine them with the Sprite Sheet Generator.

Only need the first frame?

For a quick still of many GIFs at once, GIF to PNG saves the first frame of each file in a batch without extracting the rest.

Resizing frames

GIF frames are often small. Enlarging them with ordinary resampling makes them blurry; for pixel art, scale by whole numbers (2x, 3x) with nearest-neighbour resampling. For photographic content, the Bulk Image Resizer can shrink or enlarge the whole set in one pass.

Colours look posterised

That is the 256-colour limit of the original GIF, not the extraction. PNG keeps the frames exactly as decoded; it cannot restore colours that the GIF never stored.

Frequently asked questions

Why do some GIF extractors give me only parts of each frame?

Many GIFs store only the region that changed between frames. Unless the extractor composites frames using the GIF's disposal rules, you get those partial patches instead of full pictures.

What format are the extracted frames?

Each frame is saved as a full-size PNG, which is lossless and keeps any transparency from the GIF.

How do I find how long each frame is shown?

Each frame tile shows its delay in milliseconds, and the header shows the total duration. GIF delays are stored in hundredths of a second.

Can I extract frames from an MP4 or WebP animation?

This tool reads GIF files only. For video, a tool such as FFmpeg is the usual choice.

Will extracting frames reduce quality?

No. The frames are decoded exactly as stored and saved losslessly, so they match what the GIF displays.

Try it now: GIF Frame Extractor

Loading tool…