Convert GIF to MP4
Convert an animated GIF into a small H.264 MP4 that plays on every phone and social app.
Drop a file here or click to browse
Accepts GIF. Up to 100.0 MB per file.
Instagram, TikTok, WhatsApp status and many ad platforms accept video but not GIF, and a GIF of a few seconds can be several megabytes. Converting it to MP4 fixes both problems: the file usually shrinks by 80-95% and plays everywhere, including in the Photos app on phones.
The converter encodes H.264 with the yuv420p pixel format and rounds the width and height to even numbers, which is what phones, browsers and social apps require; odd sizes and 4:4:4 colour are the usual reasons a converted GIF will not play. Because MP4 has no "loop forever" flag, you can repeat the animation a few times inside the video. Transparent areas of the GIF become black.
How to use it
- Drop the GIF (up to 100 MB) or click to browse.
- Choose how many times the animation should play in the video.
- Leave the quality at 23, or lower it to 18-20 for sharp pixel art and text.
- Click Convert and download the MP4.
Frequently asked questions
Why is the MP4 so much smaller than the GIF?
GIF stores each frame as a compressed 256-colour image. H.264 predicts frames from each other and only stores the differences, which is dramatically more efficient for animation.
Will the MP4 loop like the GIF?
Only if the player loops it. Many social apps and chat apps loop short videos automatically. The "Play the animation" setting repeats the loop inside the file for players that do not.
What happens to transparency?
MP4 with H.264 has no alpha channel, so transparent pixels become black. Put the GIF on a solid background first if that matters.
Is the GIF uploaded anywhere?
No. FFmpeg runs in your browser, so the GIF and the MP4 are processed on your device.
Related tools
- Convert a video to GIFTurn a clip of an MP4, MOV or WebM into a looping GIF with an optimised colour palette.
- Compress a video to a target file sizeCompress MP4, MOV or WebM to a target size in MB without uploading it.
- Convert MOV to MP4Convert iPhone and Mac MOV videos to MP4 that plays on Windows, Android and the web.
- Compress a video for WhatsAppShrink a video under WhatsApp's 16 MB (or 64 MB) limit without losing the whole picture.
- Remove audio from a videoRemove the audio track from a video without re-encoding the picture.