Convert a GIF to MP4
To convert a GIF to MP4, drop it here and download the video: every frame is shown as long as in the GIF, and the MP4 is usually several times smaller, so Instagram, WhatsApp status, TikTok and X take it. It can play the animation 2, 3, 5 or 10 times in a row, because an MP4 has no loop setting. It runs in your browser, so the GIF is never uploaded.
Drop GIFs hereChoose GIFs
Animated GIFs or PNGs become MP4 videos, many at once.
Your files stay on this device. Nothing is uploaded.
How to convert a GIF to MP4
Add the GIFs
Drop one or more animated GIFs on the blue box on tuul.io/gif-to-mp4/, or choose them from Photos or Files on a phone.
Choose how many times it plays
An MP4 plays once; choose 2, 3, 5 or 10 times to repeat the animation inside the video, for a story or a status that needs a few seconds.
Download the MP4
Play it in its row to check, then download it, or all of them as one ZIP, and post it like any video.
GIF to MP4: details
- Input
- Animated GIFs and animated PNGs (APNG); animated WebP isn't read yet
- Output
- MP4 with H.264 video (4:2:0, an even width and height), no sound, plays on every phone and computer
- Timing
- Every frame keeps its own delay from the GIF, the last one too
- Loops
- Once, or 2, 3, 5 or 10 times in a row
- Transparency
- See-through parts become white or black: an MP4 has no transparency
- Size
- Often 2 to 16 times smaller than the GIF; a tiny GIF of a few flat colours stays about the same size
- Upload
- None
- Price
- Free
GIF to MP4: questions
How do I convert a GIF to MP4?
Encode its frames as an H.264 video, each for as long as the GIF shows it. On tuul.io/gif-to-mp4/ you drop the GIF and download the MP4 a few seconds later; nothing is uploaded.
Why is the MP4 so much smaller than the GIF?
A GIF stores every frame with at most 256 colours and simple compression, while H.264 only stores what changes between frames. The same animation is often 2 to 16 times smaller as an MP4 (a 1.6 MB screen-recording GIF became 97 KB), and it can have more colours.
Will the MP4 loop like the GIF?
An MP4 has no loop setting, so a video player plays it once. WhatsApp, Instagram, X, Telegram and Slack loop short videos by themselves. To repeat it inside the video, choose 2, 3, 5 or 10 times under Play it on tuul.io/gif-to-mp4/.
How do I post a GIF on Instagram or as a WhatsApp status?
Neither takes a GIF file as it is, but both take an MP4. Convert it on tuul.io/gif-to-mp4/, choose 3 or 5 times for a short GIF so it lasts a few seconds, and post the video.
How do I convert a GIF to MP4 on an iPhone?
Open tuul.io/gif-to-mp4/ in Safari, choose the GIF from Photos or Files, and tap Save or share, then Save Video to put the MP4 in Photos.
How do I convert a GIF to MP4 on Android?
Open tuul.io/gif-to-mp4/ in Chrome, choose the GIF from your gallery or downloads and download the MP4; it appears in Files and in your gallery.
What happens to transparent parts?
They become white, or black if you choose it, because an MP4 has no transparency. To keep a see-through sticker, keep it as a GIF and make it smaller on tuul.io/gif-compressor/ instead.
Sources
- W3C: Graphics Interchange Format version 89a (frame delays, loops) (w3.org)
- FFmpeg wiki: H.264 video encoding guide (CRF, yuv420p for compatibility) (trac.ffmpeg.org)
- MDN: Media container formats (MP4) (developer.mozilla.org)
Next steps
- Compress GIFMake animated GIFs smaller: fewer colours, fewer frames or a smaller size, timing kept.
- Video to GIFMake an animated GIF from part of a video, with its own size, frame rate and loop.
- Compress videoMake a video small enough for WhatsApp, Discord or email, or any size in MB.
Guides
- How to turn a GIF into a video (MP4)Convert an animated GIF to an MP4 for Instagram, WhatsApp status or TikTok, on a phone or computer, with its timing kept and a much smaller file.
More video tools
- Convert videos to MP4MOV, MKV, AVI, WebM, TS and FLV, with the picture copied whenever it can be.MOV to MP4MKV to MP4AVI to MP4TS to MP4WebM to MP4FLV to MP4
- Video trimmerCut the part you need out of a video or CCTV recording, without re-encoding it.
- Merge videosNewJoin clips into one MP4 in the order you choose; matching clips lose no quality.
- Rotate videoNewTurn a sideways video the right way up, or mirror it: MP4 and iPhone MOV in a second, no quality lost.
- Remove audio from videoMute a video: the sound comes out, the picture stays exactly as it is.