Convert gif to mp4

Free online GIF to MP4 converter

Convert animated GIF files to broadly compatible MP4 video with 101convert.com or FFmpeg.

Convert GIF to MP4 online - free

Uploading…
Selected files exceed the 75 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How it works

  1. 1/3

    Upload your .gif file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .gif to .mp4 conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .mp4 file

    Conversion result is ready to download.

How to convert gif to mp4 file

  • Video

Some phones, social platforms, and video editors accept MP4 but reject animated GIF files. Converting the animation can also reduce its size and provide hardware-accelerated video playback.

What the GIF format is

GIF (Graphics Interchange Format) is an image format that stores a sequence of indexed-color frames, so browsers, screen-recording tools, image editors such as Photoshop and GIMP, and animation software use it for short animations, reaction clips, screen captures, and simple graphics.

Each frame can use up to 256 colors, and GIF transparency is limited to a transparent palette entry rather than full alpha transparency. GIF files usually contain no audio, but they can store loop instructions and different display delays for individual frames.

What the MP4 format is

MP4 is a multimedia container that commonly stores H.264 or H.265 video, along with optional audio, subtitles, and metadata. Phones, televisions, browsers, media players, video editors, and social platforms widely support MP4; H.264 provides broader compatibility than H.265.

MP4 normally produces a much smaller file than GIF at comparable visual quality because video codecs compress changes between frames instead of encoding every frame as a palette-based image. It is generally more suitable for longer animations, high-resolution content, uploading, archiving, and video editing.

How to convert a GIF to MP4

Using 101convert.com

  1. Open the GIF-to-MP4 converter on 101convert.com.
  2. Select or drag the source .gif file into the upload area.
  3. Choose MP4 as the output format and start the conversion.
  4. Download the resulting .mp4 file when processing finishes.

This method requires no installed software. The output normally follows the GIF's frame sequence and duration, but it cannot contain audio unless an audio track is added separately.

Using FFmpeg

FFmpeg gives control over the codec, quality, dimensions, frame rate, pixel format, and MP4 layout. A broadly compatible H.264 conversion is:

ffmpeg -i input.gif -c:v libx264 -crf 23 -preset medium -pix_fmt yuv420p -movflags +faststart output.mp4

yuv420p is widely accepted by browsers, phones, televisions, and hardware decoders. -movflags +faststart moves the MP4 index near the beginning of the file, which helps playback start before the entire file downloads.

Lower -crf values increase quality and file size; values from about 18 to 23 are useful starting points. The H.264 encoder generally requires even dimensions. If the source has odd dimensions, add a scale filter that rounds both dimensions down:

ffmpeg -i input.gif -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -crf 23 -preset medium -pix_fmt yuv420p -movflags +faststart output.mp4

Do not raise the frame rate unnecessarily. A filter such as -vf "fps=30" can normalize output for a particular workflow, but it cannot recreate motion absent from the GIF and may duplicate frames. GIFs with irregular frame delays may require variable-frame-rate handling or may play slightly differently after encoding.

Quality and compatibility limits

  • Standard H.264 MP4 does not preserve GIF transparency. Transparent regions usually become a chosen background color, commonly black or white.
  • MP4 has no universal equivalent of a GIF's loop instruction. Many players play the video once; looping must be enabled by the destination application or web page.
  • A GIF normally has no audio track, so conversion produces silent video. Add audio separately in a video editor or with an FFmpeg command that includes an audio input.
  • GIF frame delays can be very short, irregular, or interpreted differently by software. A converter may normalize timing, causing a small change in duration or playback speed.
  • Upscaling a small GIF increases the pixel dimensions but does not restore detail. Use the original source or a higher-resolution export when available.
  • H.264 with yuv420p and even dimensions is the safest general-purpose choice. H.265 can reduce file size further but is less compatible with older devices and software.

GIF vs MP4: format comparison

How the GIF and MP4 formats compare on the properties that matter most for this conversion.

Comparison of the GIF and MP4 file formats
Property .GIF Graphics Interchange Format .MP4 MPEG-4 Part 14
Open standard Partly open Yes
Compression Lossless Both
Typical file size Small Small
Opens in a web browser Yes, natively Yes, natively
Further editing Limited Limited
Metadata support Basic Extensive
Plain-text readable No No
Best used for Web publishing Sharing and distribution
Introduced 1987 2001
Developer CompuServe Moving Picture Experts Group (ISO/IEC)
MIME type image/gif video/mp4

Frequently asked questions

Is the GIF to MP4 converter free?

Yes, converting GIF to MP4 on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my GIF file be?

You can upload GIF files up to 50 MB and convert up to 5 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert GIF to MP4?

No. The GIF to MP4 conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid GIF file for this GIF to MP4 conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
gif file conversion

Reverse conversion

Convert to mp4 from
other formats

Share on social media: