Map Extract
Free tool

GIF to video converter

Choose an animated GIF, pick MP4 or WebM and press Convert to video. The page shows the new file size and how it compares with the GIF.

Runs in your browser. On first use it downloads an open-source processing engine from a public code CDN; your files stay on your device.

Converting a GIF

  1. Choose the GIF

    Select a .gif file. A preview appears so you can check it is the right animation.

  2. Pick a format

    MP4 (H.264, plays everywhere) is the safe choice for websites, social platforms and phones. WebM (VP9) is an open format that many websites use for background loops.

  3. Convert

    Press Convert to video. The first time, your browser fetches the video engine described below; after that it starts at once. A progress bar shows each stage.

  4. Check and download

    Play the result, read the New size and Change figures, and download the file, which is named after your GIF with -video added.

Example: a product loop for a landing page

A software reseller has a GIF of a dashboard filling with data, 640 by 361 pixels, which makes the landing page slow to load on a phone. Converted to MP4 it becomes a short silent video the page can play on a loop.

H.264 needs even dimensions, so the frame is trimmed by one pixel row to 640 by 360. GIFs store every frame as a full palette image while video codecs store only what changes, so the MP4 is usually a fraction of the original size; the page tells you the exact saving.

Input
dashboard.gif, 640 x 361
Format: MP4 (H.264)
Result
dashboard-video.mp4, 640 x 360, no sound

Limits worth knowing

Transparent areas of the GIF become black, because MP4 and standard WebM have no transparency. If the animation sits on a coloured background, flatten it onto that colour before converting.

Email is the one place a GIF still wins. Most email programs animate GIFs inline but will not play an embedded video, so keep the GIF for newsletters and use the video version on web pages and social posts.

Questions people ask

Why convert a GIF to MP4 at all?

Size and smoothness. A GIF is limited to 256 colours per frame and compresses poorly, so a few seconds of animation can weigh several megabytes. The same clip as H.264 video is normally much lighter, looks cleaner and plays without stutter, which helps page speed on mobile connections.

Will the video have sound?

No. GIFs contain no audio, so the video is silent too. That is convenient for website loops, because browsers only autoplay muted videos. If you want music, add it afterwards in a video editor.

Is MP4 or WebM better?

MP4 with H.264 plays on practically every phone, browser, editor and social platform, so choose it when unsure. WebM with VP9 is open and well supported by current browsers, but some older Apple devices and editing programs handle it less reliably.

Where your data goes

Conversion runs in your browser using the open-source ffmpeg engine. On first use about 31 MB of its code is downloaded from the jsDelivr public CDN and cached; your GIF itself is never uploaded.

Checked against the tool on

Top