PNG to WebP Converter
Convert PNG images to WebP in your browser. Preview the output and check its file size before downloading.
How to use PNG to WebP
- Choose a PNG file or select Try a sample.
- Set the quality slider. Start at 82% for a photo and inspect sharp edges or small text.
- Select Convert to WebP, compare the source and output sizes, then download the result.
How it works
The browser decodes the PNG to pixels and encodes those pixels as WebP at the selected quality. The conversion keeps the decoded width and height and carries transparent pixels into the output.
Choose settings for transparent graphics
Start at the default quality, then inspect thin lines on a light and a dark background. WebP can retain transparent pixels, but lossy encoding can still soften the colors around edges.
Keep a PNG master for editing
Save the WebP copy for delivery and retain the original PNG if you expect to make future edits. Compare the two files at the dimensions they will have on the site.
Formula or processing rules
Space saved (%) = (original bytes − WebP bytes) ÷ original bytes × 100. The quality slider controls the encoder. It does not specify a target size.
Worked example
Suppose a 1200 × 655 PNG is 400 KiB and the same-size WebP is 160 KiB. The example saves 240 KiB, or 60%. Check transparent edges and lettering before publishing.
| Measure | Value (KiB) |
|---|---|
| Original PNG | 400 |
| Converted WebP | 160 |
Calculate the percentage using the same units
For 400 KiB to 160 KiB, divide the 240 KiB reduction by the 400 KiB original to get 0.60. Use the converter’s actual measured sizes for your own file.
Pros and cons
Pros
- Retains transparent areas.
- Keeps the original pixel dimensions.
- Shows the actual output size before download.
Cons
- Lossy encoding can soften edges and small lettering.
- An already optimized PNG can be smaller.
- A browser must support WebP export.
Troubleshooting
- The file won’t open Check that it is a genuine PNG under 20 MB with no more than 16 million decoded pixels.
- Edges look soft Raise quality, convert again, and compare against the original on the background where the image will appear.
- The WebP is larger Lower quality or keep the original PNG if the smaller WebP loses too much detail.
The site accepts only PNG
Check the upload requirements before replacing the source. Keep a PNG for destinations that reject WebP and use WebP where it’s supported.
Frequently asked questions
Will the background stay transparent?
Yes. Transparent pixels in the PNG carry into the WebP output.
Will the dimensions change?
The export uses the same pixel dimensions as the decoded image.
Is the image uploaded?
The converter reads the file and produces the download in your browser.
Why might the WebP be larger?
The original may already be well optimized. Try a lower quality setting and compare the size and appearance.
Is there a file limit?
The converter accepts one image up to 20 MB and up to 16 million decoded pixels.