toolgarden.xyz
中文

Video to GIF

Convert video clips to animated GIFs in your browser: trim any range, pick a frame rate and output width, and encode locally. Files never leave your device.

Source preview

Video to GIF settings

Segment

Set the segment after uploading a video

Frame rate
Output width

Only process videos you own or are authorized to edit. Frame sampling and quantization run entirely in your browser; nothing is uploaded.

Output GIF

The rendered GIF will appear here

About this tool

Video-to-GIF encodes a video segment into an animated GIF locally in your browser: frames are sampled deterministically at your chosen rate (8 / 12 / 15 fps) and quantized on-device with gifenc, producing size-friendly GIFs.

GIF is a 256-color format, so rich gradients band slightly; text, UI recordings and other high-contrast content work best. Trim a 3–10 second segment before converting.

The video is never uploaded; sampling and quantization all happen on your device.

How to use it

  1. Upload a video

    Common formats such as MP4, WebM and MOV, up to 5 minutes and 300MB.

  2. Pick range and settings

    Trim the segment with sliders, choose fps and output width: higher values mean bigger files.

  3. Render and download

    Per-frame sampling and quantization take a moment; preview the loop when done.

Supported range and limits

Output
GIF (per-frame palette quantization)
Frame rate
8 / 12 / 15 fps presets
Width
240 / 360 / 480 px presets, aspect preserved
Limits
300MB and 5 minutes per source, 900 frames
Quantization
gifenc with a local palette of up to 256 colors per frame
Privacy
Everything runs locally in the browser; the video is never uploaded

When you would use it

  • Reaction loops

    Grab a few seconds of action; 360px wide at 12fps is the usual balance of size and smoothness.

  • UI walkthroughs

    Screen recordings with text have few colors, so GIF compresses them almost losslessly.

  • Docs and tickets

    GIFs loop automatically and need no player, which beats embedding video in documentation.

What to know before you start

  • GIF is limited to 256 colors, so photographic gradients and noise band; use video formats when fidelity matters.
  • GIF has no audio; keep the original video for sound or process it with another tool.
  • Frame count is capped at 900 and frame size has a protective limit; long segments are automatically slowed in fps to control size and time.

Related concepts

Palette quantization
Reducing each frame’s true-color pixels to at most 256 colors — the core constraint of the GIF format.
Deterministic sampling
Seeking to fixed timestamps per frame instead of grabbing frames during playback, keeping the output rhythm even.

Frequently asked questions

Why is the GIF bigger than the video clip?
GIF compresses photographic content far less efficiently than modern video codecs. Lower fps, smaller width and shorter segments all shrink it; UI recordings with flat colors usually stay tiny.
The GIF has banding or flicker — what can I do?
Banding comes from the 256-color limit of GIF; flicker usually means the frame rate is too high. Try 8fps. Text and UI recordings with few colors work best.
Can I convert a whole video?
Conversion is capped at 900 frames, about a minute at 15fps. GIFs are meant to be short segments; trim the part you need first.