How to convert a WebP to a GIF
- Load the WebP. Drop it on the box above, paste it, or pick the file, or try everything on the built-in animated sample first. The facts panel states what the file really is, read from its own bytes: animated or still, its dimensions, its frame count and its playing time per loop. A file that is not really a WebP (a PNG renamed to .webp, say) is refused with that reason.
- Check how its frames were read. The facts panel names the decode path that ran. In Chrome and Edge the frames come from the browser's built-in image decoder; in Firefox and Safari they come from the WebP frame reader bundled with this page. Either way every frame is read, and the count is stated before you convert.
- Choose the frames, colours and transparency cut. Keep every frame, or every 2nd or 3rd for a smaller file. Set the palette size and dithering, and where the one-bit transparency cut falls, or flatten onto a background colour. The plan above the button restates the whole conversion.
- Convert, check, download. The finished GIF appears in the preview from the actual file, and the status line reports its real size next to the WebP's. The file has already been re-read and verified at this point: dimensions, frame count, every frame's delay and the loop setting all match the plan.
How the frames are read, browser by browser
Reading a still WebP is easy: every browser decodes one natively. Reading an animated WebP frame by frame is the hard part of this tool, and the honest picture is this. An animated WebP stores most frames as small rectangles that changed, with rules for how each is blended over the picture so far and whether its rectangle is wiped afterwards. A converter that draws the file through an ordinary image element gets only the first frame, in every browser; that shortcut is how several converters quietly turn animations into stills.
This page reads the frames properly, by whichever of two routes the browser supports. Chrome and Edge (94 and later) expose the WebCodecs ImageDecoder, which hands over every frame already composited, with its duration. Firefox and Safari do not expose it, so for them the page loads a WebP frame reader bundled with the page (a libwebp decoder, about 128 KB, fetched only when an animated file actually needs it): the tool decodes each frame's own rectangle with it and composites the rectangles itself, applying the blending and disposal rules exactly. The facts panel names the route that ran on your file, so the claim is checkable on the spot. If a file defeats both routes, the tool says so before converting and offers a still of the first frame, named as such; it never presents a still as an animation.
Timing and looping, carried over
WebP stores each frame's duration in milliseconds; GIF stores delays in hundredths of a second, and GIF players ignore or clamp very short delays. The rule this page applies, stated rather than hidden: each kept frame's duration is rounded to the nearest 10 ms, and anything under 20 ms is raised to 20 ms. A 100 ms frame stays 100 ms; a 33 ms frame becomes 30 ms; a 5 ms frame becomes 20 ms rather than the 100 ms a browser would otherwise stretch it to. When frames are skipped, their durations are folded into the kept frame before rounding, so the total playing time per loop is preserved. The loop count is carried over as stored: in both formats the stored number means repeats after the first play, with 0 meaning forever, which is the same mapping the WebP format's own tools (webpmux, gif2webp) use between the two.
Why 256 colours, and what banding is
A GIF frame does not store colours per pixel. It stores a palette of at most 256 colours and, per pixel, a pointer into that palette. A WebP frame holds any of millions of colours. When an animation holds more colours than the palette, the extras are mapped to the nearest survivors. On flat areas nothing changes, because flat colours are few and they all survive. On a smooth gradient or a photographic clip, thousands of in-between shades collapse onto a handful of entries, and the eye sees the joins as bands. This tool builds one palette from the whole animation's own pixels, shared across frames, so a colour means the same thing in every frame and does not shimmer between them. Dithering hides the joins under speckle; fewer colours make them wider and the file smaller. Neither is a defect of this tool: both are the format, and any converter that promises a photographic WebP will come through untouched is promising something the file cannot do.
Transparency: one bit, and the cut is yours
A WebP pixel carries an opacity from 0 to 255, and an animated WebP uses it fully: frames blend over each other with real alpha. A GIF pixel is transparent or it is not. This tool first composites the animation with its real alpha, exactly as a player shows it, and only then makes the one-bit cut: pixels under the threshold become transparent, pixels at or over it become solid. Where the cut falls changes the picture. A soft drop shadow under the threshold simply goes; at a lower threshold it survives, but as a hard-edged solid shape, because one-bit transparency also means its softness cannot survive. Flattening avoids the question by painting everything over a background colour first, the right choice when the GIF's destination page colour is known.
A worked example, with real numbers
These figures are from converting this page's own built-in sample through this tool, in a Chromium browser, at the default settings unless stated. The sample is an animated WebP of 32,826 bytes, 160 × 120 pixels, 12 frames, 1.20 seconds per loop, looping forever: a bouncing ball over a sky gradient, drawn for this site.
- At the defaults (256 colours, dithering on, threshold 128): the GIF is 32,225 bytes, 58 colours used, all 12 frames at their own delays. On this one sample the GIF actually lands 601 bytes under the WebP, which is the exception rather than the rule, and it is worth saying why: the sample WebP is stored losslessly, so it pays full price for every exact shade of its gradient sky, while the palette throws shades away. On a typical photographic or lossy WebP the same conversion comes out much bigger as a GIF, for the reasons in the next bullet.
- At 32 colours: the GIF is 30,601 bytes, 32 colours used. The ball and the ground keep their flat colours exactly; the sky's gradient coarsens into visible bands, which is the trade the Colours setting makes everywhere.
- The size fact, plainly: on photographic or gradient-heavy animations a GIF commonly lands between 2 and 10 times the WebP's size. When the GIF that comes out is still too heavy for where it is going, the GIF Compressor can take it down further, including to a target file size.
Every conversion on this page reports its own real numbers the same way, so your file's result is never a guess from these examples: the status line states the output size next to the input's, whichever turned out bigger.
How big a WebP can you convert?
There is no server limit, because there is no server. But your browser's memory is a real limit, so the page states it plainly: files up to 50 MB, animations up to 600 frames, up to 8,192 pixels on a side, and up to 48 million pixels in one conversion (frames kept × width × height). The checks run before anything converts, and a plan over a limit is refused with the reason and the remedy. The other direction lives at GIF to WebP; a set of still images becomes an animation at PNG to GIF; and to inspect what is inside a GIF frame by frame, the GIF Frame Viewer opens it without changing it.
Frequently asked questions
Does this keep my WebP animated?
Yes. Every frame of the WebP is decoded, composited the way a player shows it (partial frames, disposal and blending included), and written into the GIF with its own delay, and the loop count is carried over as stored. That holds in every modern browser: where the browser has no built-in animated WebP decoder (Firefox and Safari today), this page reads the frames with a WebP frame reader bundled with the page itself. The facts panel names the decode path that ran on your file, and states the frame count before you convert. The one exception is labelled, never silent: if neither decoder can read a file, the tool says so before converting and makes a still of the first frame, with the file name saying first-frame.
Can I convert a still (non-animated) WebP?
Yes. A still WebP becomes a still GIF at the same pixel dimensions, decoded by the browser's ordinary image decoder, which every browser has. The facts panel labels the file as a still before you convert, so the two jobs are never confused. If what you have is a PNG or a JPG instead, the PNG to GIF converter takes those directly.
Will the GIF look the same?
The same size and the same motion, yes: dimensions, frame order, per-frame timing (rounded to the GIF 10 ms grid, with a 20 ms floor) and the loop count all carry over. The same colours, only within the GIF's limit of 256 colours per frame, chosen from the animation's own pixels. A WebP holds millions of colours, so a gradient or a photographic clip will band where its shades are squeezed into the palette, and dithering trades the bands for a fine speckle. Soft transparent edges are cut at the threshold described on this page, because GIF transparency is one bit. The preview after converting shows the actual GIF file, so what you see is exactly what you will download.
Why is the GIF bigger than the WebP?
Because WebP is simply the stronger compressor, and it is not close. A WebP squeezes each frame with modern prediction and a full colour range; a GIF stores palette indices from 1987, at most 256 colours, with a simple compression scheme. The same animation routinely comes out 2 to 10 times larger as a GIF, and this page shows the two sizes side by side on every conversion rather than hiding it. The levers that actually help are on the page: fewer colours, keeping every 2nd or 3rd frame, and the GIF Compressor afterwards, which can take the finished GIF down further, including to a target file size.
Can I convert several WebP files at once?
Not on this page: it converts one WebP file per conversion, so the plan, the readout and the download always describe exactly one file. Convert each file in turn. If instead you have a set of still images that should become one animation, that is the sequence mode of the PNG to GIF converter, which takes WebP frames among its inputs.
What happens to transparent areas?
They are kept, with one format cut you control. A WebP pixel can be partly transparent; a GIF pixel is see-through or solid, never in between. This tool's Transparency threshold is the cut: a pixel whose opacity is under the threshold becomes transparent in the GIF, and every pixel at or over it becomes fully opaque. The default cut is 128, the halfway point. Or choose Flatten, and the see-through areas are painted over a background colour you pick, which is what you want for a GIF that will sit on a known page colour. Frames are composited with their real alpha before the cut, so a semi-transparent frame blended over the one before it is converted from the blended picture, not from its raw pixels.
Is there a file size limit?
There is no server limit, because there is no server: the conversion runs in your browser tab. Your device's memory is the real limit, so the page states its own plainly and checks before converting: files up to 50 MB, animations up to 600 frames, up to 8,192 px on a side, and up to 48 million pixels in one conversion (frames kept x width x height). A file over a limit is refused with the reason and the remedy, not with a frozen tab. Nothing is uploaded at any point, and there is no account, no queue and no watermark.
Related tools
Converting a WebP to a GIF is usually one step in a longer job. These MotionGIF tools cover the steps that tend to come before or after it:
GIF to WebP
Convert an animated GIF into a true animated WebP, the same journey in the opposite direction.
Open the tool →PNG to GIF
Turn one PNG, JPG or WebP image into a still GIF, or a sequence of images into an animated GIF.
Open the tool →GIF Compressor
Make the GIF you just made smaller while it stays a GIF, with a target file size mode for strict upload limits.
Open the tool →GIF Frame Viewer
Step through the GIF you made frame by frame and inspect the timing and details of every frame, without changing the file.
Open the tool →