GIF to MP4, smaller and ready for ads
Turn an animated GIF into an MP4 that is usually far smaller and plays everywhere, including ad placements that refuse GIFs. Loop it a few times if the GIF is short.
Runs in your browser. Your video never leaves your device.
Video
or drop it here. MP4, MOV, WebM or GIF.
Tool
Settings
Checking what this browser can encodeā¦
Your video
Your video shows here. It is read on this device only.
Why turn a GIF into a video
GIF stores each frame with at most 256 colours and weak compression, so animations get big fast. The same frames as H.264 video are usually a fraction of the size and keep their colours. Some placements take video but not GIF: Meta's Instagram Reels video spec lists MP4 or MOV only. Every frame keeps its own timing from the GIF.
Sources, read on 2 December 2026: Meta Ads Guide: Instagram Reels video.
How to use it
Add the GIF
Choose or drop it. It plays on the page.
Pick how many times it plays
A 2 second GIF played 3 times makes a 6 second video.
Make the video
MP4 for ads and phones, WebM for the web.
Download
Compare the size with the GIF before you save it.
Which browsers it works in
The tools use WebCodecs, the video encoders built into your browser, so nothing is uploaded and there is nothing to install. Can I use lists full WebCodecs support from Chrome 94, Edge 94, Firefox 130 and Safari 26, and partial support in Safari 16.4 to 18.7 (Can I use: WebCodecs, read on 2 December 2026). Which formats a browser can write also depends on the device: some cannot encode H.264 or AAC sound. The tool checks this on load and says plainly what yours can make, so a step never fails without a reason.
Built on open source: Mediabunny on GitHub (MPL 2.0) reads and writes MP4, MOV and WebM, gifuct-js on GitHub reads GIFs and gifenc on GitHub writes them (both MIT). Thank you to their authors.
Questions people ask
Why is the MP4 so much smaller than the GIF?
GIF compression is from 1987 and stores every frame on its own. H.264 only stores what changes between frames, so the same animation is usually much smaller.
What happens to transparent parts of the GIF?
MP4 has no transparency, so they turn white.
Can I make the video loop?
Pick 2, 3 or 5 plays to repeat the animation inside the video. Players and ad platforms decide themselves whether a video loops.
Does the MP4 keep the GIF's speed?
Yes. Each frame keeps the delay set in the GIF.
More free tools
Making video ads every week? Let Raino do the busywork
Raino finds what your competitors run, makes image ads with AI, resizes and localizes them, and launches them to Meta in bulk.
No card needed.