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

Pengonversi Video ke GIF

Images & Media

Konversi klip video menjadi GIF animasi — pengambilan frame, kuantisasi palet, dan enkode GIF semuanya berjalan secara lokal dengan encoder kami sendiri. Tidak ada yang diunggah.

Pilih video untuk mengubahnya menjadi GIF.

(Documentation in English)

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.
Kode sumber14 languages

100% client-side · your data never leaves your browser. Found this useful? Share it with a teammate.