How to convert PNG to WebP
Transparency kept, file two to ten times lighter: the conversion is one of the easiest wins in web performance. It is not always the right move, though.
The short answer
Converting a PNG to WebP usually divides the file size by two to ten while keeping the transparency intact. It is the single most effective change for a logo, an illustration or a screenshot that has to stay on a transparent background, because PNG is lossless and therefore heavy by design.
There is one exception worth knowing: an image with very few colours and large flat areas — a plain icon, a simple chart — can already be tiny as a PNG. In that case WebP still wins, but by a smaller margin, and a lossless WebP may be the better choice than a lossy one.
What changes, and what does not
- Transparency is preserved. A transparent WebP stays transparent: the alpha channel is copied, not flattened.
- Dimensions are unchanged. The pixel width and height stay exactly the same.
- Colours are re-encoded. By default the conversion is lossy, at a quality you choose. Above 90%, the difference is invisible on a logo or a screenshot; below 70%, fine text starts to blur.
- Metadata is dropped. Any text chunk, colour profile note or editing history stored in the PNG is not copied.
Step by step
- Open PNG to WebP.
- Drop one or up to thirty PNG files. Files are processed one after the other, in your browser.
- Set the quality. Start at 85% for a logo or an illustration, 90% or more for a screenshot with small text, 75% for a photo exported as PNG.
- Check the size shown for each file, and open the before/after comparison on one of them.
- Download the files one by one, or all of them as a ZIP archive.
Which quality for which image
| Content | Quality | What to watch |
|---|---|---|
| Logo, icon with sharp edges | 85 to 95% | Halos around the outline |
| Screenshot with small text | 90% and above | Letters that become grey and fuzzy |
| Illustration, flat colours | 80 to 90% | Banding in gradients |
| Photo exported as PNG | 75 to 85% | Detail in hair, foliage, fabric |
Where the gain comes from
A PNG stores each pixel losslessly. A 1200 × 1200 logo with a transparent background can easily reach 300 KB even though it contains a dozen colours. As WebP at 90%, the same image usually falls under 40 KB, because the encoder describes shapes instead of listing pixels. On a screenshot of a web page, the ratio is often even better, since large areas are a single flat colour.
When not to convert
- You are still editing the file. Keep the PNG master; convert only the copy you publish.
- The target software does not read WebP. Some print tools, older CMS and a few desktop applications still refuse it. Check before replacing a file on a live site.
- The image will be printed. WebP is a screen format. Keep PNG or TIFF for print.
- Very small files. Under about 5 KB, the gain is negligible and the format change may cost compatibility for nothing.
Batch conversion
The tool accepts up to thirty files at once and returns a ZIP archive, which is the fastest way to convert a folder of logos or a set of product visuals. Every file receives the same quality setting, so group similar images together: a batch of screenshots does not want the same setting as a batch of photos.
Going back
WebP is not universally supported by older software, and a file may need to return to PNG. WebP to PNG does the reverse conversion, keeping transparency. Note that the round trip does not restore what the lossy WebP removed: if you still have the original PNG, use it instead. For photos and other cases, see the guide to JPG, PNG and WebP.