RunLocalTools

GIF to MP4 Converter — Free, Local, No Upload

Convert an animated GIF to MP4 (or WebM) right in your browser. Batch conversion, quality control, resizing, and looping — free, with nothing ever uploaded.

What it does

Drop in one or more animated GIFs and get back real, playable MP4 video — smaller than the GIF, and something you can actually embed, autoplay, and scrub through, unlike a GIF. Add several at once for batch conversion, watch each one convert with a live progress bar, and download individually or as a single .zip. Every file shows its resolution, frame count, and duration before you convert, and its file-size change afterward.

How it works

This runs a real video encoder — FFmpeg, compiled to WebAssembly — entirely inside your browser tab. The first time you convert something, your browser downloads the encoding engine (about 25MB, one time); after that it works fully offline. Nothing about your GIF, or the video it becomes, ever leaves your device.

Two details make the output actually work everywhere rather than just “look right” on your own machine: every output is automatically padded to even pixel dimensions (H.264 video requires this — an odd-width source silently fails to encode in most tools), and the MP4 is written with +faststart, which moves a small index to the front of the file so video starts playing immediately instead of waiting to buffer.

How to use it

  1. Drop one or more GIFs onto the tool, or click to browse. Each one is scanned instantly (no upload) to show its size, dimensions, frame count, and duration.
  2. Pick a quality preset in the sidebar — Small file, Balanced, or High quality — or switch to Custom and drag the CRF slider yourself.
  3. Optionally resize the output (75%, 50%, or a custom max width), cap the frame rate, or set a loop multiplier to repeat a short clip into a longer video.
  4. Click Convert all. Each file converts in turn with its own progress bar; you can preview the result with playback controls as soon as it’s done.
  5. Download files one at a time, or grab everything as a single .zip.

Loop multiplier — why it’s here

A GIF loops forever by design; an MP4 just plays once and stops. If you’re turning a short GIF into a looping background video or a repeating story clip, set the loop multiplier to repeat the source a few times before encoding, instead of ending up with a video that plays once and freezes.

Optional: WebM output

Turn on “Also export WebM” to get a VP9-encoded WebM alongside the MP4. WebM is often meaningfully smaller than MP4 at similar visual quality, and is supported by every modern browser — a good option if file size matters more than universal compatibility (a handful of older apps still expect MP4 specifically).

Limitations

  • Very large or very long GIFs can be slow to convert, or use a lot of memory in the browser tab, since encoding runs on a single CPU thread inside WebAssembly rather than using your GPU or multiple cores.
  • Extremely large source files may exceed what your browser tab can hold in memory. If a conversion fails on a huge file, try resizing it down first.
  • Output quality follows standard video CRF conventions: lower numbers mean better quality and larger files. The WebM CRF value is estimated from your MP4 quality choice, since the two codecs use different quality scales — treat it as a close equivalent rather than an exact match.

Privacy

Your GIFs and the videos made from them are processed and stored only in your own browser (IndexedDB), so they’re still there if you refresh the page — and gone the moment you clear them or clear your browser data. Nothing is ever sent to a server.

FAQ

Why is my output MP4 sometimes bigger than the original GIF? GIF compresses very aggressively but loses color depth to do it (256 colors max, hard dithering). A high-quality MP4 encode restores smoother gradients and motion, which can outweigh the codec’s own efficiency on a very short or very low-motion GIF. Try the “Small file” preset, or downscale the resolution — both shrink the output noticeably.

Will this work on a phone? Yes — everything runs in the browser itself, no app needed. Very large files may be slower on a phone’s processor and more likely to hit memory limits than on a desktop.

Does the converted video have sound? No — GIFs never contain audio, so there’s nothing to carry over. If you need to add a soundtrack to a video afterward, our Audio Merger can combine an audio track with existing clips.

Can I convert other image formats to MP4, or MP4 back to GIF? This tool is GIF-to-video only. For converting between still-image formats (PNG, JPG, WebP, AVIF), use the format converter. An MP4-to-GIF converter is in the works.

Is there a limit to how many GIFs I can convert at once? No hard limit, but each file converts one at a time in sequence (not in parallel) to avoid overloading your browser’s memory, so a big batch will take a while — the queue status shows which file is currently converting.

Why does the first conversion take longer than the rest? The first conversion downloads the ~25MB encoding engine. Every conversion after that — this session, and future visits, since your browser caches it — starts instantly.