Free MP4 GIF converter
MP4 to GIF: convert an MP4 file to an animated GIF
Convert MP4 to GIF in a few clicks: pick the seconds you want, choose the frame rate and size, and download a GIF that loops anywhere an image can go. The MP4 is converted on your device, so even a large file opens right away.
Updated
Drop an MP4 to convert to GIF
MP4, MOV, WebM, or any video your browser plays · pick the start, end, and frame rate · up to 150 frames
or paste with Ctrl/⌘ + V
How it works
How to convert MP4 to GIF
- 1
Add the MP4
Drop the .mp4 file on the converter above. A preview opens with start and end handles.
- 2
Choose the part and the frame rate
Trim to the seconds you need and pick 5–25 frames per second. Fewer seconds and frames mean a smaller GIF.
- 3
Convert and download
Click Add frames, adjust the size under Canvas if you like, then Create GIF. Check the file size in the preview before you download.
MP4 vs GIF
What changes when an MP4 becomes a GIF
What is a GIF?
GIF (Graphics Interchange Format) is an image format from 1987 that can hold several frames, each shown for a set time, so it plays as a short silent animation. Each frame uses a palette of at most 256 colors, and every browser, chat app, and email client can show it like any other image. The format is defined in the GIF89a specification; MDN's image format guide compares it with PNG, WebP, and others.
MP4 vs GIF
MP4 is a video format and GIF is an image format that happens to animate. That difference explains both why people convert MP4 to GIF and why the GIF usually comes out larger:
| MP4 | GIF | |
|---|---|---|
| Compression | Stores mostly the changes between frames | Stores every frame as its own picture |
| Colors | Millions | Up to 256 per frame |
| Sound | Yes | No |
| Transparency | No | Yes (each pixel fully on or off) |
| Plays in | Video players and <video> tags | Anywhere an image works: chats, email, docs, README files |
| Autoplay and loop | Depends on the player and its settings | Always, with no controls |
So convert when the clip has to play where video can't, like a README, an email, a help article, or a chat that doesn't autoplay videos, and keep the MP4 when sound or long duration matters.
File size
Getting a small GIF from a large MP4
Because a GIF can't share data between frames the way MP4 does, the settings below matter far more than the size of the MP4 you started with. In order of impact:
- Width: 320–480 px is plenty for chats and docs. In our test, going from 480 to 240 px cut the file by 71%.
- Length: trim to the seconds that matter. Every frame you drop is a full picture saved.
- Frame rate: 10 fps is smooth for most MP4 clips; 5 fps works for slow scenes and screen walkthroughs.
- Colors: try 128 or 64 under Style. Screen recordings with flat colors barely change.
- One palette for all frames: stops color flicker in MP4s where the scene stays the same; with dithering off it trims a few percent more.
After you click Create GIF, the preview shows the exact file size, so you can adjust and try again.
Codecs
When an MP4 won't open
An MP4 is a container: the video inside it can be compressed with different codecs, and your browser has to be able to decode that codec. If the converter says it can't play a file, the codec is the reason.
H.264 (AVC)
The most common codec inside MP4 files. Every modern browser plays it, so these files always convert.
MDN: video codecsH.265 (HEVC)
Used by recent iPhones and some cameras. Safari plays it; support in other browsers depends on your device. If it won't open, try Safari or re-export as H.264.
Browser support: HEVCAV1
A newer codec used by some apps and downloads. Current Chrome, Edge, and Firefox play it; older browsers and devices may not.
Browser support: AV1Have a MOV, WebM, or a phone video instead? The video to GIF converter covers clips from phones, screen recorders, and webcams.
Measurements
What the settings actually cost you
We encoded one 2.4-second clip, 24 frames at 480 × 270 of a slow pan across a portrait photo, as a GIF and as five other animated formats. The last column compares each file with the H.264 MP4, the format most MP4 files you'll convert are in.
The same clip in six formats
| Format | File size | Compared with the MP4 |
|---|---|---|
| GIF (256 colors, dithered) | 2,107 KB | 25.5× |
| GIF (64 colors, one palette, no dithering) | 1,011 KB | 12.2× |
| APNG (lossless) | 7,272 KB | 88× |
| WebP (lossy, quality 75) | 297 KB | 3.6× |
| MP4 (H.264, CRF 23) | 83 KB | 1× |
| MP4 (AV1, CRF 35) | 33 KB | 0.4× |
The default GIF came out at 25.5× the size of the MP4. Lossless APNG was larger still, and lossy WebP sat in between. That gap is why the first question when converting an MP4 is whether the place you're posting to needs an image at all.
How far GIF settings close the gap
| GIF settings (one change each) | File size | Compared with the MP4 |
|---|---|---|
| Default: 480 px, 24 frames, 256 colors, dithered | 2,107 KB | 25.5× |
| Width 320 px | 1,006 KB | 12.2× |
| 12 frames (5 fps) instead of 24 | 1,051 KB | 12.7× |
| 64 colors, one palette, dithering off | 1,011 KB | 12.2× |
Each of these single changes roughly halved the GIF. None of them brought it near the MP4: the smallest GIF here is still 12.2× its size. We didn't measure every combination; the preview after Create GIF shows the exact size of your own result.
Fewer colors on camera footage
| Colors (dithering on) | File size | Change | Quality (PSNR) |
|---|---|---|---|
| 256 colors | 2,107 KB | baseline | 35.5 dB |
| 128 colors | 1,676 KB | −20% | 33.5 dB |
| 64 colors | 1,327 KB | −37% | 31.1 dB |
| 32 colors | 1,022 KB | −52% | 28.8 dB |
Halving the colors saves less than halving the width, and each step costs about 2 dB of quality, which shows first in skin and skies. For MP4 footage, lower the width and frame rate before touching colors. The full set of measurements, with crops of each version, is in the guide to making a GIF smaller, and the format comparison in GIF vs WebP vs MP4.
Examples
Before and after: an MP4 and a gradient
One MP4 clip, three filesBefore: H.264 MP4, 480 × 270, 2.4 seconds: 83 KB.Converted with the default settings (24 frames, 256 colors, dithered): 2,107 KB, 25.5× the MP4.After switching to 64 colors, one palette, and dithering off: 1,011 KB (−52% from the default GIF), at the same size and frame count.
Dithering on
Dithering offTroubleshooting
When an MP4 to GIF conversion goes wrong
The MP4 won't open
Why: MP4 is only the container. The video inside can be H.264, HEVC (H.265), or AV1, and the converter can read it only if your browser can decode that codec.
- Find the codec: in QuickTime Player choose Window → Show Movie Inspector, or open the file in VLC and look at its codec information.
- HEVC: open this page in Safari. AV1: use a current Chrome, Edge, or Firefox.
- Anything else, or still no luck: re-export the clip as H.264, for example with QuickTime's File → Export As (Use HEVC unchecked) or HandBrake's H.264 presets.
The GIF is 25.5× the size of the MP4
Why: That's normal for GIF, not a bug. In our test the same 2.4-second clip was 83 KB as an H.264 MP4 and 2,107 KB as a default GIF, because MP4 stores mostly what changes between frames and GIF stores each frame whole.
- Trim the clip to the seconds you need before adding frames; each second at 10 fps is ten full pictures.
- Lower the width under Canvas and pick 5–10 fps in the trimmer.
- If the destination accepts video (most chat apps and social sites do), post the MP4 and keep the GIF for places that need an image.
Gradients turned into stripes
Why: Each GIF frame holds up to 256 colors, while an MP4 can show millions. A sky or a soft shadow that spans many shades gets split into visible bands when colors run short.
- Set colors back to 256 under Style if you lowered them.
- Keep dithering on for camera footage: it hides the band edges with a fine pattern.
- If the bands are still visible, the scene is a poor fit for GIF; WebP or the MP4 itself will look better.
Black bars around the picture
Why: Some MP4s have the bars baked into the video, for example a 4:3 clip exported in a 16:9 frame or a phone clip with blurred sides. The converter keeps every pixel of the video, bars included.
- After adding the frames, open Canvas → Crop.
- Drag the crop box to the edges of the actual picture; it applies to every frame.
- Then set the width. Cropping first means none of the file size is spent on black pixels.
The GIF runs slightly slower than the MP4
Why: GIF stores frame delays in hundredths of a second. At 15 fps each frame should last 66.7 ms, which is saved as 70 ms, so a 6-second clip plays for 6.3 seconds.
- Use 5, 10, 20, or 25 fps: their delays (200, 100, 50, and 40 ms) are stored exactly.
- The same applies to the speed setting: 1.5× at 10 fps also lands on 70 ms per frame.
- Check the GIF length shown in the trimmer and on the timeline before creating the GIF.
The dithering guide has more crops of banding and grain, and the frame delay guide explains how GIF stores timing. For a problem not listed here, email contact@easygif.app with the MP4's codec and your browser.
Method
How we test
The GIF numbers on this page come from a script that runs the converter's own encoder and dithering code on a fixed clip: 24 frames of a pan across a Pexels portrait, at 480 × 270. For the format table, the same 24 frames went through ffmpeg into APNG, WebP at quality 75, H.264 at CRF 23, and AV1 at CRF 35. CRF 23 is x264's default and quality 75 is cwebp's default.
Each GIF row changes one setting from the default and records the file size and the PSNR of all frames against the source. The format comparison was run on this one clip only. A short, slow pan is a friendly case for every format, and a busier MP4 will be larger in all of them. The disclaimer explains what these numbers can and can't tell you about your own files.
About
Who makes this, and why it's free
EasyGIF is a one-person project. The MP4 converter is built around a browser feature: a page can play a video file straight from your disk and copy frames out of it. That's why an MP4 of up to 2 GB opens without a progress bar, while a server-based converter has to receive the whole file before it can start. The About page explains how each part of the tool works.
Since your device does the converting, a GIF costs the site nothing to make, so there is no paid tier and no watermark. What it does cost, hosting and development time, is covered by the Google AdSense ads placed in the articles under the converter.
If you'd rather verify the no-upload claim than trust it, follow how to check whether a GIF maker uploads your files: convert an MP4 with your browser's Network tab open and see that no request carries it.
FAQ
MP4 to GIF FAQ
- How do I convert MP4 to GIF?
- Add the MP4 to the converter above, drag the handles to the part you want, pick a frame rate, and click Add frames. Then click Create GIF, check the preview, and download it.
- Is this MP4 to GIF converter free?
- Yes. No sign-up, no watermark, and no limit on how many MP4 files you convert.
- How large can the MP4 file be?
- Up to 2 GB. The file plays from your disk instead of being loaded into memory, and only the frames you select are read from it.
- Why is my GIF bigger than the MP4?
- MP4 saves only what changes between frames, while GIF saves every frame as a full picture with its own colors. A GIF is often several times larger than the MP4 it came from. Lower the width, trim the clip, or use fewer colors to bring it down.
- Will the GIF look as good as the MP4?
- Close, but not identical: each GIF frame can hold up to 256 colors, so smooth gradients like skies can show banding. Dithering, on by default, hides most of it.
- Can I convert MP4 to GIF on my phone?
- Yes, in Safari on iPhone and iPad and in Chrome on Android. Phones are limited to 60 frames and 640 px so the browser doesn't run out of memory.
- Can I convert MOV or WebM files too?
- Yes. Any video your browser can play works the same way; see the video to GIF converter for tips on phone videos and screen recordings.
- Is my MP4 uploaded anywhere?
- No. The MP4 is decoded and the GIF is made inside your browser. The file never leaves your device.
MP4 to GIF: go deeper
All guides →- Formats & timingGIF vs WebP vs APNG vs MP4: which format for a short animation?We exported the same 24-frame clip as GIF, APNG, animated WebP, H.264, and AV1 and compared the files. Here's when GIF is still the right choice and when to switch.
- File size & qualityHow to make a GIF smaller: what each setting actually savesWe encoded the same clip dozens of ways and measured the file each time. Width and frame count matter most; colors and dithering come next; frame delay saves nothing.
- File size & qualityGIF dithering explained: when it helps and when it just adds sizeDithering hides color banding in photos but fills flat graphics with noise. Side-by-side crops and measured file sizes show when to turn it on or off.
More GIF tools
- GIF Creator →Turn photos, screenshots, or an existing GIF into an animated GIF.
- Video to GIF →Any clip from your phone, camera, or screen recorder, trimmed to the moment you want.
- GIF Editor →Open a GIF you already have to crop, trim, resize, speed up, reverse, or caption it.
One job at a time: GIF Compressor · GIF Resizer · GIF Cropper · WebP to GIF · PNG to GIF · iPhone Video to GIF