GIF to MP4 converter, free and fast
Turn an animated GIF into a small MP4 video. The file stays on your device.
Video tools use FFmpeg (GPL-2.0-or-later).
Runs in your browser. Your file is never uploaded.How we keep your files private
About this tool
An animated GIF is a stack of frames, and it is often large for the motion it shows. This page turns one GIF into one H.264 MP4 in the browser so the clip can play on phones and in chat apps.
The MP4 has no soundtrack. A GIF carries no audio, and this conversion does not add any.
ffmpeg decodes the GIF in this tab and writes one video. The command uses libx264 at preset veryfast and CRF 28, pixel format yuv420p, and +faststart. A scale filter rounds width and height down to even numbers (scale=trunc(iw/2)*2:trunc(ih/2)*2), because yuv420p H.264 needs even dimensions. There is no audio map. The GIF stays in the browser.
How to convert GIF to MP4
- Drop one GIF up to 50 MB. GIF87a and GIF89a are accepted, including a still GIF.
- Click Convert. A file over about 10 MB warns that the tab may become slow.
- Download the MP4. Every frame of that GIF is in this one video.
50 MB, one file at a time. The result is a single MP4 with no audio track. Odd width or height is rounded down to an even number, so a side can lose one pixel. A still GIF becomes a short silent video of that picture. If ffmpeg cannot read the file, conversion stops.
GIF to MP4: popular uses
Animated GIF to one MP4
Every frame of the GIF becomes one H.264 video. The MP4 has no soundtrack.
Smaller than the GIF
The same motion is re-encoded at CRF 28, which is usually much smaller than the GIF and plays where a GIF upload is refused.
Still GIF and odd sizes
A still GIF becomes a short silent video. Odd width or height is rounded down to an even number so H.264 can encode it.
FAQ
- Is the GIF uploaded?
- No. The frames are decoded and re-encoded in this tab.
- Does the MP4 have audio?
- No. The output is picture only.
- Does an animation become one file?
- Yes. The frames of the GIF become one MP4, not a separate file per frame.
- Why are the dimensions sometimes one pixel smaller?
- H.264 with yuv420p needs an even width and height. The scale filter rounds each side down to the next even number.
- Why convert a GIF at all?
- The same motion is re-encoded as H.264 at CRF 28, which is usually a much smaller file than the GIF and plays where a GIF upload is refused.
Related tools
Continue
More Video & audio tools
- MOV to MP4Turn a short MOV clip into an MP4MOVMP4
- MP4 to MP3Save the audio from an MP4 as an MP3MP4MP3
- Trim videoKeep part of a MOV or MP4VIDMP4
- Compress videoRe-encode a MOV or MP4 smaller. The original is kept when it does not shrinkVIDMP4
- Video to GIFTurn the first 8 seconds of a MOV or MP4 into a short GIFVIDGIF
- WAV to MP3Turn a WAV recording into an MP3WAVMP3
- Mute video / extract audioDrop the audio from a MOV or MP4, or save it as an MP3VIDMP3
- Audio converterTurn WAV, MP3, M4A, OGG, or FLAC into an MP3 or WAVAUDMP3