14 categories See all →

Video to GIF Converter

Turn a video clip into a high-quality animated GIF — runs entirely in your browser, no upload

This tool downloads a one-time ~30MB conversion engine into your browser (cached after first use), then converts entirely on your device — no files are uploaded. Best for short clips (a few seconds to ~30 seconds).
Drop a video file here
or click to browse — MP4, MOV, AVI, MKV, WebM and more · up to 80MB
100% Private — No Upload

Conversion runs locally in your browser using ffmpeg.wasm (open-source, WebAssembly build of FFmpeg) with a two-pass palette technique for sharper colors than a typical single-pass GIF. Your video is never sent to any server.

Advertisement

What is Video to GIF?

Convert video clips to high-quality animated GIFs for free. Trim, resize, and adjust frame rate — runs entirely in your browser, no upload, no watermark. A free online tool that works instantly in any browser. TekPulse's Video to GIF is completely free — no signup, no ads in results, and no data stored on our servers.

How to Use Video to GIF Online

  1. Drop a video file onto the upload area or click to browse
  2. Set the trim start/end time to select which part of the clip becomes the GIF
  3. Choose the output width and frame rate — lower values produce a smaller file
  4. Click "Convert to GIF" and wait for the one-time engine download (cached after first use)
  5. Preview the result and click "Download GIF" to save it

Video to GIF Formula & Calculation

Two-pass: 1) palettegen (optimal 256-color palette from source frames) → 2) paletteuse with Bayer dithering

The animated GIF format is limited to a 256-color palette per frame — far fewer than real video's millions of colors — so naive single-pass conversion often produces banding and muddy colors. This tool uses FFmpeg's two-pass palette technique: pass one (palettegen) analyzes every frame of your selected clip to build the single best 256-color palette for that specific content (using stats_mode=diff, which weighs frame-to-frame color changes more heavily — ideal for anything with motion). Pass two (paletteuse) re-renders the GIF using that custom palette with Bayer dithering (bayer_scale=5), which simulates intermediate colors not in the palette by alternating nearby palette colors in a fine pattern, producing noticeably smoother gradients than standard GIF tools that skip palette optimization entirely.

Frame rate and width directly multiply the output file size: a 480px-wide, 15fps GIF of a 5-second clip contains 75 individually-dithered frames, each needing its own palette-mapped pixel data — this is why GIFs of even short clips can be surprisingly large files.

Key Factors That Affect Your Result

  1. Frame rate — GIFs don't use inter-frame compression the way video codecs do; each frame is stored mostly independently, so going from 10fps to 24fps roughly 2.4× the number of frames and proportionally the file size, for visibly smoother motion.
  2. Width (resolution) — Halving the width roughly quarters the per-frame pixel count and file size — 480px is the typical sweet spot for GIFs shared on social media and messaging apps where they'll be displayed small anyway.
  3. Custom palette generation — The two-pass technique produces visibly better color accuracy than simple fixed-palette GIF conversion, especially for photos and video with gradients or skin tones, at the cost of needing to process the clip twice.
  4. 15-second cap — GIF file sizes grow roughly linearly with clip duration at fixed fps/width, so capping clips at 15 seconds keeps output files from becoming impractically large (a longer clip at the same settings could easily exceed 20-30MB).

Why Use TekPulse Video to GIF?

Converts Locally via WebAssembly
Uses ffmpeg.wasm — a WebAssembly build of FFmpeg — so conversion runs on your device, not a server; a ~30MB engine downloads once and is cached
Two-Pass Palette Generation
Generates an optimized color palette first, then applies it — produces sharper GIF colors than a typical single-pass conversion
Trim & Resize
Pick start/end time (capped at 15 seconds), output width (320–854px), frame rate and loop count
Real Processing Time
Runs on your device's CPU — expect it to take noticeably longer than an instant server-side tool, especially on longer clips

Share & Embed

Help others discover this free tool. Share it or embed it on your website.

Free to embed with attribution link to tekpulse.in

Frequently Asked Questions

No — conversion runs entirely in your browser using ffmpeg.wasm, a WebAssembly build of FFmpeg. Your video file is never uploaded anywhere.

The tool uses a two-pass palette technique (palettegen + paletteuse with dithering) instead of a fixed 256-color palette, producing noticeably sharper colors and less banding than typical single-pass GIF conversion.

Animated GIF is a very inefficient format — a longer clip would produce an enormous file that's slow to load and share. 15 seconds at a reasonable width keeps the output practical for messaging apps and social media.

480px is a good default for sharing on chat apps and social media. Use 320px for the smallest file size, or up to 854px if the GIF needs to look sharp on a larger display — larger widths produce bigger files.

Some video codecs or container formats aren't supported by the in-browser engine. Try a shorter clip, or convert your video to MP4 first using the Video Converter, then use that as the source.

Was this tool helpful?