Convert PNG 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 PNG to WebP in three steps

  1. Drop your .png files into the box above, or click to browse. Batch conversion is supported and every file is reported separately.
  2. Select WebP as the output format. Encoding runs at quality 0.92 - there is no lossless option here, which the next section explains.
  3. Download the result and compare the two sizes. On a photograph expect a large drop; on a screenshot expect a modest one, and check the text before shipping it.

PNG and WebP want opposite things. PNG exists to be exact: every pixel stored, nothing discarded, on any future save. WebP exists to be small. Moving a file from one to the other is therefore not a sideways step - it is surrendering the guarantee that made you choose PNG, in exchange for bytes.

The part that surprises people is that this is not a setting you can turn off. The Canvas API can encode WebP, but it exposes no lossless mode: the quality value only decides how much detail is thrown away, and it cannot be set to "none". So a PNG that was mathematically exact comes out of this page as an approximation at quality 0.92. Close enough to fool the eye at normal size, on most content - but no longer an exact copy.

What does survive is transparency. WebP carries a full 8-bit alpha channel, and unlike the JPEG target this tool never flattens the image onto white, so soft edges and cut-outs stay soft. For a photographic PNG - a camera export, or a picture some tool saved as PNG because it had no better default - the file typically drops 60 to 80 percent. That is the case worth converting.

When WebP wins, and when the PNG already won

PNG vs WebP at a glance

PNGWebP
CompressionLosslessLossy
TransparencySupportedSupported
Best forlogos, icons, screenshots, product cut-outs and any graphic with sharp edges or a transparent backgroundany image that appears on a website, where a smaller file means a faster page and a better Core Web Vitals score
Main drawbackthe price of that fidelity is file size - PNG files are often 3 to 10 times bigger than the JPEG equivalentvery old software and a few desktop editors still cannot open it

Related tools

Frequently asked questions

Is the resulting WebP lossless?
No. WebP as a format supports a lossless mode, but the Canvas API - the only encoder a web page has - does not expose it. This tool can therefore only write lossy WebP, at quality 0.92. If you need an exact copy, keep the PNG.
How much smaller does the file get?
For photographs, typically 60 to 80 percent. For screenshots and flat graphics, considerably less - sometimes only 10 to 20 percent - because flat areas were never what made the PNG large in the first place.
Is transparency kept?
Yes. WebP has a full 8-bit alpha channel and this tool only flattens onto white when the target is JPEG, so transparent and semi-transparent areas come through intact.
Can I get lossless WebP somewhere else?
Yes, with a command-line encoder - cwebp has a -lossless flag and typically beats PNG by about a quarter. In a browser it is not possible: canvas is the only encoder available to a page and it has no lossless mode. If exactness matters more than convenience, that is the tool to use.
What happens to the metadata inside my PNG?
It is dropped. Re-encoding through canvas writes a bare image file, so text chunks, colour profile data and any embedded annotations do not carry over. The pixels are written as sRGB, which is what the browser decodes them as.