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

Конвертер відео в GIF

Images & Media

Конвертуйте відеокліп в анімований GIF — захоплення кадрів, квантизація палітри та кодування GIF виконуються локально нашим власним кодеком. Нічого не завантажується на сервер.

Виберіть відео, щоб перетворити його на GIF.

(Документація англійською)

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.
Вихідний код14 мов

100% на боці клієнта · ваші дані ніколи не залишають ваш браузер. Було корисно? Поділіться з колегою.