Skip to content
Convertube

MP4 to GIF converter

Free MP4 to GIF converter in your browser: pick the seconds you want, set the width and frame rate, and download a looping GIF. No watermark, no upload.

Runs on your deviceFree, unlimited

Drop files here

or

Accepts .mp4 · Up to 20 files at a time · up to 4.0 GB each "Upload" and "download" here mean your browser reading a file from this device and writing one back to it. Your file is never sent to a server — open your browser's network panel and watch: no request carries your file.

s

Seconds from the beginning of the video

s

Seconds to keep; 0 runs to the end

Take only the seconds you need

A GIF is for a moment, not a scene, so the first two settings choose which part of the video to keep. Start at is the second the GIF begins; Length is how many seconds it runs, and 0 means to the end of the video. To make a three-second GIF from 20 seconds into a clip, enter 20 and 3.

Only that part is decoded. Three seconds taken from the middle of a one-minute 1080p video were ready in 3 to 4 seconds, against 8 to 11 seconds for converting a whole five-second clip — and the GIF's first frame matched the video at exactly the 20-second mark.

How big the GIF will be

Short answer: at the default 480 px and 12 fps, five seconds of 1080p camera footage became a 2.3 MB GIF. Width matters most; frame rate less than you might expect.
WidthFrame rateGIF of a 5-second clip
320 px12 fps1.1 MB
480 px12 fps (default)2.3 MB
720 px12 fps4.9 MB
480 px8 fps1.7 MB
480 px15 fps2.7 MB
480 px24 fps3.8 MB

Each step up in width roughly doubles the file, because it adds pixels in both directions. Doubling the frame rate adds only about 60 per cent: neighbouring frames are alike, and the palette is shared. The same five seconds saved as an MP4 at the same 480 px and 12 fps came to 204 KB — about a tenth of the GIF, which is why a long GIF is the wrong choice where a video would play.

Measured on 27 October 2026 in Chrome on a laptop with an Intel Core i7-1165G7, with a 1080p H.264 clip of detailed outdoor footage. A screen recording or a cartoon, with large flat areas, comes out much smaller.

How the colours are kept

A GIF can hold only 256 colours. The converter reads the clip twice: first to work out the 256 colours this particular clip needs, then to draw every frame with them, mixing neighbouring colours in a fine pattern where a gradient needs more shades. That is why skies and skin tones come out smooth instead of in bands. The GIF loops forever, and the sound is dropped, because GIF has no audio.

Where it does not fit

  • Long clips. A minute at the default settings is roughly 30 MB. Keep it to a few seconds, or share the MP4.
  • Photographic detail at large sizes. Above 480 px, fine textures such as leaves or water show the colour mixing as speckle.
  • No cropping, text or speed change. This takes a stretch of the video as it is; an editor such as ezgif's does those.
  • Files over 4 GB on a computer, or 512 MB on a phone. Only the part you choose is turned into the GIF, so a long video is fine.

Other ways to make one

  • ffmpeg with the same two-pass palette, as in the FAQ below — the command this page runs.
  • Online GIF editors such as ezgif add cropping, captions and effects, but upload the video to do it.
  • Photoshop (File, Export, Save for Web) gives frame-by-frame control at the cost of a licence and a few minutes per clip.

MP4 to GIF FAQ

How do I make a GIF from an MP4 with ffmpeg?

This page is ffmpeg — a WebAssembly build of it running in your browser — so you get the same result without installing anything, free and with no watermark. On the command line, the default settings here are: ffmpeg -i input.mp4 -vf "fps=12,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=3" -loop 0 output.gif. The palettegen step builds a 256-colour palette from the clip itself, which keeps gradients from banding. To take only part of a video, put -ss 5 -t 3 before -i: start at 5 seconds and keep 3.

Why is the GIF so much bigger than the video?

Because GIF stores frames almost independently, while H.264 stores mostly the differences between them. That is a thirty-year gap in compression technology. Shorten the clip, lower the frame rate, or reduce the width — each cuts the size roughly proportionally.

Can I convert a whole video?

Technically yes, practically no. A few minutes of footage produces a GIF of hundreds of megabytes that most browsers will struggle to display. GIF is for clips of a few seconds: set Start at and Length to take just that part, and keep anything longer as video.

What frame rate should I choose?

12 fps is the default and reads as smooth for most motion while halving the frames of a 24 fps source. Raise it to 15 or 24 for fast action, drop to 8 for slow pans and screen recordings, where the size saving is larger than the visible cost.

Why does the colour look slightly grainy?

That is dithering — deliberately mixing available colours to approximate ones the 256-colour palette does not contain. It trades a fine speckle for smooth gradients, which at normal viewing size is much the better bargain than visible banding.

Is the audio kept?

No. GIF has no audio track at all, so the sound is discarded. If you need the sound, keep the clip as MP4 or convert to WebM.

Does the GIF loop?

Yes, forever. That is written into the file, so it loops in any viewer without needing a web page to tell it to.

Related guides

Related converters

About MP4About GIFVideo converter