DevTools Logo

Video to GIF Maker

Video to GIF Maker

Cut a clip from any video and convert it to a crisp GIF — palette-optimized, self-hosted FFmpeg, no uploads

Examples

Bug repro loop

Input
6 s clip · 480 px · 12 FPS
Output
≈ 3–5 MB GIF that autoplays in trackers and READMEs

Short, narrow, moderate FPS is the size budget that survives chat platforms.

About this tool

Converts video clips to GIFs with FFmpeg compiled to WebAssembly — the ~31 MB engine downloads from this site once, is browser-cached, and works offline afterwards. The video never leaves your device.

Quality comes from the two-pass palette pipeline: palettegen builds a 256-color palette from your actual clip, paletteuse converts against it with Bayer dithering, and Lanczos scaling keeps downsizing sharp. A live size estimate warns before a 40 MB monster is born.

How to use this tool

  1. Load a video

    MP4, WebM or MKV; duration and dimensions are detected.

  2. Trim and tune

    Start/end (max 60 s), FPS 5–24 and width 120–1280, with live size estimate.

  3. Convert

    The engine encodes with the per-clip palette; progress streams live.

  4. Download

    Preview plays on the page; save the GIF when it looks right.

Use cases

Issue trackers

Autoplaying reproduction steps without attachment downloads.

README demos

Feature walkthroughs that render inline on GitHub.

Conversion settings

SettingRange
Clip lengthUp to 60 seconds
FPS5–24
Width120–1280 px (height follows aspect)
Palette256 colors, per-clip, Bayer dithering

Common mistakes

Mistake:Full-length, full-width conversions

Fix:GIF bytes scale with width × height × FPS × seconds — trim first, and let the estimator guide you.

Mistake:Expecting audio

Fix:GIF is a silent format; keep sound in the original video.

Frequently asked questions

Why do these GIFs look better than default conversions?

Each GIF is built in two passes: FFmpeg first generates a 256-color palette from your actual clip (palettegen), then converts using that palette (paletteuse). Default converters use a fixed web palette, which causes banding and speckle.

How do I keep the GIF small enough for chat or GitHub?

Short clip, narrow width, moderate FPS: 5 seconds at 480px and 12 FPS is a safe starting point. The live size estimate updates before you commit.

Does it work offline?

After the first visit, yes — the ~31 MB FFmpeg engine is cached by your browser, and conversion runs fully on your device.

Which video formats are supported?

Whatever your browser and the engine decode: MP4 (H.264), WebM (VP8/VP9) and MKV containers are the reliable choices.

References & standards