GIF to MP4 Converter

: Convert animated GIFs to small MP4 videos in your browser, each frame's timing kept, transparency filled with white or black, played up to 10 times. No upload, no file size limit
GIFs
Limits: GIF · Each frame keeps its own timing. Transparent areas are filled with the Background colour, since MP4 has no transparency. Video players loop an MP4 only when told to; Repeat writes the animation several times.
MP4s
Plays the GIF this many times in the MP4: many sites and players don't loop a video.
Fills transparent areas: an MP4 has no transparency.
Options
Each GIF appears here as an MP4 once it is converted.

Convert animated GIFs to MP4 videos, which are usually a fraction of the GIF's size and are what X (Twitter), Instagram, WhatsApp and most video players and editors expect. Every frame keeps its own timing, transparent areas are filled with white or black, and the video is encoded by your browser's own H.264 encoder: the GIF is never uploaded.

  1. Press Open files or drop one or more GIFs on the page. Example makes a small animated GIF and converts it.
  2. Each GIF shows a note when it is added: its frame count, size, length and how often it loops.
  3. Pick the options: Size (Original, 1080p, 720p or 480p), Repeat (how many times the animation plays in the MP4) and Background (White or Black, for transparent areas). Under Options, Quality (High, Medium, Low) sets how much space the video may use; a simple GIF needs less than even Low allows, so it barely changes.
  4. Conversion starts as soon as a GIF is added and again when you change a setting; the MP4s pane shows progress and Cancel stops it. Play each MP4 in the preview, download it on its own, or all of them with Download all as a ZIP.

The size and timing the tool plans for a few GIFs, from its own planning functions. Each line is the GIF's size, its frame count and delay (in hundredths of a second), the Size choice and the Repeat choice.

Input
320x200 24@8 original 1
481x271 40@0 original 1
1920x1080 60@4 720 3
8x8 2@50 original 1
500x500 1@0 original 1
Output
GIF 320 × 200, 24 frames at 8 hundredths, Size Original, Repeat 1×
  → MP4 320 × 200: 24 frames of 0.08 s, 1.9 s in all
GIF 481 × 271, 40 frames at 0 hundredths, Size Original, Repeat 1×
  → MP4 482 × 272 (1 px of background added for even sides): 40 frames of 0.10 s (a delay of 0 plays as 0.10 s), 4.0 s in all
GIF 1920 × 1080, 60 frames at 4 hundredths, Size 720p, Repeat 3×
  → MP4 1280 × 720 (scaled down): 60 frames of 0.04 s, written 3 times, 7.2 s in all
GIF 8 × 8, 2 frames at 50 hundredths, Size Original, Repeat 1×
  → MP4 16 × 16 (enlarged 2× with sharp pixels): 2 frames of 0.50 s, 1.0 s in all
GIF 500 × 500, 1 frame at 0 hundredths, Size Original, Repeat 1×
  → MP4 500 × 500: a still clip of 2.0 s, 2.0 s in all

Why convert a GIF to MP4?

Size and support. The MP4 is usually much smaller, so it loads faster, and X (Twitter), Instagram, WhatsApp, Slack and Discord all take MP4 uploads (X turns uploaded GIFs into MP4 itself). Video editors and presentation apps also handle MP4 better than GIF.

Does converting a GIF to MP4 keep the speed and timing?

Yes. Each frame is shown for exactly its own delay from the GIF, including GIFs whose frames have different delays, and a delay of 0 or 1 hundredth plays as 0.1 s, as in browsers.

Can I convert a transparent GIF to MP4?

Yes, but the MP4 can't stay transparent: H.264 video has no transparency. Transparent areas are filled with the Background colour, white or black.

Will the MP4 loop like the GIF?

Only if the site or player loops it. Set Repeat to 2×, 3×, 5× or 10× to put the animation in the MP4 that many times, so it plays that long everywhere.

Is my GIF uploaded?

No. The GIF is decoded and the video encoded in your browser, on your device; nothing is sent anywhere.

Runs entirely in your browser. Nothing is uploaded.