Skip to content
toolsdocks

Make a GIF from a video

Turn a section of a video into an animated GIF or WebP with size and frame-rate control.

Runs on your device
Loading tool…

How to use

  1. Add a video and set the start and end (type times or use Set from playhead).
  2. Choose GIF or animated WebP, the width, frame rate, loop and color options.
  3. Estimate the size if you like, then create the animation, check it and download.

Worked example

A 4-second clip at 480 px wide and 12 fps produces 48 frames. GIF stores delays in hundredths of a second, so at 12 fps the delays repeat 80, 90, 80 ms to keep the total at exactly 4 s.

Supported formats and limits

InputMP4, MOV, WebM, MKV
OutputGIF, Animated WebP
LimitsUp to 60 seconds of output; widths from 120 to 1280 px (never wider than the video). Needs a browser with WebCodecs (current Chrome, Edge, Safari 17+ or Firefox 130+). Other browsers are told so before any work starts.
EngineFrame extraction via Mediabunny/WebCodecs → per-frame or global palette (gifenc) with optional Floyd–Steinberg dithering; animated WebP from libwebp frames

Limitations

  • GIF is limited to 256 colors per frame; gradients may band (dithering helps).
  • GIFs are much larger than MP4 for the same clip.
  • The size estimate is extrapolated from the first 6 frames.
  • Animated WebP plays in current browsers but not in every app.

Questions

How do I make a high quality GIF from a video?

Keep the clip short, use a per-frame palette with dithering, and choose a width no larger than you need. The size estimate from the first frames shows the cost before you export.

Why is my GIF so much larger than the video?

GIF compresses each frame on its own with at most 256 colors, so it is usually much larger than an MP4 of the same clip. A lower frame rate, a smaller width, one palette for all frames or animated WebP make it smaller.

Is the GIF timing exact?

Yes in total. GIF stores frame delays in hundredths of a second, so at 12 fps the delays repeat 80, 90, 80 ms and a 4-second clip still lasts exactly 4 seconds.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

See the privacy policy for how toolsdocks handles data.