◈ gif to mp4Conversion guide

GIF to frames.

DoSave source-order frames as PNG files or a ZIP.
Do notNo crop, resize, frame edits or animation assembly.

Choose a GIF, then extract its PNG frames.

All processing happens in your browser. Files are never uploaded to any server.

Which picture becomes the first PNG?

The files follow the source image sequence: the first PNG is the first displayed frame. GIF image patches and disposal instructions are rendered onto the original canvas before each PNG is saved. These are displayed full-canvas pictures, not isolated update rectangles. No frames are sampled out, reordered, cropped or scaled.

Transparent pixels in the rendered canvas remain transparent in PNG. A later displayed frame may contain pixels retained from an earlier frame, as instructed by the source GIF. The tool does not replace transparent areas with a white background.

Stored delays are read from the GIF graphic-control blocks in centiseconds and recorded as milliseconds in frames.json. PNG files are still images; the record does not make them play on a timeline. This page extracts pictures to keep, while the frame-delay experiment measures timing when exporting video.

Reproduce the extraction and compare the saved pixels

FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; source 121,209 bytes, extracted 21 PNG files with no missing frames; each PNG is 400 × 240 px, individual files range from 12,965 to 13,504 bytes, and the actual downloaded ZIP is 282,840 bytes.

FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; the ZIP header is PK (ZIP), with 22 entries: 21 numbered PNG files and frames.json. Every individually downloaded PNG was byte-compared with its ZIP entry.

FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; native FFmpeg decoded source and downloaded PNGs to RGBA: the first, middle (frame 11) and final pictures matched exactly; the check was also run on all 21 saved pictures, and all matched their source positions. This is a result for this sample, not a claim about every input or browser.

Sample context and saved fileActual PNG bytes
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 1, 400 × 240 px, frame-0001.png.12965
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 2, 400 × 240 px, frame-0002.png.13048
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 3, 400 × 240 px, frame-0003.png.13121
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 4, 400 × 240 px, frame-0004.png.13013
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 5, 400 × 240 px, frame-0005.png.13136
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 6, 400 × 240 px, frame-0006.png.13169
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 7, 400 × 240 px, frame-0007.png.13162
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 8, 400 × 240 px, frame-0008.png.13169
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 9, 400 × 240 px, frame-0009.png.13060
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 10, 400 × 240 px, frame-0010.png.13137
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 11, 400 × 240 px, frame-0011.png.13080
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 12, 400 × 240 px, frame-0012.png.13060
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 13, 400 × 240 px, frame-0013.png.13281
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 14, 400 × 240 px, frame-0014.png.13420
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 15, 400 × 240 px, frame-0015.png.13504
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 16, 400 × 240 px, frame-0016.png.13488
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 17, 400 × 240 px, frame-0017.png.13384
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 18, 400 × 240 px, frame-0018.png.13236
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 19, 400 × 240 px, frame-0019.png.13197
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 20, 400 × 240 px, frame-0020.png.13097
FFmpeg testsrc2 source: 21 frames, 2940 ms, 400 × 240 px, stored delays [40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240] ms; source palette 128/no dithering; extraction: browser Canvas PNG, original full canvas, alpha retained, ZIP STORE; frame 21, 400 × 240 px, frame-0021.png.13040

Existing generated source GIFActual downloaded PNG ZIPFull measured file and pixel record

Choose the next operation separately

For a single texture rather than separate pictures, follow the GIF sprite-sheet timing experiment for VRChat animated emoji.

To discard unwanted pictures while keeping an animation, follow the measured GIF frame-removal recipe and its saved-file checks.

Keeping individual pictures and making a video are different paths: read the GIF to MP4 conversion contract if you need a video instead of still files.

For a different source GIF canvas, resize the GIF before extracting PNG files. That tool accepts GIF, not these exported PNGs. For a source GIF byte-size task, use the separate GIF compression tool; it does not compress the PNG downloads on this page.