Video to GIF

Pick a video, choose a section and size — it's turned into a looping GIF in your browser, nothing is uploaded.

Animated GIF

About this tool

Turn a video into a shareable animated GIF without leaving your browser. Pick a video, choose the section you want (a start time and a duration), set the frame rate and width, and you get a looping GIF back — the file never leaves your device.

How it works

The tool runs ffmpeg, compiled to WebAssembly, with a two-stage palette filter. First it generates a colour palette tuned to your exact clip (palettegen), then it applies that palette to the frames (paletteuse with dithering). That produces a much cleaner GIF at a much smaller size than the naive fixed-256-colour conversion most converters use.

Tips for a good GIF

Notes

FAQ

Is there a size limit on the video?

Yes — the converter caps both the input video and the resulting GIF at 25 MB. If your source is bigger, trim it first or convert just a section using start and duration; a shorter window is also far faster to process in the browser.

How do I convert only part of the video?

Set start (seconds into the video) and duration (clip length in seconds). Leaving duration at 0 converts from the start point to the end. The seek happens on the input side (-ss before -i), so jumping deep into a long video is fast — frames before the start point are never decoded.

What are the frame-rate and width limits?

Frame rate accepts up to 60 fps (default 12), and width up to 4096 px (0 keeps the source size). Height is computed automatically to preserve the aspect ratio and rounded to an even number, and the resize uses high-quality Lanczos scaling — so you only ever pick the width.

Does the GIF loop, and can I stop it looping?

The output is written with loop=0, the GIF convention for "repeat forever", which is what chat apps and social sites expect. There's no play-once option here — if you need a non-looping animation, a short MP4/WebM is usually the better format anyway.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool video-to-gif 'url=https://example.com/input' 'start=0' 'duration=5' 'fps=12' 'width=480'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/video-to-gif/?url=https://example.com/input&start=0&duration=5&fps=12&width=480

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.