Video to GIF Creator
Turn a video clip into a high-quality GIF or animated WebP with fps, width and dithering.
How it works
Makes a GIF or animated WebP from up to 15 seconds of a video. Choose start, length, frame rate and width; GIFs use ffmpeg's two-stage palette (palettegen/paletteuse) with selectable dithering for much better colours than a default conversion. Shows the size, frame count and a preview.
- ffmpeg seeks to the start time and reads up to 15 seconds. The frames are resampled to the chosen fps and scaled with Lanczos to the width (never wider than the source); the height follows the aspect ratio.
- GIF: palettegen builds an optimal palette of up to 256 colours from the clip (from all pixels or only changing ones), and paletteuse maps every frame to it with the chosen dithering. This is the standard two-stage method for high-quality GIFs.
- Animated WebP uses libwebp (lossy, quality 1–100), which is typically several times smaller than a GIF of the same clip.
- All values (times, fps, width, colours) are validated numbers or fixed option names before they go into the filtergraph.
Sources
- FFmpeg filters: palettegen, paletteuse (FFmpeg project)
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Reelcraft Audio, video & image batch studio
Audio, video & image batch studio: cut, convert, compress, subtitle, reframe
Related tools
- Video Cutter & Merger – Trim video, remove a section or join clips: lossless copy or frame-exact re-encode.
- Video Compressor – Shrink a video to a target size (two-pass) for e-mail, WhatsApp or Discord, or by quality.
How to use the Video to GIF Creator
Turn a few seconds of video into a good-looking GIF or a much smaller animated WebP, and choose frame rate, width, palette and dithering wisely.
What it is for
GIFs still work where video doesn't: in READMEs, chat apps, e-mail, documentation and old forums. They also autoplay silently everywhere. But a naive conversion gives banding, muddy colours and huge files. This tool uses ffmpeg's two-stage palette method. It first builds the best 256-colour palette for your clip, then maps every frame to it with the dithering you choose. Alternatively it writes an animated WebP, which is usually several times smaller.
You pick the start time, a length of up to 15 seconds, the frame rate (1–30 fps) and the width (up to 800 px, never wider than the source). It doesn't add text or captions, reverse the clip or crop it. Trim or reframe first with the related video tools if you need that.
Worked example
Source: a 1080p, 30 fps clip. We took 3 seconds from 0:04 at 12 fps and 480 px wide, and varied only the output settings:
| Output | Settings | Size |
|---|---|---|
| GIF | 256 colours, sierra2_4a dithering | 575 KB |
| GIF | 64 colours, bayer dithering | 373 KB |
| Animated WebP | quality 75 | 192 KB |
All three came out at 480×270 with about 36 frames (3 s × 12 fps). For the default GIF the report gives 16.0 KB per frame. The WebP is a third of the size of the default GIF. Reducing the palette to 64 colours saved about 35 % but makes gradients visibly stepped.
How to read the result
- File size is the number that decides whether the GIF fits where you want to post it.
- Size (pixels) follows your width. The height comes from the aspect ratio.
- Frames = length × fps, rounded. Each frame adds weight, so this is your biggest lever after width.
- Per frame helps you compare settings. If it's high, the clip has a lot of detail or noise, and fewer colours or the WebP format will help most.
- The preview shows the actual result. Check gradients and skin tones for banding.
Tips and common mistakes
- Size grows roughly with width² × frames. Going from 480 to 320 px cuts the area by more than half. 10–12 fps is smooth enough for most clips.
- Keep it short. A tight 2–3 s loop is better than 10 s of mostly nothing, and it's much smaller.
- sierra2_4a (default) and floyd_steinberg give the smoothest gradients. bayer gives a regular pattern that compresses better. none gives flat colours, which is ideal for screen recordings and UI demos.
- Choose palette "from changing pixels only" (diff) for screen recordings with a static background. More colours go to the parts that move.
- Use WebP where it's supported (modern browsers, most chat apps), and GIF where it has to work everywhere, including e-mail clients.
- Turn off "Loop forever" for a GIF that should play once and stop on the last frame, such as a short demo ending on a result.
FAQ
Why is my GIF so large?
GIF compression is weak, especially for camera footage with noise and gradients. Lower the width, the fps or the length, reduce colours, or switch to animated WebP.
Can I make a GIF longer than 15 seconds?
No. The limit keeps files and processing reasonable. For longer clips a short MP4 is the better format anyway, because it's far smaller at the same quality.
Does the GIF have sound?
No. GIF and animated WebP are image formats without audio.
Why isn't my GIF wider even though I set 800 px?
The width is never larger than the source video, because upscaling would only add blur and bytes.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://videotogifcreator.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://videotogifcreator.usefulweb.site/mcp· tool namevideo_to_gif_creator
Example request
curl -s -X POST https://videotogifcreator.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'