GIF to MP4
Turn heavy animated GIFs into light MP4s.
How to use GIF to MP4
Add the animated GIF.
Click Convert to MP4.
The animation is re-encoded as H.264 video in your browser.
Download the MP4 — usually a fraction of the GIF's size.
Why a GIF is huge and an MP4 of the same thing is tiny
GIF is a 1987 image format that happens to support frames, and it has no idea of video compression: every frame is stored as a full picture with a palette of 256 colours. A five-second clip can weigh 20 MB and still look grainy. MP4 with H.264 stores only what changes between frames, in millions of colours, so the same clip becomes one or two megabytes and plays smoothly — which is why Twitter, Instagram and Reddit quietly convert every GIF you upload into video anyway.
"Convert gif to mp4" is the search people make when a GIF is too big to email, too heavy for a web page, rejected by an app that wants video, or stuttering on a phone. The conversion keeps every frame and the original size; it simply moves the animation into a format built for motion.
What the converter does to the animation
The GIF is decoded frame by frame and re-encoded as H.264 video in an MP4 container, using the frame timing from the GIF so the speed stays the same. The pixel format is set so the file plays in every browser, on iPhone and Android, and in messaging apps — the compatibility detail that home-made conversions most often miss. The MP4 is also written with its index at the front, so it starts playing while still loading when embedded on a web page.
Odd-sized GIFs are trimmed by at most one pixel, because H.264 needs even dimensions; nothing else is scaled or cropped. The result is typically five to ten times smaller than the GIF and visibly smoother, since video players interpolate motion far better than GIF decoders.
- Reaction GIFs for chats → far smaller, autoplay everywhere
- Screen recordings saved as GIF → crisp MP4 for docs and bug reports
- Web page animations → MP4 (or WebM) loads faster than GIF
- Instagram, TikTok, Stories → these need video, not GIF
Looping, sound and the reverse trip
A GIF loops forever by nature; a video plays once unless the player is told to loop. The MP4 contains one pass of the animation, and any web embed with the loop attribute, any social network and most media players will repeat it seamlessly. There is no audio track — a GIF has none to convert — so the file is video-only, which also keeps it small.
If you need to go the other way — a short GIF from a video clip for a chat or a README — the Video to GIF tool in the header does that, with a width and duration selector so the GIF stays reasonable.
Encoded on your device, first run included
Every step runs inside your browser, using the WebAssembly and Canvas APIs your device already ships with. No file is uploaded, no copy is kept, and nothing sits in a queue on a server waiting to be deleted — which is also why the tool keeps working with the network disconnected.
Video encoding in the browser uses ffmpeg compiled to WebAssembly — the same engine behind nearly every converter, running in your tab instead of on someone's server. The first conversion downloads that engine (about 31 MB) once; your browser caches it, and every conversion afterwards starts instantly. The GIF itself never travels: it is read from disk, encoded in memory and written to your downloads.
That means no upload queue, no daily limit and no account. A typical GIF converts in a few seconds; a very long, high-resolution one takes a little more CPU time, but still leaves nothing behind on any server.
Frequently Asked Questions
How much smaller is the MP4?
Typically 5–10× smaller than the GIF, with smoother playback — which is why social networks convert GIFs to video internally.
Does the MP4 loop like the GIF did?
The video contains one pass of the animation; most players and web embeds can loop it with the loop option enabled.
Are my files uploaded to a server?
No. The conversion runs entirely in your browser — audio and video never leave your device, which also means no queue and no file-size fees.
How do I convert a GIF to MP4 for free?
Add the GIF and click Convert to MP4. The first run fetches the video engine (about 31 MB, cached afterwards); the MP4 then downloads in a few seconds. No sign-up, no watermark.
How much smaller is the MP4?
Typically 5-10× smaller than the GIF, with smoother playback — which is why social networks convert GIFs to video internally.
Does the MP4 loop like the GIF did?
The video contains one pass of the animation; most players, web embeds and social apps loop it when the loop option is enabled.
Does the MP4 have sound?
No — a GIF has no audio track, so the MP4 is video-only. That also keeps the file as small as possible.
Will it play on iPhone and in WhatsApp?
Yes. The MP4 is encoded as H.264 with the standard pixel format every phone, browser and messaging app supports, with the index at the front for instant playback.
Is the GIF uploaded?
No. The conversion runs on ffmpeg compiled to WebAssembly inside your browser; the GIF and the MP4 never leave your device.
Related tools
Looking for something else? Browse all audio & video.