Photos & videos are never uploaded or stored.

Why?
BROWSER CAMERA

GIF to MP4 Converter

Turn animated GIFs into MP4 videos that are a fraction of the size, play smoothly everywhere and can be posted where GIFs aren't accepted, all on your device.

Drop images here, or click to choose

Animated GIFs, up to 20 at a time. They are converted on your device and never uploaded.

Settings

Video

Size
Quality

2× enlarges small GIFs with sharp pixels, so sites that shrink videos keep them crisp.

Playback

Play the animation

Videos don't loop by themselves the way GIFs do; repeating makes short clips long enough for stories and status updates. Each frame keeps the GIF's own timing.

Updated

Convert GIF to MP4 in your browser

Drop one or more animated GIFs above. Each one is converted to an MP4 video right away, with a side-by-side preview of the original GIF and the new video, and the file sizes before and after. Download the MP4, or all of them as a ZIP.

Why MP4 beats GIF

The GIF format dates from 1987. It stores every frame as a 256-colour image compressed with LZW, a method designed for simple graphics, not motion. Video codecs like H.264 only store what changes between frames and use far better compression, so the same animation as MP4 is typically 80–95 % smaller, with full 24-bit colour instead of 256 colours and no dithering noise.

GIF MP4 (H.264)
Colours 256 per frame Millions (24-bit)
Typical size 100 % 5–20 %
Loops by itself Yes Only if the player loops
Transparency On/off per pixel No
Accepted by Instagram, TikTok, WhatsApp status Rarely Yes

That's why Twitter/X, Imgur, Giphy and Reddit already convert uploaded GIFs to video behind the scenes.

How it works

  1. The GIF is decoded frame by frame (with gifuct-js) and each frame is composited exactly as browsers play GIFs: frame position, transparency and disposal methods (keep, clear to background, restore previous) are all handled, so partial-frame and optimised GIFs come out right.
  2. Each frame is encoded by your browser's built-in video encoder (WebCodecs). H.264 High Profile is used when available, with the bit rate chosen from the frame size, frame rate and the quality setting.
  3. An MP4 file is written (with mp4-muxer) with the index at the start ("fast start"), so it begins playing before it has fully downloaded.

Each frame keeps its own duration: a GIF that pauses on its last frame for 2 seconds still does in the video.

Settings

  • Size: Original, 2× (pixel-sharp enlargement for small GIFs), or a maximum of 1920 or 1280 pixels on the longest side. Video frames must have even dimensions, so an odd-sized GIF gets at most one pixel of background added.
  • Quality: Smaller, High (default) or Maximum changes the bit rate. High is visually clean for almost all GIFs.
  • Play the animation: repeat the animation 1×, 2×, 3×, 5× or 10× in the video. Useful because videos don't loop on their own everywhere.
  • Background for transparency: MP4 has no alpha channel; transparent pixels get this colour.

Where to use the MP4

  • Instagram, TikTok, Facebook, WhatsApp status: they accept video, not GIF files. Use 2–3 repeats for a clip of at least a few seconds.
  • Websites: replace a heavy GIF with <video autoplay loop muted playsinline> for much faster pages. Google's PageSpeed specifically recommends this ("Use video formats for animated content").
  • Slides and documents: PowerPoint, Keynote and Google Slides play MP4 smoothly.
  • Email and chat: smaller files send faster.

If you need the opposite, a still image from a GIF, use GIF to PNG or GIF to JPG.

Private by design

Most online GIF converters upload your file to their server, convert it there and keep it for a while. Here the GIF never leaves your device: it's decoded and encoded by your browser, and the video exists only in your browser's memory until you download it.

Frequently asked questions

Why convert a GIF to MP4?

An MP4 is usually 5 to 20 times smaller than the same animation as a GIF, has full colour instead of 256 colours, and can be posted on Instagram, TikTok, WhatsApp status and other places that do not accept GIF files.

Is the conversion free and without watermark?

Yes. No sign-up, no watermark, and up to 20 GIFs at a time.

Are my GIFs uploaded?

No. The GIF is decoded and the video encoded by your browser (WebCodecs) on your device. Nothing is sent to our servers.

Which video codec is used?

H.264 (AVC), the most compatible video format, whenever your browser has an H.264 encoder (Chrome, Edge and Safari do). Otherwise VP9 or AV1 in an MP4 file. The codec used is shown under the preview.

Does the video keep the GIF's speed?

Yes. Every frame keeps its own display time from the GIF. Delays of 0–10 ms are shown for 100 ms, exactly as browsers play GIFs.

Why doesn't my MP4 loop like the GIF?

GIFs loop by themselves; videos only loop if the player is set to. Use Play the animation 2×–10× to repeat it inside the video, for example to reach the minimum length of stories and status updates.

What happens to transparent GIFs?

MP4 video cannot be transparent, so transparent areas are filled with the background colour you choose (white by default).

My GIF is tiny. Can I make the video bigger?

Yes: Size 2× doubles it with sharp, square pixels, so platforms that shrink or re-compress videos keep it crisp.

Does the MP4 have sound?

No. GIFs have no sound, so the MP4 has no audio track.

Which browsers are supported?

Current Chrome, Edge and Opera, Safari 16.4+ and Firefox 130+ on desktop: browsers that encode video with WebCodecs. Older browsers show a message instead.

Related tools