How GIF Encoding From Video Frames Works
A video file is really just a stream of compressed frames plus audio - your browser's built-in media engine already knows how to decode and play it back. This tool leans on that: it loads your file into a real <video> element, then repeatedly seeks that element to a specific timestamp, waits for the browser to report that the seek finished, and draws whatever frame is showing onto an offscreen <canvas>. Do that once per timestamp across your trimmed range at your chosen frame rate, and you end up with an ordered stack of still images - the raw material a GIF needs.
Those canvas frames are then handed one by one to gif.js, an open-source JavaScript GIF encoder. It reduces each frame's colors down to a 256-color palette (the hard limit of the GIF format), compresses the pixel data, and stitches every frame together with its own display delay into a single animated .gif file - all inside Web Workers, so the browser tab stays responsive while it works.
Choosing a Good FPS, Quality & Width
Every setting in this tool trades smoothness or accuracy against file size, and unlike a video codec, GIF has no efficient way to compress the difference between one frame and the next - so each extra frame is close to pure added weight.
| Setting | What it changes | Effect on file size |
|---|---|---|
| Frame rate (fps) | How many frames are sampled per second of clip | Directly multiplies the number of encoded frames - the single biggest size lever |
| Quality | How carefully gif.js builds each frame's 256-color palette | Higher quality (more accurate colors) takes longer to encode; has a smaller effect on size than fps or width |
| Max width | The pixel width every frame is scaled down to before encoding (height follows automatically) | Fewer pixels per frame means less data per frame, on top of however many frames you have |
A practical starting point: 8-10 fps, medium quality, and a width around 400-480px. If the result is still too large, cut the frame rate or the clip length before you touch quality or width - trimming a 6-second clip to 3 seconds halves the frame count instantly.
Trimming Tips for a Better Clip
Use the start and end sliders to isolate just the moment you actually want before you convert - not the whole video. A tightly trimmed 2-4 second clip almost always makes a better GIF than a long one: it loops cleanly, loads fast wherever you post it, and keeps the frame count low enough to use a higher quality or frame rate without the file ballooning.
Scrub the video itself first to find your in and out points, then fine-tune with the sliders - the preview jumps to whichever handle you're dragging so you can see exactly where the clip will start and end before you commit to encoding it.
Common Uses for GIFs
Frequently Asked Questions
No - the GIF format has no audio channel at all, regardless of which tool creates the file. This converter only captures the visual frames from your clip; any audio track in the source video is simply dropped during conversion, which is normal for GIFs everywhere, not a limitation specific to this tool.
8-12 fps is a good default for most clips - it reads as smooth motion without the file size exploding. Go lower (5-8 fps) for slower, simpler footage like a static talking-head clip, and only push higher for fast action, since every extra frame per second directly multiplies both file size and encoding time.
It maps to gif.js's internal quality option, which controls how carefully the encoder builds each frame's 256-color palette. A lower number analyzes more pixels and produces more accurate colors at the cost of slower encoding; a higher number samples fewer pixels for a faster but slightly less accurate result. This tool exposes it as Low/Medium/High for simplicity.
GIF has no inter-frame video compression - every single frame is stored close to independently. A long clip, a high frame rate, or a high quality setting all multiply the encoded data directly, so trimming the clip and lowering the frame rate usually cuts file size far more than shrinking the width alone.
This tool processes one video at a time so you can preview the trimmed range and result before downloading. For multiple clips, run each one through individually.