🎞️GIF to MP4 Converter

Select GIF → set recording duration → convert to video in browser

sec

How to Convert GIF to Video

This tool uses the browser's Canvas API and MediaRecorder API to record an animated GIF as a video file. No files are uploaded to a server — everything runs locally on your device. Select a GIF file, check its loop duration in the preview, set the recording duration to match, and click Convert. The output is ready to download when recording finishes.

The output format depends on your browser: Safari on iOS and macOS produces MP4 (H.264), while Chrome and Firefox produce WebM (VP8). WebM plays in VLC, modern browsers, and most video editors. If you need an MP4 specifically, use Safari for conversion or re-encode the WebM file in a video editor like HandBrake (free). The output format is shown in the result area so you know exactly what you're downloading.

For best results, match the recording duration to exactly one full loop of the GIF. Too short and the animation gets cut off; too long and you get blank or repeated frames at the end. Watch the preview, count the seconds per loop, then set that as the duration. Very large GIFs (2000px+) may cause memory issues — resize them first if needed.

Frequently Asked Questions

Where can I play a WebM file?

WebM files play in Chrome, Firefox, Edge, VLC Media Player, and most modern video editors. Windows Media Player does not natively support WebM. Install VLC (free) or re-encode to MP4 using HandBrake if you need wider compatibility.

Why is the converted video larger than the GIF?

GIF compression is optimized for simple animations with limited colors. Video codecs (VP8/H.264) are better for full-color continuous motion. For GIFs with many colors or complex motion, the video may be slightly larger — but the video codec provides smoother playback and better quality overall.

Can I convert multiple GIFs at once?

This tool processes one GIF at a time. For batch conversion, convert each file individually and download each result before starting the next one.