Why convert WebP to GIF at all
Animated WebP is smaller and sharper than GIF, and every current browser plays it. The trouble starts when the file leaves the browser. Many chat apps, forums, email clients, slide tools and older editors still accept animation only as GIF, and a WebP dropped into them either shows a single frozen frame or is refused. Stickers saved from messaging apps and clips downloaded from GIF sites are often WebP under the hood, which is why the question comes up so often.
Converting is simple to describe and easy to get slightly wrong. A GIF is a much older format with three hard limits, and each one changes your animation unless the converter handles it on purpose. This page is built around those three limits and tells you, for your file, what each of them did.
Limit 1: GIF keeps time in 10 ms steps, and browsers slow very short frames
WebP stores each frame’s duration in milliseconds. GIF stores it in hundredths of a second, so every duration has to be rounded. On top of that, browsers do not play GIF delays of 0 or 1 hundredth as written: they hold those frames for about 100 ms. We measured this in Chrome on 3 October 2026 with GIFs whose first frame was 10, 20 and 50 ms long. On screen, the 10 ms frame stayed up longer than the 50 ms one.
That turns ordinary files into wrong-speed GIFs. These are the totals for common WebP frame rates when each frame is rounded on its own, compared with what this tool produces:
| WebP | Real length | Rounded frame by frame | This tool |
|---|---|---|---|
| 30 frames at 33 ms (30 fps video) | 0.99 s | 0.90 s, 9% fast | 0.99 s |
| 60 frames at 16–17 ms (60 fps) | 1.00 s | 1.20 s, 20% slow | 1.00 s |
| 24 frames at 42 ms (24 fps) | 1.01 s | 0.96 s, 5% fast | 1.01 s |
| 20 frames at 10 ms (fast sticker) | 0.20 s | about 2 s in a browser, 10× slow | 0.20 s |
The fix is to round the running clock instead of each frame. A 33 ms animation becomes 30, 30, 40, 30, 30, 40 ms and so on, and the total stays right. Frames that would end up shorter than 20 ms are skipped by default. The frames around them still arrive at their original moments, so the speed holds, and at 50 frames a second nobody sees the gap. If you need every single frame, choose “Keep every frame, play slower”. The report then says how much longer the GIF runs.
Limit 2: transparency is all or nothing
A WebP pixel can be partly see-through: the soft edge of a sticker, a drop shadow, antialiased text. A GIF pixel is either fully transparent or fully solid. A converter has to decide what happens to every in-between pixel, and the usual result is a jagged edge or a grey fringe around the artwork.
Here, pixels that are at least half opaque are blended onto an edge colour and become solid. The rest become fully transparent. Set the edge colour to whatever the GIF will sit on (white for most pages and light chat themes, a dark grey for dark mode) and the edge looks the way it did in the WebP. The report tells you what share of the visible pixels were half-transparent: in our test sticker, a red disc with a soft outline, it was 22%, all of it along the edge. If the GIF will always sit on one background, choose “Fill with the colour below” to drop transparency altogether.
Limit 3: 256 colours for the whole animation
A GIF has one palette of at most 256 colours. A WebP made from video can use tens of thousands. The palette here is built from samples of every frame rather than the first one, so a scene that changes colour halfway through is not squeezed into the opening palette. Dithering mixes neighbouring palette colours to imitate the missing ones; keep it on for photos and gradients, and turn it off for flat cartoons, pixel art and screen recordings, where it only adds noise and file size.
Getting the GIF smaller
Expect the GIF to be larger than the WebP, often several times. GIF compression dates from 1987. After converting, the frames are passed through gifsicle, which stores only the part of each frame that changed. If the result is still too big for where it is going, these help most, in order:
- Width. Halving the width cuts the pixel count to a quarter.
- Colours. 128 or 64 colours are usually invisible on stickers and cartoons.
- Dither off for flat artwork.
- Then Compress GIF, which can drop frames and use lossy compression down to a target size.
How the frames are read
An animated WebP is a list of frames, and most of them cover only part of the picture. Each one comes with an offset, a duration and two flags that say whether it is blended over the previous picture and whether its area is cleared afterwards. This page reads each frame from the file, decodes it with your browser’s own WebP decoder, and puts the frames together by those rules. We checked the result against the reference WebP library on four test animations (85 frames, lossy and lossless, with transparency and partial frames), and every sampled pixel matched exactly.
Going the other way? GIF to PNG and video to GIF are next door, and WebP to PNG keeps every colour of a still WebP.