Skip to content
cosmodev ~/tools/video-to-gif

Video till GIF-konverterare

Images & Media

Konvertera ett videoklipp till en animerad GIF — extrahering av bildrutor, palettkvantisering och GIF-kodning körs allt lokalt med vår egen kodare. Inget laddas upp.

Välj en video för att göra om den till en GIF.

(Dokumentation på engelska)

Video to GIF Converter

What it does

Converts a video clip into an animated GIF with zero uploads and zero external libraries: frames are captured by seeking the browser’s own video decoder, colors are quantized by our median-cut palette extraction, and the GIF89a byte stream (LZW compression included) is assembled by our from-scratch encoder — the same encoder that ships as a Go CLI twin.

Frame rate (2-15 fps), output width, and an automatic frame cap keep output sizes sane. A live preview shows the result before you save it.

How to use

  1. Drop a video clip (MP4, WebM — whatever your browser can decode).
  2. Set the frame rate and output width.
  3. Press Convert to GIF, preview, and save.

Short clips (a few seconds) are the sweet spot — GIFs are large by nature.

Examples

A 3-second 720p clip at 10 fps and 320 px width typically produces a GIF in the 1-4 MB range, depending on motion.

Reducing fps to 5 roughly halves the size; halving the width roughly quarters it.

Good to know

  • Frames are capped at 300 — longer clips are trimmed to that budget at the chosen fps.
  • Every frame re-quantizes against one shared 128-color palette, keeping colors stable across the animation.
  • For extracting frames from an existing GIF, use the GIF Frame Extractor instead.
Källkod14 språk

100% på klientsidan · dina data lämnar aldrig din webbläsare. Hittade du detta användbart? Dela det med en kollega.