Key takeaways
- Lossless WebP beats PNG on size with identical pixels: typically 20-30% smaller.
- Lossy WebP at quality 80 cuts photographic PNGs by 60-85% with no visible difference.
- Transparency requires lossless mode — lossy WebP has no alpha channel at all.
- Rule of thumb: text, UI and logos go lossless; photographs go lossy at quality 80.
- Serve WebP inside a <picture> element with a PNG fallback and even old browsers never break.
Why Convert PNG to WebP?
PNG's lossless compression is excellent for graphics with flat colours but terrible for photographic content. A 12-megapixel camera photo saved as PNG is typically 15-25 MB — absurd for a web image. The same image as lossy WebP at quality 80 is 400-800 KB and visually identical.
Even for graphics: PNG → lossless WebP gives you identical pixel-perfect output at 20-30% smaller. If you host 500 images on a product page, switching from PNG to WebP saves roughly 30% of total bandwidth with zero visual change.
For SEO: Google's Core Web Vitals use Largest Contentful Paint (LCP). Your hero image is usually the LCP element. Converting it from 3 MB PNG to 600 KB WebP cuts LCP by over a second on average connections.
Lossy vs Lossless PNG → WebP Conversion
Lossless mode: every pixel in the WebP matches the PNG exactly. Alpha channel is preserved. Reduction: 20-30% on any image type. Zero quality loss. Use for: logos, icons, screenshots, graphics with text.
Lossy mode: perceptually identical but mathematically different pixels. Alpha is not supported in lossy mode. Reduction: 60-85% on photographic content. Use quality 80-85 for near-invisible loss. Use for: photographs, hero images, product shots.
Decision rule: if the image has sharp text edges or transparency → lossless. If it is photographic → lossy at quality 80.
Best Converters Compared
Collabs Tool (browser-based, free, batch 20 files): quality slider, side-by-side preview, preserves transparency, no upload. Best for privacy-conscious users and medium batches.
Squoosh (Google's open-source browser tool): single file, shows before/after with slider, lets you choose WebP vs AVIF vs JPEG. Excellent for comparing options on one file.
CloudConvert (server-based, supports 200+ formats): good for formats beyond WebP. Requires upload — a privacy consideration. Free tier: 25 operations per day.
ImageMagick (desktop, command-line): unlimited batch, scriptable, best for developers and large migrations. magick input.png -quality 80 output.webp.
Keeping Transparency
If your PNG has an alpha channel, converting to lossless WebP preserves it perfectly. The resulting WebP looks identical on any background.
If you convert a transparent PNG to lossy WebP, the alpha is destroyed: the transparent area becomes a solid-colour background (usually white, sometimes black, depending on the converter). Most tools warn you — some silently flatten.
For the smallest transparent WebP: lossless mode with a good encoder (the libwebp default) already beats PNG-32 by 20-30%.
Settings Cheat Sheet
Photographic image → WebP lossy, quality 80, no alpha. Expect 70-80% size reduction.
Logo/icon with transparency → WebP lossless. Expect 20-30% reduction, alpha preserved.
Screenshot (text + UI) → WebP lossless. Expect 25-35% reduction.
Large hero image for website → WebP lossy, quality 75. Accept slight softening for maximum speed.
Archival (no quality loss, but smaller than PNG) → WebP lossless. Always safe.
Frequently asked questions
The questions people ask most about png to webp: reduce file size by 30-80% (free converter), answered directly.