GIF to MP4
Made in your browserTurn animated GIFs into MP4 videos that play on phones, in slides and on social apps that don't accept GIF uploads. Every frame keeps its own timing, transparent areas get the background color you choose, and you can repeat a short loop until the video is long enough. The conversion runs in your browser with its built-in video encoder, so nothing is uploaded.
An MP4 plays wherever GIFs are accepted as video, and is often much smaller than the GIF.
How to use it
- Drop one or more GIFs, paste one, or pick them from your device.
- Choose the size, how long the video should be (play once, repeat, or at least a number of seconds), the speed and the quality.
- If the GIF has transparent areas, pick the background color: white, black, green screen or any color.
- Click Convert to MP4, check the video next to the original, then download it, or download all as a ZIP.
How the conversion keeps your GIF looking right
A GIF stores each frame as a patch drawn over the previous one, with a rule for what to do afterwards: leave it, clear it to transparent, or restore what was there before. The converter rebuilds every full frame with those rules, the same way a browser does, so animations with partial frames, cleared areas or local color tables come out exactly as they play on the web.
Frame delays are copied as they are rather than forced to a fixed frame rate, so a GIF that pauses on its last frame still pauses in the MP4. Changing the speed scales every delay by the same amount.
Loops, length and size
An MP4 has no built-in loop setting the way a GIF does; whether it loops depends on the player or site. If you need the clip to run longer, choose Repeat or At least a number of seconds and the animation is played back to back inside the video.
Small GIFs often look soft after a site upscales them. Choosing 2× or 720p lets the encoder work from a larger frame, and the Pixel art option keeps hard edges for sprite and pixel animations instead of smoothing them.
Details
- Output
- MP4 with H.264 video (no audio track), fast-start for web playback
- Frame timing
- Each frame keeps its own GIF delay; delays of 0 or 10 ms play as 100 ms, as in web browsers
- Size
- Original, half, 2×, 720p or 1080p (short side), up to 1920 px on the long side; even dimensions for H.264
- Transparency
- MP4 has no transparency, so transparent pixels are filled with your chosen color
- Limits
- Up to 100 MB, 3,000 frames and 16 megapixels per GIF
- Browsers
- Chrome, Edge, Safari 16.4+ and Firefox 130+ (needs the WebCodecs video encoder)
- Privacy
- Runs in your browser; GIFs are not uploaded
Questions
Is my GIF uploaded to a server?
No. The GIF is decoded and the MP4 is encoded on your device, using the video encoder built into your browser. Nothing is sent anywhere, and the page keeps working offline once it has loaded.
Why is an MP4 often smaller than the GIF?
GIF stores every frame with a 256-color palette and simple lossless compression, while H.264 predicts each frame from the previous ones and only stores the changes. The tool shows the exact sizes before you download; you can choose Medium or Smallest file to shrink it further.
What happens to transparent parts of the GIF?
MP4 video can't be transparent, so transparent pixels are filled with the background color you pick. White suits most pages, black suits dark themes, and green (#00ff00) lets you key it out again in a video editor.
Will the MP4 loop like the GIF?
That depends on where it plays. Many apps and sites loop short videos automatically, but a video file itself has no loop flag. To make the clip longer, use Repeat or At least 3, 10 or 15 seconds.
Can I convert many GIFs at once?
Yes. Drop several GIFs together; they convert one after another with the same settings, and Download all saves them as a ZIP with each MP4 named after its GIF.
Why does it say my browser can't encode MP4?
The converter uses the WebCodecs video encoder with the H.264 codec. Current Chrome, Edge, Safari (16.4 or later) and desktop Firefox (130 or later) have it; some older browsers and in-app browsers don't. Opening the page in one of those browsers fixes it.