Video to Animated WebP
Pick a video, choose a section, frame rate and width, then encode a looping animated WebP locally in your browser — smaller and cleaner than GIF for many clips.
About this tool
Convert a video clip into a looping animated WebP. Animated WebP is a modern GIF alternative: it usually produces much smaller files, keeps smoother color, and can preserve transparency when the source has alpha.
Everything runs locally in your browser through ffmpeg WebAssembly. The video is not uploaded.
Controls
- Start trims from a point in the video, in seconds.
- Duration limits the clip length. Leave it at
0to encode from the start point to the end, but short clips are strongly recommended. - Frames per second controls smoothness and size. The default is 12 fps; 8–15 fps is a good range for sharing.
- Width scales the output while keeping the aspect ratio. Height is rounded to an even value for codec compatibility.
- Quality controls lossy WebP quality from 0 to 100; the default is 80.
- Lossless WebP preserves detail and transparency without lossy quantization, but can be much larger.
Worked example
For a one-second preview from the start of a 128 px video, use:
start = 0
duration = 1
fps = 8
width = 96
quality = 75
lossless = false
The generated command uses ffmpeg's libwebp encoder, loops forever (-loop 0), drops audio, and writes out.webp.
Tips
- Keep the clip short. Animated WebP is efficient, but long high-fps clips are still large.
- Downscale before raising compression. A 320 px WebP often looks better and weighs less than a full-size one at very low quality.
- Use lossy mode for camera/video content and lossless mode for transparent UI animations, stickers, and screen captures.
- If a platform does not animate WebP, convert the same source to GIF with the Video to GIF tool.
Limits and edge cases
- Input videos are capped at 25 MiB and outputs at 25 MiB.
fpsaccepts 0–60; 0 means the default 12 fps.widthaccepts 0–4096 px; 0 keeps source width.qualityaccepts 0–100; 0 means default 80 in lossy mode.- Audio is intentionally removed.
- Browser support for animated WebP is broad in modern browsers, but older apps may still prefer GIF.
FAQ
Why use animated WebP instead of GIF?
Animated WebP usually gives smaller files and better color than GIF because it is not limited to a 256-color palette. It can also carry alpha transparency, which makes it useful for stickers, UI captures, and short transparent motion graphics.
Will it loop?
Yes. The output is encoded with -loop 0, which tells WebP players to loop forever. That matches the default behavior people expect from GIF-style animations.
What quality should I choose?
Start with 75–85 for video content. Lower values make smaller files with more artifacts; higher values keep more detail. For transparent graphics or sharp UI, try Lossless WebP instead.
Can I keep the audio?
No. Animated WebP is an image animation format, like GIF, and has no audio track. If you need sound, export MP4 or WebM instead.
Developer & Automation Access
Run it from the terminal
Same engine as this page, headless — via the gizza CLI:
gizza tool video-to-animated-webp 'url=https://example.com/input' 'start=0' 'duration=3' 'fps=12' 'width=480' 'quality=80' 'lossless=true'New to the CLI? Get gizza →
Open it by URL
Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:
https://gizza.ai/tools/video-to-animated-webp/?url=https://example.com/input&start=0&duration=3&fps=12&width=480&quality=80&lossless=trueMachine-readable descriptor: tool.json — title + parameters JSON Schema for agents.
