Convert GIF to WebP

Drop images here

or click to choose - JPG, PNG, WebP, GIF or BMP. Batch supported.

Your images are processed on your own device and never uploaded to a server.

Convert a GIF to WebP

  1. Drop your .gif files into the box above. Static and animated files are both accepted, though the result differs - see below.
  2. Choose WebP as the output format. It encodes at quality 0.92 and keeps the alpha channel, so transparency survives this route.
  3. Look at the size comparison and then at the image itself. On flat graphics, check whether the edges held up better than they would have as PNG.

GIF is the least efficient image format still in daily use: 256 colours, one-bit transparency, and a compressor designed in 1987. WebP is the format that should have replaced it - smaller, full alpha, capable of animation. So converting sounds like a straightforward upgrade. Two details make it less straightforward than that.

The first is that the animation does not come along. This tool decodes the file the way a browser displays it, which means the first frame, and writes that frame as a still image. If the thing you are converting moves, the result will not. Keeping motion requires an animated WebP encoder, and the Canvas API - the only encoder a web page has - cannot write one.

The second is about static files, where the trade is subtler than it looks. WebP written by a browser is always lossy; PNG is not. On a logo, an icon or a chart - flat colour, hard edges, which is what GIF is mostly used for - PNG keeps every pixel and often compresses those flat areas as well as a lossy WebP does, without softening anything. WebP earns its place when the GIF is photographic: continuous tone, no hard edges, and a large size drop for a loss you will not notice.

GIF to WebP, GIF to PNG, or leave it alone

GIF vs WebP at a glance

GIFWebP
CompressionLosslessLossy
TransparencySupportedSupported
Best forsimple looping animations and low-colour graphicsany image that appears on a website, where a smaller file means a faster page and a better Core Web Vitals score
Main drawbackthe 256-colour limit causes visible banding on photos and gradientsvery old software and a few desktop editors still cannot open it

Related tools

Frequently asked questions

Does the animation survive?
No. The first frame is decoded and written as a still WebP. Canvas cannot produce an animated file, so no browser-based converter can do this - it is a limitation of the platform rather than of this tool.
Will the conversion improve the colours?
No. The 256-colour reduction happened when the GIF was created, and the missing shades are not stored anywhere in the file. You get the same palette back, banding included.
Is the WebP lossless?
No, and it cannot be made lossless here. The format has a lossless mode but the Canvas API does not expose it, so quality 0.92 is the best available - visually very close, not bit-exact.
Is transparency kept?
Yes - and it is more capable than the original. GIF transparency is one bit, so a pixel is either fully visible or fully invisible, producing hard jagged edges. WebP stores 8-bit alpha, though a hard edge stays hard unless something later softens it.
Why is the file not much smaller than the GIF?
Flat colour was never the expensive part. A clean logo is already cheap to store in GIF, so there is little left to remove; the waste in GIF lives in dithered and photographic content, which is exactly where the WebP conversion produces its largest savings.