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 is available with lossy or lossless WebP color coding; exact color preservation is a separate requirement.
- 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 changes color samples and can retain alpha. Its quality-to-size trade-off is useful for photographs, hero images, and product shots. Test several settings on important detail instead of assuming a quality number or reduction percentage guarantees an invisible change.
Decision rule: preserve PNG or use a dedicated lossless encoder when exact color samples matter. For photographic delivery, test quality-controlled WebP, including transparent cutouts. Collabs Tool's browser exporter does not expose an explicit lossless mode.
Best Converters Compared
Collabs Tool offers browser-based conversion with a quality setting, transparency support, and up to 20 files per converter batch. Download and compare an output in your viewer. Use a dedicated encoder elsewhere if the requirement is an explicitly lossless WebP, rather than assuming quality 100 selects that mode.
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.
A transparent PNG can remain transparent after lossy WebP export. If a solid background appears, investigate whether the exporter flattened it or the viewer is compositing it against that color. A white fringe can instead indicate contaminated edge colors, which re-encoding alone does not repair.
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.
Use PNG to WebP to evaluate a delivery copy, keeping the source PNG separately. The WordPress WebP guide covers media-library integration, while the lossless-versus-lossy explanation clarifies why a maximum quality setting is not a dedicated lossless mode. If JPEG is required instead, follow the PNG-to-JPG guide and deliberately choose a background.
Frequently asked questions
The questions people ask most about png to webp: quality, alpha and smaller files, answered directly.