Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

GIF to MP4 Converter

Convert animated GIFs into compact MP4 videos that upload cleanly to Instagram, X, Slack and presentations.

Runs in your browserEncoded on your deviceKeeps frame timing
1

Add a GIF & options

Drop an animated GIF hereor click to pick a file from your deviceGIF · one file at a time
2

MP4 video

Results appear here. Nothing is uploaded.

How to use GIF to MP4

  1. Add a GIFThe animation is decoded frame by frame, keeping each frame’s own duration.
  2. Choose playbackMP4 files do not loop by themselves, so you can repeat a short animation 2–5 times. Pick a color for transparent areas.
  3. Convert & downloadThe video is encoded with your browser’s hardware or software encoder. Preview it, then download the MP4.

How the GIF becomes an MP4 in your browser

This converter uses the WebCodecs VideoEncoder built into modern browsers to encode H.264 video, and the MIT-licensed mp4-muxer library to write a standard MP4 file. No ffmpeg download and no server are involved. Each GIF frame keeps its exact display time, so the video plays at the same speed as the original.

H.264 requires even dimensions, so odd widths or heights are padded by one pixel. Video has no transparency, so transparent pixels are filled with the color you pick. If your browser lacks an H.264 encoder, VP9 inside MP4 is used and you are told. Browsers without WebCodecs at all (older Safari and Firefox versions) cannot create the video and will show a clear message instead.

Frequently asked questions

Why convert a GIF to MP4?

GIF is a 1980s format limited to 256 colors with inefficient compression. For photographic clips and screen recordings, the same animation as H.264 video is often 5–10× smaller and has full color (very simple cartoon GIFs may gain less), which is why X (Twitter) and many chat apps convert uploaded GIFs to video behind the scenes.

Will the MP4 loop like a GIF?

Video players loop only if the website or player is told to. That is why the tool can repeat the animation 2, 3 or 5 times inside the MP4, which helps on platforms that reject very short videos.

Which browsers are supported?

Current Chrome, Edge and Opera on desktop and Android, Safari 16.4+ on Mac and iPhone, and Firefox 130+. If WebCodecs is missing, the page tells you instead of producing a broken file.

Is there audio in the MP4?

No. GIFs never contain sound, so the MP4 has a single video track.

Can Instagram accept the result?

Instagram and some other platforms reject very short videos (under about 3 seconds). If your GIF is shorter, choose to play it 2–5 times. Square or portrait GIFs work best for feeds.

Related tools

All tools