GIF to MP4
GIF to MP4 converts an animated GIF to an H.264 MP4 video, usually several times smaller, keeping each frame's timing, in your browser so the GIF is never uploaded.
At a glance
- Accepts
- Animated or still GIF files
- Outputs
- An H.264 MP4 (no audio), optionally repeating the animation 2 to 10 times
- Where it runs
- Entirely in your browser, on your device
- What leaves your device
- Nothing - the file never leaves your device
- Limits
- Transparency is filled with a solid colour; needs a WebCodecs H.264 encoder (not in Firefox for Android)
- Account
- Not required - there is no sign-up
- Price
- Free, with no watermark and no usage cap
- Made by
- Visrut
- Last updated
- 11 November 2026
Turn an animated GIF into an MP4 video. MP4 uses real video compression, so the same animation is often five to ten times smaller, and it uploads to Instagram, TikTok, X and anywhere else that wants a video rather than a GIF. Each frame keeps its own timing. Everything runs in your browser using its built-in video encoder.
How to use it
- Choose a GIF, or drop it here.
- Pick the width and how many times the animation should repeat in the video.
- Convert, watch the result, and download the MP4.
Honest limits
- MP4 has no transparency. See-through parts of the GIF are filled with the colour you pick.
- An MP4 doesn't loop by itself the way a GIF does; most sites loop short videos for you, or use Repeat to play it several times.
- Needs a browser with a built-in H.264 encoder: current Chrome, Edge, Safari 16.4+ or Firefox 130+ on a computer.
Frequently asked questions
Is my GIF uploaded?
No. The GIF is decoded and encoded into an MP4 inside your browser tab. Nothing is sent to a server.
Why is the MP4 so much smaller?
A GIF compresses each frame on its own with an old method from 1987. H.264 video only stores what changes between frames and has no 256-colour limit, so it is both smaller and better looking.
Does it work in Firefox and Safari?
Yes. The GIF is read by our own small decoder rather than the browser's ImageDecoder feature, which Firefox and Safari lack. Making the MP4 needs the browser's video encoder: Safari 16.4 or later, Firefox 130 or later on a computer, or Chrome and Edge. Firefox for Android has none yet.
Will the timing match the GIF?
Yes. Every frame keeps its own delay. Like browsers do, frames with a delay under 0.02 seconds are shown for 0.1 seconds.
Can I make it loop?
Choose Repeat to play the animation 2 to 10 times in one video. Sites like Instagram and X loop short videos on their own.