GIF to MP4
How to use
Turns animated GIFs into much smaller MP4 or WebM videos. Drop the GIF, pick MP4 or WebM, and download.
Step 1 of 4: Upload
- 1
- 2
- 3
- 4
Step 1 of 4 · Upload
- 1Upload
- 2Options
- 3Convert
- 4Download
- Cutting page weight by replacing GIFs on a website with video
- Getting a large GIF under a chat app's upload limit
- Converting reaction GIFs for platforms that prefer video
- Improving Core Web Vitals scores flagged for "use video formats for animated content"
Free and private. Everything runs on your own device, with no account and no uploads.
Animated GIFs are an old, inefficient format: every frame is stored as a separate 256-colour image, so a few seconds of motion can weigh several megabytes. The same animation as an MP4 or WebM video is typically 5 to 20 times smaller and has full colour, which is why Twitter, Reddit and Giphy quietly convert every GIF to video on upload. This tool does that conversion in your browser, frame by frame, keeping each frame's original timing.
For real-world GIFs with motion, usually 80–95% smaller. Tiny GIFs with a few flat-colour frames may not shrink much, because a video file has a small fixed overhead.
Looping is a property of the player, not the file. On a web page use the loop, autoplay, muted and playsinline attributes on the video tag; most chat apps loop short videos automatically.
MP4 has no transparency, so transparent areas become white. Keep the GIF, or use WebP, if the animation must sit over a background.
H.264 and VP9 need even width and height, so an odd-sized GIF gets a one-pixel border to make them even.
It needs the ImageDecoder API: current Chrome, Edge and Firefox. Safari support is still limited.
- 1
Add an animated GIF
Drop one or several GIF files.
- 2
Choose MP4 or WebM
MP4 for chat apps and phones; WebM for your own web pages.
- 3
Convert
Each frame is decoded and encoded as video with its original delay.
- 4
Download
Use the video anywhere a GIF would have gone.
- ·On a web page, use <video autoplay loop muted playsinline> for GIF-like behaviour
- ·Choose WebM for web pages when you can serve both formats, MP4 for everything else
- ·For the reverse direction, Video to GIF makes a GIF from a clip