Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
Converting MP4 to GIF gives you a silent looping animation you can paste where video is not accepted — at a real cost, because a GIF stores every frame in full and is routinely ten times larger than the MP4 it came from. Drop the file above and it converts inside your own browser. The defaults trim to ten seconds at 480 pixels and twelve frames a second for exactly that reason.
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
MP4 to GIF
GIF has no motion compensation. Video formats work by storing one complete frame and then, for every frame after it, only the difference — which is why a two-minute talking-head video with a static background can be a few megabytes. GIF stores each frame as an entire picture, one after another, forever.
The consequence is a size curve that catches people out. Ten seconds of ordinary footage as a GIF is comfortably larger than the whole MP4 it came from, often by a factor of ten or twenty. There is no setting that fixes this and no converter that avoids it; it is the format, unchanged since 1989. What can be done is to give it less to store, which is what the three settings under the result are for.
Length, width and frame rate each multiply the size almost directly, and they are worth understanding because the defaults are conservative on purpose. Frame rate is linear: doubling from twelve to twenty-four roughly doubles the file, because it doubles the number of complete images. Width is quadratic: halving it quarters the size, because area scales with the square of the edge.
Measured on the same clip while building this page: 320 pixels wide at 8 frames a second produced 209 KB, while 640 pixels at 20 frames a second produced 781 KB — and the second of those was from *two* seconds of footage against three. That is the whole lesson in one comparison: a shorter clip at a higher setting can easily be larger than a longer one at a sensible setting.
If the place you are pasting this accepts video, paste video. Every major platform has for years — Twitter and Reddit convert uploaded GIFs to video silently, because they are paying for the bandwidth. A WebM of the same animation is dramatically smaller and looks better: converting a 448 KB GIF back to WebM in our own testing produced 19 KB. Four per cent, playing identically.
GIF earns its place where nothing else is accepted: an older forum, a wiki, a company intranet, an email signature, a documentation generator, a chat platform that treats GIF specially. If your destination is one of those, this is the right conversion and the settings below are how to make it fit. If it is not, convert the MP4 to WebM instead and save yourself the size and the banding.
Generated video comes back short, silent and small, which is unusually well suited to GIF. A three- or five-second clip headed for a chat window, an issue thread or a documentation page is the one situation where the format still earns its place.
The warning above is not suspended, though. A generated clip at full resolution still produces an enormous GIF, so drop the width to around 480 and the frame rate to 12 first. Where the destination accepts video at all, the MP4 itself remains better.
A GIF frame can contain at most 256 distinct colours, and video frames routinely contain tens of thousands. Every frame therefore has to be reduced, and how visible that is depends entirely on the footage. A screen recording of an interface — flat panels, solid text, few colours — comes through almost untouched, which is why software demos are the one case where GIF still genuinely works.
Real footage does not fare as well. Skin tones, skies and any gradual shift of light break into visible bands. Each frame here is given its own palette rather than sharing one across the clip, which is the better of the two approaches and matters most when the scene changes: a single shared palette leaves everything after a cut rendered in the previous scene’s colours.
Your browser already decodes MP4 — it does it on every site that plays video. This page uses that decoder, samples the frames it wants, reduces each one to a palette and writes the GIF, all in the tab you have open. Nothing is uploaded and no account is involved.
That is worth pointing out here because GIF making is one of the most upload-hungry corners of the internet: running ffmpeg on a server is simply easier than doing this properly in a browser, so nearly everyone does. You can check which kind of site you are on in ten seconds — open your developer tools, watch the network tab, convert something, and see whether your video goes anywhere.
| MP4 | GIF | |
|---|---|---|
| Full name | MPEG-4 Video | Graphics Interchange Format |
| File extension | .mp4 | .gif |
| Media type | video/mp4 | image/gif |
| Compression | Lossy — file size is bought with quality | Lossless — nothing is discarded |
| First published | 2001 | 1987 |
| Published by | MPEG | CompuServe |
| Specification | ISO/IEC 14496-14 | GIF89a |
| Licensing | Open standard | Open standard |
| Standing today | Current | Legacy, still read everywhere |
| Bit depth | — | 8 |
| Colour it can describe | — | indexed palette |
| Largest image | — | 65,535 px per side |
| Opens in a browser | Every browser | Every browser |
| Considered instead | WebM, MKV, MOV | WebP |
GIF stores at most 256 colours per frame. A photograph converted into one is reduced to a palette, which is what makes the sky look stepped rather than smooth — it is the format, not a quality setting.
The usual programs do not overlap: MP4 opens in VLC, HandBrake and Adobe Premiere Pro, GIF in GIMP, Adobe Photoshop and ImageMagick — so whoever receives the result needs something from the second list.
MP4 is MPEG's format, published in 2001. The specification is ISO/IEC 14496-14, and it is worth reading if the file has to outlive the tool that wrote it.
GIF comes from CompuServe and dates from 1987, specified as GIF89a. GIMP, Adobe Photoshop and ImageMagick all read it.
Because GIF stores every frame as a complete picture. Video formats store one frame and then only what changed — a talking head against a still background costs almost nothing after the first frame. GIF has no such mechanism, so ten seconds is ten seconds’ worth of complete images, and it is routinely ten to twenty times the size of the MP4 it came from. That is the format, not the converter.
The default is the first ten seconds, and that default is doing real work. Every extra second is another twelve full frames. The setting accepts up to sixty, but a ceiling of 600 frames cuts the result to fifty seconds at the default twelve frames a second, and to twenty at thirty, with no error. Check the size as well — a fifty-second GIF at a readable width is usually tens of megabytes and will be rejected by whatever you are trying to paste it into.
No. GIF has no audio at all — the format has nowhere to put it. If the sound matters, you do not want a GIF; convert to WebM or MP4, or extract the audio separately as an MP3.
Length, width and frames per second, and each one multiplies the file size almost directly. Doubling the frame rate roughly doubles the size, because it doubles the number of complete images. Halving the width quarters it, because area scales with the square. In our own testing the same clip came out at 209 KB at 320 pixels and 8 frames a second, and 781 KB at 640 pixels and 20 — from two seconds of footage rather than three.
No. The video is decoded and every frame quantised and encoded inside your browser, so the file never leaves your device. This is unusual for this conversion in particular — GIF making is one of the most upload-hungry corners of the internet, because doing it on a server is easier than doing it properly in a browser.
Because each frame is reduced to at most 256 colours. On a screen recording of an interface this is nearly invisible; on real footage with skin tones, skies or gradients it shows as banding and dithering. Every frame here gets its own palette, which is the best available answer, but the 256-colour ceiling belongs to the format and no encoder gets past it.
The claims this page makes about MP4 and GIF are checkable, and these are the documents that settle them.