How to turn a PNG into a WebP file
- Choose a PNG file above.
- Pick Maximum quality for the closest copy, or Lossy and a quality number for a smaller file.
- Press Convert to WebP.
- Read the before and after sizes and the pixel check, then download.
Maximum quality or lossy: which setting fits
PNG is lossless, so the safest conversion is lossless too: every pixel comes back the same, and the file is typically smaller. Google says lossless WebP files are about 26% smaller than PNG, and MDN repeats that figure as typical. Your file may do better or worse. Screenshots with flat color tend to do well, while files already squeezed by a PNG optimizer have less left to give.
Lossy WebP produces much smaller files for photographs and gradients, at the price of discarding detail. It suits pictures going onto a web page, not artwork you plan to edit again. Transparency survives either way.
What 'maximum quality' really asks the browser for
Browsers write WebP from a canvas through their own encoder. This tool asks for the top quality setting and doesn't decide how the browser interprets it, which is exactly why the pixel check exists. After encoding, the tool reads the WebP back, compares every pixel with the PNG, and reports either an exact match or how many pixels differ and by how much. Fully transparent pixels are ignored in the comparison, since their color is invisible. If the check shows differences, choose Lossy on purpose or keep the PNG. The page on PNG versus WebP has the measured comparison.
Choosing a lossy quality number
When you pick Lossy, the quality number trades size against detail. For photographs, values in the 75 to 90 range are a sensible place to begin, and the tool shows the new size next to the old one, so you can step down until the file is small enough or the picture starts to show damage. Look at gradients such as sky, at skin, and at any text in the image. Flat artwork with hard edges tolerates lossy settings less well than photographs do, so for logos and interface screenshots prefer Maximum quality. A lossy WebP is a one-way trade, so convert from the original PNG each time and never from a previous WebP.
How much smaller to expect
Google's own figures give a sense of the range. Its lossless study found WebP files about 23 percent smaller than PNGs that had already been through a heavy optimizer, and the FAQ states 26 percent smaller in general. Lossy output is where the larger savings sit, since it can be a fraction of the PNG for a photograph. The real number depends on the picture, which is why the tool reports your actual before and after sizes instead of promising a percentage.
Transparency, animation and what the converter will not do
- Transparency is kept in both modes, so cut-outs and soft shadows survive.
- Animated PNG becomes one still frame. The tool doesn't build an animated WebP.
- No resizing. The output has the same pixel dimensions as the PNG. Use the image resizer first if the picture is larger than the page needs.
- No batch queue. Run files one at a time with the same setting for a matching set.
- No metadata copying. Text chunks and similar fields are left behind.
Where the converted file is most useful
WebP pays off on web pages, where smaller images load faster, and in apps that accept it. Logos with transparency, screenshots and flat illustrations compress especially well as lossless WebP. Photographs are better served by the Lossy setting at a high quality number, and you can raise or lower the number until the file is small enough without a visible change. Keep the original PNG as your master. A WebP is a delivery copy, and an older program or print service may not open it, in which case WebP to PNG or WebP to JPG gets you back to a common format.
Browser support and file limits
- Some browsers can't encode WebP from a canvas at all. Where the browser writes something other than WebP, the tool stops with a message instead of giving you a wrongly named file.
- Current browsers can display WebP. Older software, including some email clients and print services, may not open it. Keep the PNG as well.
- One file at a time. Animated PNG becomes a single still frame.
- Source files up to 100 MB and 120 megapixels; the pixel check is skipped above about 36 megapixels.
If the pixel check reports differences
A mismatch in Maximum quality mode means the browser's encoder didn't return an exact copy. Run the conversion again to rule out a one-off, then look at how many pixels differ and by how much. A handful of pixels off by a tiny amount is invisible in practice, and a large count is a reason to keep the PNG as the delivery file. In Lossy mode differences are expected and are the point of the setting, so read the report as a measure of how far the file moved. When the destination refuses WebP, or when you need an exact copy, the answer is simple: publish the PNG, or run WebP to PNG on the result to confirm what it holds.
Does the conversion keep PNG metadata?
The WebP is made from canvas pixels, so text chunks and other metadata in the PNG aren't carried into it. The script reads the file in this tab and never sends your picture anywhere, so the picture isn't uploaded. To go the other way, WebP to PNG does it, WebP to JPG suits places that insist on JPEG, and the image compressor sets a byte ceiling.
Putting WebP on a website
If you're replacing PNGs on a site, convert a few representative images first and compare both the sizes and the look on the real page, not only in the tool. Keep the PNG next to the WebP in your project so you can regenerate at a different quality later. Current major browsers display WebP, and MDN notes that a picture element with a PNG fallback covers older ones. The measured comparison and the cases where PNG is still the sounder choice are on PNG versus WebP, and the compress without losing quality guide explains the lossy and lossless trade in general.
Questions people ask
Is PNG to WebP conversion lossless?
It can be. Choose Maximum quality and read the pixel check. If it says the pixels match exactly, the conversion lost nothing, and if it reports differences you can keep the PNG.
Does PNG to WebP keep transparency?
Yes. WebP supports an alpha channel, and the tool preserves it in both the lossless and the lossy setting, so cut-out logos and screenshots with soft shadows keep their edges.
How much smaller will my PNG get as a WebP?
Google reports lossless WebP about 26% smaller on average, and in its own study 23% smaller than heavily optimized PNG. Individual files vary, and the tool shows your real numbers.
Is my PNG uploaded?
No. The script reads the file in this tab and never sends your picture anywhere, so the picture stays on your device. Watch the network panel if you want to confirm it.
Does converting remove metadata?
The WebP is built from pixels only, so text chunks and similar fields in the PNG aren't copied into it. If you need them kept, use a converter that says it preserves them.
Should a website use WebP rather than PNG?
For most web images, yes, if your audience uses current browsers. See PNG vs WebP for the cases where PNG is still the better choice.
How do I convert PNG to WebP?
Choose the PNG, pick Maximum quality or Lossy, press Convert to WebP, and download after reading the size and pixel check.
Can it convert animated PNG to WebP?
Only as a single still frame. The converter writes one picture and drops the animation.
Which browsers can open a WebP file?
Current versions of the major browsers display WebP. Older software, some email clients and some print services may not, so keep the PNG as well.
Can I convert several PNG files at once?
Not here. The tool converts one file at a time, so run each PNG in turn and use the same setting for a matching set.
Sources