What Changes When You Convert
| Property | Result |
|---|---|
| Quality | Reduced. GIF stores 256 colors per frame vs 24-bit RGBA in WebP. |
| File size | Larger than WebP, especially on photographic motion clips. |
| Transparency | On or off per pixel; semi-transparent edges become hard edges. |
| Animation | Kept: frame order, 20 ms+ frame delays, and loop count stay intact. |
| Metadata | Removed. |
Does the Animation Stay?
Yes. Every frame, loop count (including infinite loops and play-once animations), and frame timing stays intact, up to 300 frames per file. Frames set faster than 20 ms are slowed to the speed browsers actually play them. Still WebP photos convert to a single-frame GIF as well.
Unlike converters that break on iOS or Safari when WebCodecs is missing, our built-in RFC 9649 WebP demuxer decodes animated frames across Safari too.
Why Is the GIF Bigger and Grainier?
WebP stores millions of colors with modern video-style delta compression, while GIF locks each frame to a 256-color palette and basic LZW compression. Dithering stays on by default so gradients stay smoother; uncheck Dithering for crisp flat logos or UI icons.
Setting a smaller Max width in pixels sharply reduces 300-frame photo GIFs when file size matters.
Why Convert WebP to GIF at All?
Messaging apps, older forums, email editors, and slide tools often accept animated GIF uploads everywhere while rejecting or freezing animated WebP files.
What Happens to Transparency?
GIF supports only 1-bit transparency, meaning each pixel is either 100% solid or 100% clear. Semi-transparent drop shadows around stickers convert to clean crisp edges without black halos. Only need a still image? Use WebP to PNG or extract GIF frames back out with GIF to PNG.
Measured Results
Results across Tech Unbloated’s 10-file animated and still WebP test set comparing Floyd-Steinberg dithering on vs off with gifenc 1.0.3.
| Test Group | Dither On | Dither Off |
|---|---|---|
| Median speed (10 WebP files) | 132.3 ms | 53.3 ms |
| 300-frame animation clip | 675.9 ms total | 286.6 ms total |
| 30-frame 640×480 photo clip | 442.3 KB (1,985 ms) | Not measured |
Uses WebCodecs ImageDecoder when supported (Chrome/Edge/Firefox) and falls back on Safari/WebKit to our RFC 9649 WebP ANIM/ANMF demuxer + libwebp WASM so animated WebPs convert identically everywhere.
Related Converters
Uses gifenc (MIT), @jsquash/webp, and @jsquash/resize locally in your browser. See open-source licenses.