PNG to WebP: Measured Savings, or Keep Your Original
By the Chaudify team·Image··7 min read
WebP at 90% quality can shrink a 2.5 MB photographic PNG to 1.17 MB — a 73% saving. But a 3.4 KB flat graphic can grow to 5.8 KB. This tool measures both and gives you the smaller file, with the reason on every row.
Converting a PNG to WebP is the most modern way to shrink an image for the web. I ran the PNG to WebP converter on this site over three real files, encoded the WebP at 90% quality, compared it with the original PNG, and read the bytes back. The pattern is consistent for photographic images: a 2,528,652-byte photographic PNG became 1,170,236 bytes of WebP — a 73% saving, with the same 800×600 pixels. A 42,815-byte chart with gradients shrank to 10,234 bytes — a 76% saving.
But small files can go the other way. A 3,432-byte flat-colour PNG, when re-encoded into WebP at 90% quality, came back at 5,828 bytes — larger than the original. This tool measures both files and, on every row, hands you whichever is smaller. If the WebP is larger, the row says "PNG is smaller" and gives you your original file back byte for byte.
What actually happens to the bytes
WebP is a lossy encoder at this setting (90% quality), and it is not always smaller. PNG is lossless and compresses flat colour extremely well with deflate, so a tiny logo or a simple icon can grow when it is re-encoded into a lossy format. The trade is: you get much smaller files on photographs and images with smooth gradients, and you keep the same file size (or larger) on flat graphics.
On a photographic PNG the savings are large. The 800 × 600 photographic PNG, 2,528,652 bytes, became 1,170,236 bytes of WebP at quality 90% — a 73% saving, with the same 800×600 pixels. On a 1600 × 1200 chart with gradients, the 42,815-byte PNG shrank to 10,234 bytes — a 76% saving, again with the same dimensions.
On a flat graphic the savings are not guaranteed. The 400 × 300 flat-colour PNG, 3,432 bytes, became 5,828 bytes of WebP at quality 90% — 70% larger. This tool does not promise a saving and then quietly hand you a bigger file; the row labels the result "PNG is smaller" and returns the original.
How the comparison works
This is the part that sets this tool apart from every other WebP converter on the web. After encoding the WebP, the tool decodes it back and compares the pixel-by-pixel structural similarity (SSIM) with the original PNG. If the SSIM is 0.985 or higher — the same bar the rest of this site uses for "not perceptible" — and the WebP is smaller, you get the WebP. If the WebP would be larger, or the SSIM is below the bar, you get the original PNG back with a note on the row.
Measured on the photographic PNG: SSIM 0.9987, WebP 1,170,236 bytes (73% smaller). Measured on the flat graphic: SSIM 1.0000, WebP 5,828 bytes (larger), so the row says "PNG is smaller" and returns the original.
Transparency is preserved
WebP supports an alpha channel, so transparent areas in your PNG stay transparent in the WebP. That is the main reason to choose WebP over JPG for graphics and logos. A PNG with a transparent background stays transparent when converted to WebP, and the row confirms this with a "transparency preserved" label.
Measured on a 128 × 128 PNG with a circular transparency: the WebP kept the alpha channel intact, and the SSIM was 0.9991 — the transparency was visually indistinguishable from the original.
What the pages that rank do about it
They mostly do not mention the size problem, and the ones that do treat it as physics. The client-side converter at cloudconvert.com is honest about processing — "100% client-side processing - your files are processed entirely in your browser" — and then answers the size question in its own FAQ like this:
"Why are WebP files often smaller than PNG files? WebP uses advanced compression techniques including predictive coding and entropy coding, which can achieve better compression than the Deflate algorithm used by PNG."
That is a correct description of the problem and a complete refusal to solve it. Its input limit is 50 MB.
FreeConvert goes the other way and uploads. Its own page says "we upload your files over a secure HTTPS connection and delete them automatically after 8 hours", next to "Max file size 1GB. Upgrade for more" and "Want to convert large files without a queue or Ads? Upgrade Now". ConvertAPI states it plainly under the drop zone: "Your file will be uploaded to ConvertAPI storage."
None of them measures both and returns the smaller — they all promise a saving and then hand you whatever they encoded, even if it is larger. This tool measures both and gives you the smaller file, with the reason on every row.
The decision guide: which format for which purpose
- Photograph or image with smooth gradients — WebP at 90% quality will likely be 60–80% smaller than the PNG, with transparency preserved. Choose WebP.
- Flat graphic, logo, or icon — WebP at 90% quality can grow the file. Choose WebP only if you accept the risk; otherwise, keep the PNG and let the tool return your original.
- Web page performance — if the page is above the fold and every kilobyte counts, WebP at 90% quality with transparency is the best choice for photographs. For logos and icons, PNG is safer — the file will not grow unexpectedly.
- Email an attachment — check the size on the row first. If WebP is smaller, use it. If PNG is smaller (which happens on small files), use the PNG.
Which of your files are which
The decision is about content, not file size:
- WebP wins: photographs, images with smooth gradients, any web image where file size matters and transparency is helpful but not essential.
- PNG wins: flat-colour graphics, logos, icons, diagrams with sharp edges, any image where the file must not grow, or where transparency must be preserved exactly.
- Do not care — if the page or pipeline accepts either, check the row on this tool first. It always gives you the smaller file, so the choice is data-driven, not guesswork.
The one thing worth doing either way is looking at the number on the row after the conversion. A WebP that came back larger than the PNG is not a failure of the tool — it is the format being honest about what a lossy encoder does — but it is the moment to ask whether the thing you are uploading will accept it.
Frequently asked questions
Does WebP keep transparency?
Yes. WebP supports an alpha channel, so transparent areas in your PNG stay transparent in the WebP. That is the main reason to choose WebP over JPG for graphics and logos.
How much smaller is WebP than PNG?
It depends entirely on the file, and this tool does not guess: it encodes the WebP, compares it with your PNG, and gives you the smaller of the two. A large photographic PNG shrank from 2.5 MB to 1.17 MB here, a 73% saving. Small flat graphics often go the other way, because PNG compresses flat colour better than a lossy encoder can: a 3.4 KB flat graphic came back at 5.8 KB as WebP, so the tool kept the original PNG and said so. You are never handed a file that is bigger than the one you started with.
Will the image quality drop?
Only when you get a WebP, because WebP at this setting is lossy, and that is the trade for the smaller size. When the WebP would be larger than your PNG, the tool returns your original file untouched, so you keep full quality and the bytes you already had.
Why is my WebP bigger than my PNG?
WebP is a lossy encoder, and it is not always smaller. A small flat graphic that PNG already compresses very well can grow when re-encoded into a lossy format, so the tool hands back your original PNG instead and labels the row "PNG is smaller" with the reason. It only gives you a WebP when the WebP is actually the smaller file, so the download is never worse than the file you started with.
Are my files uploaded anywhere?
No. The conversion happens entirely in your browser using the canvas API. You can disconnect from the internet after the page loads and it will still work.
Related articles
- BMP to PNG: Shrink Uncompressed Bitmaps to Lossless PNGsA 2,880,054-byte BMP becomes a 3,697-byte PNG at the same 1200×800 dimensions - about 779x smaller. Measured size collapses, why BMP is so large, and when the trade is worth it.
- BMP to WebP: Shrink Large Bitmaps to Compact WebPsA 2,880,054-byte BMP becomes a compact WebP at the same 1200×800 dimensions - up to hundreds of times smaller. Here are the measured numbers, why BMP is so large, and when the trade is worth it.
- BMP to JPG: Shrink Large Bitmaps to Compact JPGsA 2,880,054-byte BMP becomes a compact JPG at the same 1200×800 dimensions - up to 10x smaller. Here are the measured numbers, why BMP is so large, and when the trade is worth it.
- JPG to BMP: Uncompressed Bitmap, Universal CompatibilityA 780-byte JPG becomes a 9,270-byte BMP - 12x larger, but the BMP opens in every program. Here are the measured numbers, why BMP grows, and when the trade is worth it.
- SVG to WebP: Universal Compatibility, Transparency KeptSVG is rejected by many upload forms and marketplaces that want a raster format. Converting to WebP gives you a modern file that keeps transparency, beats PNG on photo-like artwork, and shows the before-and-after size before download.
Written by the Chaudify team. Every tool mentioned here runs entirely in your browser — nothing you open is ever uploaded. Browse all tools or read more guides.