Video to GIF Converter - No Upload Needed

Turn any part of a video into a looping GIF with smooth, unbanded colours. Pick the clip with start/end handles, set fps and width. In your browser, no upload.

Runs in your browser. No data leaves your device.

About this tool

Turns a clip of a video into an animated GIF in your browser. The tool first looks at up to 12 frames spread over the clip and picks the 256 colours that best fit it (median cut), then seeks through the clip frame by frame; each frame is dithered against that palette and LZW-compressed in a Web Worker (the same pure JavaScript GIF89a encoder as the File Converter) while the next one is captured. No encoder library or WebAssembly is downloaded and the video is never uploaded.

Features
  • Player with play/pause, frame-by-frame stepping (arrow keys), seek bar, mute and fullscreen
  • Clip start and end handles (drag, tap the bar, arrow keys, or Set start / Set end at the playhead); the first 3 seconds are selected to begin with
  • Frame rate slider from 5 to 20 fps (default 10)
  • Output width slider from 100 to 640 px in 20 px steps (default 320, never wider than the video); height follows the source aspect ratio
  • Gradient smoothing: Steady (ordered dithering, default), Fine (Floyd-Steinberg error diffusion) or Off
  • Live line with the frame count and the GIF's pixel size before converting
  • Progress bar with the current step (choosing colours, capturing frames) and a Cancel button
  • Animated GIF preview with the file size, frame count, size, colours and time taken
  • Settings are remembered on this device; the GIF loops forever
  • Accepts a video handed over from another tool
How to use it
  1. Drop a video on the upload box or click it to choose one
  2. Drag the clip handles (or use Set start / Set end) to pick the part you want
  3. Set FPS, width and gradient smoothing
  4. Click Convert to GIF and wait for the progress to reach 100% (Cancel stops it)
  5. Check the preview, then click Download GIF
Inputs
  • Any video file the browser can play
  • Drag-and-drop or file picker
  • No file size cap
Outputs
  • Animated GIF named after the source file (name.gif)
  • One 256-colour palette per clip, built by median cut from frames sampled across the clip, so colours stay stable from frame to frame
  • Steady: 8x8 ordered dithering (still areas do not shimmer); Fine: Floyd-Steinberg; Off: nearest colours only (flat graphics, smallest files)
  • Smooth gradients make bigger files than banded ones: a 3 s, 640x360 gradient clip at 10 fps is about 2.4 MB (was 0.34 MB with the old fixed palette, which banded badly)
  • Frame delays are stored in hundredths of a second, so some frame rates are rounded (15 fps plays at about 14.3 fps)
Limits and notes
  • Clip length is limited by the GIF budget shared with the File Converter: at most 3,000 frames and 400 million pixels in total (about 86 s at 640x360 and 20 fps); the line above the button says when a clip is too long
  • Maximum output width 640 px
  • Frame capture (seeking the video) runs on the page; encoding runs in a Web Worker, falling back to the page if workers are unavailable
  • A frame that cannot be read within 10 seconds stops the conversion with an error instead of hanging
  • No audio in the output
  • Only the settings are stored locally (frame rate, width, smoothing)

Frequently Asked Questions

How does the Video to GIF Converter work?

The tool first samples up to 12 frames across your clip and builds the 256 colours that best fit it with a median-cut palette. Then it seeks through the clip frame by frame with the HTML video element, draws each frame onto a canvas and reads its pixels. Each frame is dithered against the clip palette, LZW-compressed in a Web Worker and written into a GIF89a file with the Netscape looping extension -- all in pure JavaScript with no external encoder library.

Why do gradients look smooth instead of banded?

A GIF can only hold 256 colours. Instead of a fixed colour cube, the tool picks the 256 colours your clip actually uses and then dithers: Steady (the default) mixes neighbouring palette colours in a fine fixed pattern, so skies and gradients look smooth and still areas stay still between frames; Fine uses error diffusion for the finest gradients in each frame; Off uses the nearest colours only, best for flat graphics and the smallest files.

What video formats can I convert?

MP4, WebM, MOV, and other formats supported by your browser. Most common video formats from phones and cameras work out of the box.

Can I control the GIF size?

Yes. Pick the clip with the start and end handles, and set the frame rate (5 to 20 fps) and the output width (100 to 640 px). Lower frame rates, smaller widths and shorter clips make smaller GIFs and convert faster, and turning smoothing Off makes the smallest files. Smooth gradients take more space than banded ones.