Drop the GIF on this page or press Choose GIF. The page reads it on your device and shows its size, its frames and how long it plays. If it has see-through parts, choose the Background color they take; under Plays, choose how many times the MP4 plays the animation.
Press Convert to MP4. Each frame is drawn the way a browser shows it and encoded as H.264 by your browser, in an MP4 file with no sound. The page shows both sizes and plays the MP4; Download MP4 saves it.
A GIF stores every frame on its own, in at most 256 colors. H.264 predicts each frame from the one before and stores only how it differs, so a video-like GIF shrinks the most: our 3.1 MB GIF of grazing horses, cut from a video, became a 92 kB MP4, 97% smaller.
GIFs that already change little shrink less: our screen recording GIF went from 171 kB to 95 kB, 45% smaller. A tiny GIF can come out larger, because an MP4 has a minimum it needs: our 6 kB sticker became an 8 kB MP4, and the page says so.
Each frame of the GIF becomes one frame of the MP4 and stays on screen as long as in the GIF: a frame of 3 hundredths of a second stays 3, a pause of half a second stays half a second. A frame the GIF gives 0 or 1 hundredths is shown for a tenth of a second, as browsers do, so the MP4 plays at the speed you see on the web.
GIFs often store only the part of a frame that changed, and say how to clear it afterwards. The page draws every frame on top of the last, following those instructions, so the MP4 shows whole pictures: our sticker stored both ways made the same video.
An MP4 has no see-through pixels. When the GIF has them, the page asks which color they take: White, Black, or any color under Other color. Choose the color of the page or the slide the video goes on, and the edges blend in.
A GIF with no see-through parts shows no Background choice: its colors go into the MP4 as they are.
A GIF can loop by itself; an MP4 plays once, unless the player loops it. Many apps and sites loop short videos, but where yours does not, choose Plays: the MP4 then holds the animation 2, 3, 5 or 10 times in a row.
Each repeat adds its frames to the file, so the MP4 grows with the count: our sticker played 3 times came to 23 kB.
H.264 video needs an even width and height. A GIF with an odd side gains one row or column of pixels copied from its edge, so nothing is stretched and no line of another color appears: our 337 × 193 GIF became a 338 × 194 MP4.
A very small GIF that a browser's encoder turns down at its own size is scaled up by 2, 4 or 8, each GIF pixel becoming a sharp square.
The MP4 is encoded by your browser's own H.264 encoder. Chrome and Edge have one, and so do Safari 16.4 or later and Firefox 130 or later on a computer. If a browser has none, the page says so.
GIFs of up to 100 MB and up to 4,096 pixels wide and tall convert. It takes seconds: our 57-frame GIF of horses took about a second and a half.
An animation usually goes with a message: a post, a slide, a reply. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the message can be said rather than typed. It is free to start.
Six GIFs converted with this page, each played once, with a white background. Sizes as the page shows them, 1 MB being 1,000,000 bytes.
|
| Grazing horses, cut from a video, 402 × 280, 57 frames | 3.1 MB | 92 kB | 97% smaller |
|---|
| Reaction GIF, 337 × 193, 27 frames | 585 kB | 28 kB | 95% smaller |
|---|
| Phone video made into a GIF here, 480 × 270, 60 frames | 1.8 MB | 111 kB | 94% smaller |
|---|
| Screen recording made into a GIF here, 640 × 360, 31 frames | 171 kB | 95 kB | 45% smaller |
|---|
| Dog at a laptop, 500 × 362, 4 frames | 78 kB | 65 kB | 16% smaller |
|---|
| Sticker on a transparent background, 241 × 171, 12 frames | 6 kB | 8 kB | 34% larger |
|---|
The MP4s are H.264 in standard video colors (BT.709), with no sound. The more a GIF looks like video, the more it shrinks.