GIF to WebP Converter
Convert animated GIFs to smaller animated WebP (and back) locally, with measured byte savings per file.
Files and settings
0 file(s) · gif-to-webpBatch results
no conversionsNo files converted yet
Choose GIF or WebP files, then press Convert all.
Conversion uses a self-hosted FFmpeg engine (ffmpeg.wasm, ~31 MB downloaded once and cached). Files are processed on this device, never uploaded.
Examples
Typical saving
12 GIFs, quality 7562% fewer bytes in totalPercentages come from measured output sizes.
Already optimised
WebP larger than GIFRecommendation to keep the originalThe tool does not claim savings that did not happen.
Reverse for legacy
Animated WebP at 15 fps, 128 colorsAnimated GIF with a generated paletteFrame rate and color count trade fidelity for size.
About this tool
The GIF to WebP Converter turns animated GIFs into much smaller animated WebP files in your browser, and supports the reverse direction for legacy systems. Every result reports measured before and after byte counts, a percentage saved and a per-file status; totals are computed from actual outputs rather than extrapolated from a sample.
Animated conversions run through a self-hosted FFmpeg engine with libwebp, preserving frame timing and loop count. Frames are composited before encoding because WebP has no disposal method — a disposal bug in the source becomes part of the output, which the interface states honestly. Single-frame GIFs can take a native canvas path, but only after a WebP-encoding feature check so unsupported browsers never receive mislabelled PNG bytes.
Quality, lossless mode, loop preservation and reverse-mode palette settings are exposed before the batch runs. Files are processed locally, the engine download size is disclosed, and outputs are available individually or as a ZIP. Conversion settings and results are never uploaded.
What this tool does not do
- The FFmpeg engine is downloaded once (~31 MB) and cached; animation conversion needs it.
- Animated WebP has no disposal semantics, so source disposal bugs are preserved in composited frames.
- Reverse conversion quantises timing to GIF's 10 ms delays and uses a generated palette.
How to use this tool
Choose files
Drop GIF or WebP files. The direction defaults from the first filename and can be changed with the direction selector.
Set quality and timing
Pick a quality (75 is a good starting point), choose lossless if alpha fidelity matters, and keep loop preservation on. Reverse mode adds a frame-rate cap and palette size.
Convert the batch
Press Convert all. Files are processed sequentially with progress; per-row errors do not stop the rest of the queue.
Compare and download
Select a row to see original and converted previews with byte badges, then download one file or the whole batch as a ZIP.
Use cases
Web performance cleanup
Replace heavy GIF assets with animated WebP while proving the byte reduction.
Design handoff
Deliver a smaller animation without uploading customer assets to a third-party converter.
Legacy compatibility
Convert an animated WebP back to GIF when an older CMS cannot display WebP.
Conversion paths
| Input | Output path |
|---|---|
| Animated GIF | FFmpeg libwebp encoder with quality or lossless mode and loop carried |
| Single-frame GIF | Native canvas WebP encoding when feature-detected; otherwise the engine |
| Animated WebP | FFmpeg palettegen/paletteuse pipeline to GIF with fps and color controls |
| Mixed batch | Per-file routing with independent status, savings and download |
Delays are quantised to the GIF's 10 ms grid in reverse mode; very short source delays are floored to browser-safe values.
Common mistakes
Mistake:Assuming every GIF gets smaller.
Fix:Watch the per-file recommendation; small or highly optimised GIFs can grow when re-encoded.
Mistake:Expecting transparent GIF pixels to survive lossy WebP untouched.
Fix:Use lossless mode when exact alpha matters; the output tiles are composited in both cases.
Mistake:Using quality 0 to chase tiny files.
Fix:The interface warns below quality 10; 75 is a sensible default.
Mistake:Blaming the converter for a GIF that renders incorrectly.
Fix:Disposal artifacts are baked into composited frames — fix the source or accept the artifact.
Frequently asked questions
How much smaller will WebP be?
Animated WebP is commonly 30–70% smaller than an equivalent GIF, but the result depends on content. This tool reports exact measured bytes for every file and recommends keeping the original when WebP is larger.
Do animation and transparency survive?
Yes. Frames, delays and loop count are carried into animated WebP. Use lossless mode when exact alpha matters; lossy encoding can soften edges. Because WebP has no disposal method, frames are composited before encoding.
Why does the encoder need a download?
Animated WebP encoding uses a self-hosted FFmpeg engine (~31 MB, cached after first use). Single-frame GIFs use the browser's native WebP encoder when a feature check confirms it works, with no engine download.
Which browsers support animated WebP?
Current Chrome, Edge, Firefox and Safari can display animated WebP. The engine in this tool handles encoding regardless of the browser's own encoder support, after the native path is ruled out.
Is anything uploaded?
No. Files are decoded, encoded and downloaded entirely in the tab. The only network request is the self-hosted engine asset, whose size is disclosed before the first animation conversion.
Can I convert WebP back to GIF?
Yes. Switch the direction to WebP → GIF; a palette pipeline builds a GIF with your chosen frame rate and color count. Timing is quantised to GIF's 10 ms delays.
References & standards
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns