GIF to MP4
Turn an animated GIF into a much smaller video.
Using toolbook means you agree to our Terms and Privacy Policy.
or drag it here
An animated GIF
- Takes
- Any animated GIF. (For a still GIF, the image converters are a better fit.)
- Size
- Most GIFs are fine. A very long GIF can run out of memory, because the whole animation is opened at once.
Your files stay on your device
How to use it
Drop an animated GIF here to turn it into an MP4 video — usually 10 to 50 times smaller, and smoother-looking. Your GIF stays on your device.
GIFs are surprisingly huge — a six-second GIF can be 30 MB, while the same clip as a video is under 1 MB. Drop your GIF onto the box above and download the MP4. No settings needed.
It usually looks better too: GIFs are limited to 256 colours, so smooth gradients look stripy. Videos don’t have that limit.
The timing stays exactly the same, even if your animation has uneven pauses.
Two things to know: a video can’t go where only images are allowed, and it can’t have a see-through background — clear areas turn black. Keep the GIF for those.
FAQ
How much smaller will the MP4 be?
Usually 10 to 50 times smaller.
Will it look worse?
Usually better, since videos aren’t limited to 256 colours.
What happens to see-through areas?
They turn black. Keep the GIF if you need transparency.
Will it still loop?
That depends on where you play it — most players and websites loop short videos.
Does the timing stay the same?
Yes, frame for frame.
How it worksFor the curious
A GIF stores every frame as a palettised picture with no notion of motion; video codecs store what changed. That is why H.264 is an order of magnitude smaller.
Frames are decoded and composited the way an image viewer would — transparency plus all four disposal methods — by a GIF decoder built into this site, since browsers do not expose one consistently (Firefox lacks the ImageDecoder API). Each frame keeps its own delay; zero delays become 100 ms, as browsers have always done. GIF87a and GIF89a, interlacing, and per-frame palettes are supported, and frames match ffmpeg’s output exactly.
The bitrate is generous on purpose: GIFs are usually flat colour and text, which H.264 handles worst at low bitrates. Looping depends on the player — most loop short clips, and an HTML video tag does with the loop attribute. A GIF is decoded whole into memory: a 640×480, 100-frame animation is about 120 MB.