GIF to MP4 converter
Instagram, TikTok and many ad platforms do not accept GIF uploads, and MP4 versions load far faster on web pages.
What happens to your GIF
Each GIF frame is encoded to H.264 with even dimensions (a requirement of the yuv420p format most players use).
Tip: Swapping a GIF for a muted, looping MP4 on a website often cuts page weight by 90%.
How to convert GIF to MP4
- Drop your GIF file on the box above, or tap it to pick one. The engine (about 31 MB) loads once per visit.
- The converter reads the file's streams and shows which codecs are inside.
- Keep the defaults, or pick a quality and resolution.
- Press the button, wait for the progress bar, then download your MP4.
Prefer the command line?
This is the FFmpeg command the converter runs for a typical GIF (gif). Paste it into a terminal with FFmpeg installed for batch jobs or files too big for a browser tab:
ffmpeg -y -i input.gif -map 0:v:0 -sn -dn -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -preset veryfast -crf 23 -pix_fmt yuv420p -movflags +faststart -an output.mp4This re-encodes, so expect it to take a while on long files. Your own file may contain different codecs; the converter above detects them and adapts. For other jobs, ask the FFmpeg command helper.
Questions
Will it loop?
MP4 files do not carry a loop flag. Use the loop attribute on a web <video> tag, or the platform loops it for you.
Is my GIF file uploaded?
No. The GIF is read from your device by FFmpeg running as WebAssembly in the page, and the MP4 is written back to your device. No server ever receives it.
Is there a size limit for GIF to MP4?
We set none. The practical limit is browser memory: roughly 2 GB of output on a computer, and much less on phones.