GIF Ready

GIF to MP4 Converter

Turn an animated GIF into a small MP4 video that plays everywhere. This GIF to video conversion keeps the frame timing, and nothing is uploaded.

Your GIF is processed on your device and never uploaded.

Files over 25 MB and batch ZIPs: free preview, download with Pro.

How it works

  1. 1Drop a GIF, or paste one with Ctrl+V.
  2. 2Every frame is encoded to H.264 video on your device.
  3. 3Download the MP4, often a fraction of the GIF's size.

How the conversion works

Your browser decodes the GIF one frame at a time, with each frame already composited onto the full canvas, so what gets encoded is what you would see on screen. Every frame is drawn on a white background and handed to the browser's video encoder with its own start time and duration. That is why a GIF with uneven delays keeps its pace as an MP4. The video is encoded at a high quality setting and packed into an MP4 file with no audio track. The preview plays it muted and looping, the same way you would use it on a page.

Even sizes and browser support

H.264 needs an even width and height. If your GIF is 481 px wide, the video is 480 px wide, so an odd size loses one pixel column or row. Transparent areas turn white because MP4 has no transparency; if you need to keep it, use GIF to WebP instead. The conversion uses the video encoder built into your browser, so you need a recent Chrome, Edge, Firefox or Safari. If the browser cannot encode a video that large, the tool tells you to resize the GIF first, which Resize GIF does.

Put the video on your page

A video file has no loop setting, so the page has to ask for the behavior. Muted is required for autoplay in every major browser, and playsinline keeps iPhones from opening the video full screen. Set width and height on the tag so the page does not jump when the video loads. This is worth doing for big animations: a 5 MB hero GIF can be the Largest Contentful Paint element and push it past Google's 2.5-second threshold on mobile, and a smaller MP4 is one of the easiest ways to fix that.

When to keep the GIF

Convert animations on pages you control, and keep the GIF anywhere you do not control the player.

FAQ

More GIF tools