FileLabs

Video

GIF to MP4

Turn an animated GIF into an MP4. Transparent pixels become a background color.

Files stay on this device
  1. 1Upload
  2. 2Options
  3. 3Process
  4. 4Download

Drop a file here, or browse.

Animated GIF · under 100 MB stays on this device · a larger file is not accepted

GIF to MP4 is for an animated GIF you want to post or send as video — many apps prefer MP4 over a heavy GIF. Encoding runs Local in the browser under about 100 MB: H.264 video, no upload under that cap. Transparent pixels become the background color you pick (shown before process). You can set an optional even width from 2 to 1920 pixels; leave width empty to keep the GIF’s size. GIFs are not routed through the still-image compressor. A larger file is not accepted on this page.

This tool is free to use.

Files under about 100 MB stay on this device. A larger file is not accepted on this page.

How to convert a GIF to MP4

  1. Add one GIF under about 100 MB. Under that cap processing stays on this device.
  2. Confirm GIF to MP4 is Local under that cap — ffmpeg.wasm encodes on this device; larger files are rejected.
  3. Pick a background color for transparent pixels. Optionally set an even width (2–1920).
  4. Check the background color for transparent pixels and any even width before you process.
  5. Process and download the MP4. To shrink the GIF before converting, use Compress GIF. To go the other way from a video, use Video to GIF. To shrink the MP4 after, use Compress Video. Need a shorter clip first? Use Trim. Need a general H.264/AAC container from other video? Use Convert to MP4. Sibling clip tools live on the Videos hub.

GIF to MP4 FAQs

Does the file leave this device?

Under about 100 MB the file stays on this device (Local). A larger file is not accepted on this page.

What happens to transparency?

It becomes the background color you choose in the color picker. MP4 output here has no alpha channel.

What does the width field do?

Optional scale to an even pixel width between 2 and 1920. Leave it blank to keep the GIF’s native width. Odd values are stepped to even.

How is this different from Video to GIF?

This page starts from a GIF and makes an MP4. Video to GIF starts from a video and makes a looping GIF with clip range, FPS, and width.

GIF still huge before convert?

Run Compress GIF with a 64 or 128 color palette first, then convert here. After download, Compress Video can shrink the MP4 further under the same ~100 MB Local cap.

Why convert a GIF to MP4 for Discord or Slack?

Chat apps often accept or autoplay H.264 MP4 more reliably than a multi-megabyte animated GIF, and many channels enforce smaller attachment limits. Under about 100 MB this page encodes Local in the browser — the GIF is not uploaded. Pick a background color if the GIF has transparency; MP4 here has no alpha.

Will the MP4 be smaller than the GIF?

Usually yes for long or colorful loops, because H.264 compresses motion far better than GIF palette frames — but results vary by content. If the GIF is already huge, run Compress GIF first, convert here, then optionally Compress Video on the MP4 — all under the same ~100 MB Local cap.

Page guide updated 2026-10-06