From the right clip to the right GIF, with the size in view before you generate.
The tool plays the video in your browser, lets you mark the clip on the timeline and, when generating, seeks to each instant of the clip, draws the frame on a canvas (with crop, resizing and caption) and encodes the result. This works in any browser that can play the file, without depending on WebCodecs. The number of frames is duration divided by speed, times FPS: 5 s at 12 frames per second gives 60 frames, and GIF size grows with frames x width x height, so lowering the width from 640 to 480 px cuts about 44% of the pixels. A GIF has at most 256 colors per palette; since gifenc does no dithering, the tool applies its own: Bayer (an 8x8 ordered pattern, stable between frames) or Floyd-Steinberg (error diffusion at 7/16, 3/16, 5/16 and 1/16). With a global palette, unchanged pixels become transparent and the file shrinks. Smaller alternatives are animated WebP (assembled from WebP frames produced by the canvas, where the browser makes them) and a short MP4 or WebM video (where an encoder exists). The size shown before generating is an estimate; the real one appears afterwards. Clips over 30 s and combinations beyond 1500 frames or 300 million pixels in total are blocked so memory is not exhausted. The size shown does not come from a formula: the tool encodes a few frames of your clip, spread from start to end, with the chosen settings and extrapolates to the total, also showing a likely range. Until the measurement arrives, a guess is shown.
How to use
Pick the video, mark the clip and generate the GIF.
Choose or drop the video. Drag the timeline handles to mark the clip (the default is the first 5 seconds). The preview loops only that clip.
Adjust width, frames per second, speed and repeats. Advanced options hold aspect-ratio crop, a caption with position and color, dithering, number of colors and a field to fit a target size in MB.
Check dimensions, frames and the estimated size, click Generate and download. If the GIF is heavy, switch the format to WebP or short video.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/video-to-gif"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Video to GIF Converter"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/video-to-gif">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/video-to-gif">Video to GIF Converter</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Pick the file, mark the clip and click Generate. The tool extracts frames with the browser's own player, draws each one on a canvas and builds the GIF in memory, all on your device. Nothing is sent to a server, so there is no queue, no upload limit and no copy of your video anywhere.