How to use GIF to MP4
- Add your GIF(s).
- Click Start.
- Download the MP4 files.
How GIF to MP4 works
The FFmpeg engine
These tools run FFmpeg, the reference open-source media toolkit, compiled to WebAssembly. The engine (about 10 MB compressed) is downloaded the first time you use a video, audio or GIF tool and then kept in your browser's cache. It runs on a single processor core so the site works without special security headers; this is slower than desktop software, so short clips are processed quickly and long HD videos can take several minutes.
Why MP4 instead of GIF
Each GIF frame is stored as a separate 256-colour picture, while H.264 video stores only changes between frames. The same animation as MP4 is typically 5–10 times smaller and shows full colours.
Settings
The video uses H.264 at high quality (CRF 20), no sound, and even dimensions as required by the codec. It starts instantly thanks to the 'faststart' option.
Tips for the best result
- Many platforms (Twitter/X, Instagram, WhatsApp) convert GIFs to MP4 anyway; uploading MP4 gives you control over quality.
- On a website, use <video autoplay muted loop playsinline> to make an MP4 behave like a GIF.
- Transparent GIF areas become black or white in MP4, since H.264 has no transparency.
Private by design
GIF to MP4 runs entirely inside your browser, in background threads (Web Workers) that use your device's own processor. Your files are never uploaded to our servers, so nobody else can see them, and processing starts instantly with no upload or download wait. Once the page has loaded, the tool keeps working even without an internet connection.
Related tools
- Video to GIF (MP4 to GIF)Turn a short video clip into an animated GIF with an optimised colour palette.
- Compress GIFReduce the size of animated GIFs by lowering frame rate, width and number of colours.
- Compress VideoMake MP4, MOV, WebM and other videos smaller for WhatsApp, e-mail or upload, with a quality level and a maximum height.
Frequently asked questions
Will the MP4 loop like a GIF?
MP4 files do not loop by themselves; players and websites loop them with a setting (the loop attribute on the web).
Is transparency kept?
No, MP4 (H.264) does not support transparency.
Why is the first conversion slower?
The FFmpeg engine (about 10 MB) is downloaded once. Later conversions start immediately because the browser keeps it in cache.
Is there a file size limit?
There is no limit set by us. Browsers limit the memory a page can use, so files of a few hundred megabytes work on a computer, less on a phone.
Is the quality better?
Usually yes: MP4 is not limited to 256 colours.
Are my files uploaded?
No.