MP4 to GIF · High Quality
Add an MP4 and it turns into a GIF right away. Move the quality slider to High-spec for up to 900 pixels wide and 25 frames per second. Your file never leaves your browser.
How to make a high-quality GIF from MP4
-
Pick an MP4 with only the part you need
Length is what matters most for quality. The longer the video, the more the frame rate and width are lowered to fit your device's memory. Trimming it first, in your phone's photo editor or with Trim in QuickTime Player on a Mac, gives the sharpest result.
-
Add it to the box above
A GIF is made right away at the Balanced level. On a computer that's 540 pixels on the long side at 10 frames per second.
-
Move the quality slider to High-spec
High-spec is 900 pixels on the long side, 25 frames per second, and quality 100. The GIF is remade as soon as you let go. If you have exact values in mind, set size, frames per second and quality in Custom settings.
-
Check the file size and save
Higher quality means a bigger file. If it's going to Discord (20MB free) or X (15MB), check the size and step down a level if needed.
What a 1080p MP4 turns into
I ran this site's auto-settings code on a 1920×1080 MP4 at different lengths. These are for a computer. Phones have less memory and start one step lighter.
| MP4 length | Balanced (starting level) | High-spec |
|---|---|---|
| 5s | 540×304 · 10 fps | 900×506 · 25 fps |
| 10s | 540×304 · 10 fps | 900×506 · 20 fps |
| 20s | 540×304 · 10 fps | 900×506 · 10 fps |
| 40s | 394×222 · 10 fps | 658×370 · 10 fps |
High-spec keeps the full 900 pixels at 25 frames per second only for clips under about 5 seconds. At 10 seconds it drops to 20 frames per second, and at 20 seconds to 10. At 40 seconds the width shrinks too. So trimming the MP4 first makes the biggest difference to quality.
Source resolution matters less than you'd think. I also ran 10-second 4K (3840×2160) and 720p (1280×720) MP4s, and they came out exactly the same as 1080p. GIFs are at most 900 pixels on the long side, so anything larger gets scaled to the same size. A vertical 1080×1920 MP4 becomes 506×900 at 25 frames per second on High-spec at 5 seconds.
High quality is heavy. Five seconds on High-spec is 125 frames. Estimating from the clip I used in my file size tests, that comes close to 40MB. If you know where the GIF is going, pick the level that fits that site's limit.
When an MP4 won't open
MP4 is the name of the container. The compression inside it, the codec, is separate. Most MP4s use H.264 and open in almost any browser. But an MP4 saved with HEVC (H.265) may not open, depending on the device and browser. Videos shot on a Galaxy with the camera's high efficiency video option turned on are one example. The menu name varies a little by model.
Convert on the phone that shot it. The phone that recorded the video can play it, so opening this page in the phone's browser and adding the video there usually works.
On a Mac, try Safari. Videos that won't open in Chrome often open in Safari.
Convert it to H.264 MP4. A free program like HandBrake can turn it into an H.264 MP4, which opens in almost every browser.
iPhone MOV files work the same way. Tips for converting on a phone are in How to make a GIF on iPhone or Android.
MP4 to GIF FAQ
Is there a file size or length limit for MP4?
There's no fixed limit. The conversion runs in your device's memory, so for long videos the frame rate and width are lowered automatically. For the best quality, trim the MP4 to just the part you want before adding it.
Does the MP4's sound go into the GIF?
No. GIF can't hold sound, so even if your MP4 has audio, the GIF only has the picture.
The GIF is much bigger than the original MP4. Is that normal?
Yes. MP4 is an efficient format that mostly stores what changes between frames, while GIF is an old format that stores nearly a whole picture for every frame. The GIF is often several times bigger. Cut length first, then the quality slider, then quality. The full test is in How to reduce GIF size.
Will a 4K MP4 give me a sharper GIF?
No. GIFs are at most 900 pixels on the long side, so 4K, 1080p and 720p MP4s all become the same size of GIF. Clip length affects quality much more than source resolution. Why 900 pixels is explained here.
Can I convert an MP4 that's on my phone?
Yes. It works in Safari on iPhone and in Chrome or Samsung Internet on Galaxy phones without installing an app. Phones have less memory, so the quality slider starts one step lighter.
Related tools and guides
🎬 Video to GIF
Turn MOV, WebM and other videos into GIFs too.
✂️ Trim GIF
Keep only the part of a GIF you need, or cut out the middle.
📉 Reduce GIF size
I made the same GIF 14 times and ranked what shrinks it most.
🐦 X (Twitter) GIF limits
How to fit a GIF within 15MB and 350 frames.
💬 Discord GIF size limits
How to fit a GIF within the 20MB free limit.
🖥️ Screen recording to GIF
Record with built-in Mac and Windows tools and get a GIF with sharp text.