Skip to content
Yunedia Tools

Video to GIF

Turn a video segment into an animated GIF with a choice of frame rate and width, using a generated palette for better colors. Runs on your device with ffmpeg.wasm; the file is never uploaded. GIFs grow large quickly; keep segments short.

Processing engine not loaded

This tool processes video with ffmpeg.wasm, a WebAssembly build of FFmpeg that runs entirely in your browser. Loading it downloads 30.85 MB from this site (measured 2026-11-16). Your files are never uploaded.

or drop the file here

GIF files grow very large very fast. Keep the segment short and the width small.

Use seconds (90) or a timecode (1:30 or 0:01:30).

How to use

  1. Load the processing engine (the button shows the exact download size first).
  2. Choose a video, set the start time and length (a few seconds is best), the frame rate, and the width.
  3. Press "Process" and download the animated GIF.

Notes

The GIF is built in two passes: the first generates an optimized color palette from your segment, the second encodes with that palette, which looks noticeably better than a generic palette. GIF has no real compression for photos and video, so size explodes quickly — 3 seconds at 480px wide and 12 fps is a sensible starting point; doubling the width roughly quadruples the file size.

FAQ

Why is my GIF so large?
Every frame is stored as a full picture with at most 256 colors. Shorten the segment, lower the frame rate, or reduce the width — each helps a lot. If you do not specifically need a GIF, a short MP4 is typically ten times smaller at better quality.
Can the GIF loop forever?
Yes, the output is encoded with an infinite loop count, which is the standard behavior players and chat apps expect.