Video to GIF Converter

Free online video to GIF converter. Trim a short clip, pick FPS and width, and export an optimized GIF in your browser using ffmpeg.wasm. No upload, no signup.

Upload
Drag and drop a video here, or click to browse
Supports MP4, WebM, MOV, MKV, AVI, M4V
Drop an MP4, WebM, MOV, MKV, AVI or M4V file (clip up to 30 seconds recommended)

About Video to GIF Converter

Video to GIF Converter turns a short clip from any MP4, WebM, MOV, MKV, AVI or M4V file into an animated GIF that you can share on chat, email, forums, or social media. You choose the start and end timestamps, the output frame rate (5 to 30 frames per second), and the width in pixels, and the tool produces an optimized GIF using a high-quality two-pass palette pipeline: first ffmpeg analyses the trimmed clip and builds a custom 256-color palette from the actual content, then it re-encodes the frames using that palette with Sierra dithering, which keeps gradients smooth and skin tones natural even though GIFs are limited to 256 colors per frame. All of this happens inside your browser through ffmpeg.wasm, a WebAssembly build of the full ffmpeg tool, so the source video never leaves your device. The engine itself is heavy (about 25 MB) and is loaded only when you click Convert for the first time, then cached by the browser for subsequent conversions. Typical use cases include making reaction GIFs from screen recordings, turning product demo videos into auto-playing previews for landing pages, and salvaging short funny moments from larger videos without needing to install desktop software like FFmpeg, Photoshop or Premiere.

What does this Video to GIF tool actually do?

It takes a short slice of a video file you select, re-encodes it at a chosen frame rate and width, and writes the result as an animated GIF. Internally it runs the real ffmpeg command-line tool compiled to WebAssembly: first it extracts a custom 256-color palette from the trimmed clip with palettegen, then it remaps each frame to that palette with paletteuse and Sierra dithering. This two-pass approach produces GIFs that look noticeably better than a naive one-pass conversion, especially on faces, gradients, and dark scenes, which would otherwise show banding. Output is a standard GIF89a file that plays in every browser, every chat app, and every image viewer.

Which video file types and codecs are supported?

The browser uses its own decoder to preview the video and ffmpeg.wasm to convert it, so anything ffmpeg understands is fair game: MP4 (H.264 / H.265 / AV1), WebM (VP8 / VP9 / AV1), MOV (most QuickTime codecs), MKV, AVI and M4V. Audio is ignored, since GIFs cannot carry sound. There is no fixed file-size limit because nothing is uploaded, but in practice files under 100 MB and clips under 30 seconds work best on a typical laptop; very long clips force ffmpeg.wasm to hold large frame buffers in memory, which can crash a tab with under 4 GB RAM available.

Is my video uploaded to a server or kept private?

Your video stays entirely on your device. The file is read into the browser's memory through the File API, written into ffmpeg.wasm's virtual file system, processed there, and the resulting GIF is handed back as a Blob your browser can preview and download. No network requests are made with the video bytes; the only outgoing requests are the one-time downloads of the ffmpeg.wasm engine itself (~25 MB) from a public CDN, which then sits in your browser cache. You can verify this in DevTools Network tab: after the engine has loaded, converting more clips creates zero outbound traffic. That makes the tool safe for personal recordings, screen captures of sensitive data, and confidential corporate footage.

Video to GIF Converter — Free online video to GIF converter. Trim a short clip, pick FPS and width, and export an optimized GIF in your browser u
Video to GIF Converter

How long does conversion take and how big will the GIF be?

On a typical modern laptop a 5-second clip at 320 pixels wide and 10 fps converts in about 6-12 seconds and produces a GIF of roughly 1-3 MB. The first conversion is slower because the ffmpeg.wasm engine has to download (~25 MB) and initialize, which adds about 10-30 seconds on a fast connection. Mobile devices and older laptops can be 3-5 times slower. The two-pass palette pipeline is more CPU intensive than a simple conversion but pays off in image quality and final file size. To minimize size for sharing, drop the FPS to 10 or below, lower the width to 320 px, and keep the clip under 5 seconds; you will rarely need more for a chat reaction GIF.

Which browsers, devices and connection speeds are best?

ffmpeg.wasm needs SharedArrayBuffer for multithreading, which requires a secure context (HTTPS) and the right COOP/COEP headers, both of which the WuTools site provides. Chrome 92+, Edge 92+, Firefox 79+, and Safari 15.2+ all work. Mobile Safari and Chrome on Android support it as well but with less RAM, so keep clips short. Because the engine bundle is around 25 MB, the first run on a 3G mobile connection can take several minutes; on a 4G or home Wi-Fi connection it is usually under 30 seconds. Once the engine is in the browser cache, future visits load it instantly and work offline.

Why is my GIF huge, blocky, or jerky? How can I fix it?

GIF is a 1987 format limited to 256 colors per frame and a relatively coarse compression scheme, so high-resolution, high-fps clips inevitably produce huge files. If your GIF is too large, lower the width (320 px is plenty for chat), reduce FPS to 10-12 and keep the clip under 6 seconds. If colors look banded, switch to an output width that better matches the source (avoid aggressive downscaling). If motion looks choppy, raise FPS to 15-20 and shorten the clip to compensate for file size. If the result is corrupt, try converting with a different codec (re-export your source from MOV to MP4 first). For very long or high-quality animated content, consider WebP or MP4 instead of GIF; they support millions of colors and are far smaller for the same visual quality.