Skip to content
toolsdocks

Turn a video clip into a GIF

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 colour 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 12 fps alternates 80 ms and 90 ms frames 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 colours 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

Why is my GIF so much larger than the video?

GIF compresses each frame on its own with at most 256 colours, 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 12 fps alternates 80 ms and 90 ms frames 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.