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.
🛒 Better sound & storage
Sponsored
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
- Drop a video file onto the upload area or click to browse
- Set the trim start/end time to select which part of the clip becomes the GIF
- Choose the output width and frame rate — lower values produce a smaller file
- Click "Convert to GIF" and wait for the one-time engine download (cached after first use)
- 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
- 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.
- 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.
- 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.
- 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?
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
Was this tool helpful?
