Convert video segments to animated GIFs with palette optimization. 100% in-browser.
Upload a video, select a segment, and convert it to an animated GIF
Video to GIF conversion runs entirely in your browser using ffmpeg.wasm. Your video file is never uploaded to any server.
A GIF is an 8-bit image format: every frame can reference at most 256 colors. Converting video therefore has two jobs. First, frame sampling — ffmpeg trims the clip (-ss start -t duration) and decimates it to a low frame rate (10/15/24 fps) while scaling down to a small width (320/480/640), because both directly multiply the number of pixels you pay for. Second, color quantization: the tool runs palettegen to study all sampled frames and pick the 256 most representative colors, then paletteuse maps every frame to that palette. A two-pass palette dramatically reduces banding and file size compared with a naive global conversion.
Frame count = fps × duration, and each frame stores a palette index rather than full RGB. Smaller width, lower fps, and a well-chosen palette are what keep the GIF light.
Sam films a one-take golf trick shot on his phone and wants a tight, loopable GIF for his group chat.
Trim video and convert to animated GIF: pick segment, quality and fps. In-browser, free.
The Video to GIF Converter is a free, browser-based tool that converts a segment of a video file into an animated GIF. You can trim the start and end points, choose from three quality presets, and optimize the color palette for smaller file sizes. All processing happens locally in your browser — no upload, no signup.
Drop your video file into the tool. Use the sliders to select the start and end of the segment you want. Choose a quality level (Low, Medium, or High). Click convert, and the tool extracts the frames, optimizes the color palette, and generates the animated GIF. Download the result when ready.
Yes, 100% free with no signup, no watermark, and no usage limits. All GIF conversion happens in your browser. Your video file never leaves your device.
After loading your video, use the start and end sliders to select the segment you want to convert. The preview shows the selected frame. Typical GIF segments are 2-6 seconds — longer segments produce very large files.
Three quality levels: Low (128px width, 10 fps, 128 colors), Medium (256px width, 15 fps, 256 colors), and High (480px width, 20 fps, 256 colors with dithering). Higher quality produces larger GIF files.
GIF is an inefficient format for video — even a 3-second clip can be 5+ MB. To reduce size: use a shorter segment (2-3 seconds), lower the quality preset, reduce frame rate, and avoid videos with many colors or fast motion. The palette optimization feature also helps reduce file size.
Configure frame rate (10-30 fps; 15fps is optimal for most content), resolution (scale down to 480px or 320px width), color palette (256, 128, or 64 colors), and segment trim points. A 5-second clip at 480px/15fps produces a 2-4MB GIF. Lower fps and fewer colors reduce size by 40-60% with minimal visual impact.
GIF uses uncompressed 256-color frames—every frame is a full image. A 10-second 720p GIF at 30fps can exceed 50MB. Reduce size by: lowering fps to 10-15 (saves 50%), scaling width to 480px (saves 60%), trimming to the essential 3-5 seconds, and reducing colors to 128. This tool applies all four optimizations with one slider.
This tool is also known by these tasks — each link opens the same tool with a focused guide:
What do you call a crab that plays baseball?
No paywalls, no signups, no data sold. Built by a solo developer who believes useful tools should be accessible to everyone.
☕Support me on Ko-fi— keep tools free100% of proceeds go towards hosting & building more free tools.