How to use it
- Add a GIF
You will see its size and length.
- Choose repeats and background
Repeat short GIFs so the video is long enough to post.
- Convert and download
An H.264 MP4 that plays on every phone and computer.
Why convert a GIF to MP4?
Instagram and TikTok do not accept GIF uploads, and X turns them into video anyway. An MP4 of the same animation is usually several times smaller because video compression stores only what changes between frames and is not limited to 256 colours. That makes it the better choice for long or detailed animations, presentations and email newsletters that support video.
How it works here
Your browser decodes the GIF and encodes the frames with its built-in video encoder (WebCodecs). There is no converter to download and no server involved. The video keeps every frame’s exact timing. Small GIFs are enlarged 2–3× with sharp pixels, because many apps reject videos smaller than about 240 px, and the width and height are made even numbers as H.264 requires.
Some older browsers have no H.264 encoder. They get an MP4 with the VP9 or AV1 codec, which plays in current browsers and on Android. For a GIF instead of a video, see Compress GIF; to start from a video, use Video to GIF.