GIF to MP4 Converter
Convert animated GIFs into much smaller MP4 videos.
Convert an animated GIF into an MP4 video. Video compression is far more efficient than GIF's, so the MP4 is usually much smaller and isn't limited to 256 colours, and many social and messaging apps handle video better than GIFs. The converter uses your browser's built-in H.264 encoder, the video format every phone, computer and social network plays. Each frame keeps its own timing, transparent areas are filled with a colour you choose, and a short GIF can be repeated so the video runs for longer. Animated WebP files work too. Everything runs in your browser, so your files are never uploaded, and there's no sign-up or watermark.
Animated WebP works too. Converted in your browser; nothing is uploaded.
Common use cases
- Post a GIF to Instagram, TikTok or another app that wants video
- Shrink a heavy GIF on a website by using a muted, looping video instead
- Send an animation in a chat app that compresses GIFs badly
- Add a GIF to a video editor or slide deck
How to use
- Choose a GIF or animated WebP.
- Choose how many times to play it in the video, and a background colour for transparent areas.
- Press Convert to MP4.
- Watch the preview and download the MP4.
FAQ
Why is MP4 smaller than GIF?
GIF compresses each frame on its own with a palette of at most 256 colours. H.264 video predicts each frame from the ones before it and stores mainly the differences, so the same animation usually takes much less space as MP4.
Which browsers can do this?
It needs the WebCodecs video encoder, which recent versions of Chrome, Edge, Safari and Firefox have. If your browser doesn't, the tool says so.
Will the video loop?
MP4 files don't loop by themselves, but most apps and players loop short videos automatically. To make the video longer, play the GIF 2, 3, 5 or 10 times.
What happens to transparency?
MP4 video has no transparency, so transparent areas are filled with the background colour you pick.
Why is the video a slightly different size?
H.264 needs an even width and height, so odd sizes are rounded to the nearest even number of pixels. GIFs larger than 3,840 pixels are scaled down to fit.
Related tools
- MP4 to GIF ConverterConvert MP4 to GIF free: choose the clip, frame rate, width and speed, preview the GIF and download it. Runs…
- GIF CompressorCompress animated GIFs: use fewer colours, lossy compression, fewer frames or a smaller size, and see the…
- GIF MakerMake animated GIFs from photos, pictures or a video clip. Reorder frames, set the speed, size and loop, then…
- Image to Base64Convert images to Base64 encoded strings for embedding in HTML or CSS.
- Base64 to ImageConvert Base64 encoded strings back to downloadable image files.
- Image CropperCrop images by dragging or by exact pixels, with 1:1, 4:5, 16:9, 9:16, 4:3 and 3:2 ratios. Save as JPG, PNG…