GIF to WebP converter
Convert GIF images to WEBP format
Animated WebP exists, but a browser canvas cannot write it, so be clear about what this page does: it takes the frame your browser renders from the GIF and encodes that single picture as a lossy still WebP. Within that limit the swap is a good one: WebP is not capped at 256 colours, it carries a real alpha channel rather than one transparent palette slot, and it beats LZW badly on photographic material.
Key facts about GIF to WebP converter
| Output is a still | One frame, always. The canvas API offers no animated WebP writer, unlike a command-line tool such as gif2webp. |
|---|---|
| Colour ceiling removed | GIF caps a frame at 256 palette entries. The WebP is written from full RGB canvas data, so later edits are no longer trapped in that palette. |
| Transparency | Preserved and upgraded. The all-or-nothing transparent index of GIF becomes a true 8-bit alpha channel stored in a separate ALPH chunk. |
| Compression mode | Lossy VP8 only. A canvas cannot emit lossless WebP, so the crisp flat colours of GIF art are re-encoded rather than copied. |
| Quality control | 30 to 100 in steps of 5, default 90, with an estimated output size that updates as you drag. |
| Typical size delta | A 500x500 photographic GIF of 300 KB usually drops under 60 KB at quality 90. A small flat-art GIF may not shrink at all. |
| Animation data | Frame durations, loop counts and disposal flags are consumed by the decoder and have nowhere in a still to go. |
| Opens the result | Chrome, Edge, Firefox, Opera, Safari 14 upward, Windows 10 and 11, macOS Big Sur onward, GIMP and Affinity. Some older viewers and email clients will not. |
What happens to your file
There is no transfer step to worry about. The GIF is exposed to the page as an object URL, decoded by the browser's own GIF reader inside an Image element, and drawn onto a canvas belonging to this tab. Requesting image/webp from canvas.toBlob invokes the WebP encoder that ships with your browser, on your processor. Nothing is posted anywhere, because there is no remote server involved in the conversion at all.
About this tool
- 1
Choose your GIFs
Drop up to twenty .gif files on the target area, or click to pick them. The ceiling is 500 MB per file.
- 2
Confirm the frame
The preview shows the captured frame over a checkerboard. What you see there is what gets encoded.
- 3
Tune the quality
Default 90 is a safe start. Because the source had at most 256 colours, dropping to 70 is often indistinguishable.
- 4
Convert and download
Press Convert, then save the WebP or take converted-webp-files.zip, which is assembled locally.
| Input and output | Takes .gif only (image/gif) and returns .webp with the image/webp type; any other extension is refused before decoding. |
|---|---|
| Conversion path | GIF to WEBP runs in three steps: an <img> element decodes the GIF and only its first frame reaches the canvas; the pixels land on a 2D canvas in this tab; then canvas.toBlob with the image/webp type returns the finished file. |
| Browser support | The GIF side decodes in every browser ever shipped, while writing the WebP works in Chromium browsers and Firefox, and where the type is unsupported the canvas specification makes the browser return PNG bytes under the .webp name. |
| Controls for this pair | A 30 to 100 quality slider (steps of five, default 90) drives the WEBP encode, max-dimension presets from 3840 down to 200 px resize the GIF first, and the strip-metadata toggle is moot on this pair. |
| Batch, caps and naming | Twenty GIF files per run at 500 MB each; one result downloads as a single WEBP, several as converted-webp-files.zip, zipped by JSZip 3.10 in page memory. |
| Device ceiling | The canvas caps it: past roughly 16,384 px a side Chromium refuses the bitmap and iPhone Safari gives up sooner, so an oversized GIF fails before any WEBP bytes exist. |
- Serve the WebP with a GIF fallback if your audience includes older email clients, where support lags browsers by years.
- If the WebP comes out bigger than the GIF, the source was flat art with few colours, the one case the old format wins.
- Use this to build the poster image for a video that replaces a heavy animated GIF.
- Hard palette edges can fringe at low quality because VP8 subsamples chroma, so stay at 80 or above for line art.
- Single-frame WebP with a real alpha channel
- Adjustable VP8 quality with a size preview
- Seven pre-encode resize presets
- Twenty GIFs per run, ZIP built in the tab
- Replacing static GIF decorations on a site with a format that is smaller and not stuck at 256 colours.
- Creating a lightweight poster frame for an animation that will be delivered as video.
- Modernising a folder of legacy GIF assets ahead of a site rebuild.
Related tools
View allNeed the opposite? Try WEBP to GIF
Works well with this4
Other GIF tools12
Updated