WebP lossless vs PNG
- File size advantage
- 26% smaller
- Use case
- Graphics and icons that need exact pixels
WebP is Google's image format. Google reports lossless files 26% smaller than PNG and lossy files 25-34% smaller than JPEG. Browser support and how to serve it.
WebP is an image format developed by Google that supports lossy and lossless compression, transparency and animation. Google reports that lossless WebP is 26% smaller than PNG and lossy WebP is 25-34% smaller than comparable JPEG at equivalent SSIM quality. Chrome, Safari, Firefox, Edge and Opera support it natively.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Google's WebP page says transparency works in both modes and that animated WebP can provide reduced sizes compared to GIF and APNG. MDN lists the MIME type as image/webp, the extension as .webp, and a maximum size of 16,383×16,383 pixels.
<picture>
<source srcset="image.webp" type="image/webp" />
<img src="image.jpg" alt="Description" />
</picture>For transparency, Google says lossless WebP costs "just 22% additional bytes", and lossy WebP with transparency is typically "3× smaller file sizes compared to PNG". Those numbers describe Google's test images. Your own files will differ.
<picture> element.Convert your source image with an encoder such as Google's cwebp tool, or let your build pipeline or image CDN do it.
Put the WebP file in a <source> tag with type="image/webp". The browser skips sources it can't decode.
Leave a JPEG or PNG <img> as the last child of <picture>. It is what unsupported browsers load, and it carries the alt text.
Check the WebP against the original at similar visual quality before you ship it.
<picture> provides it.alt, width and height on the fallback <img>. The format change doesn't replace them.Run ls -lh hero.jpg hero.webp to see the byte difference for each converted image.
Test the same URL before and after the change and compare the LCP value and the image-related audits.
Check the Core Web Vitals report in Search Console to see whether real-user LCP improves over the following weeks.
In Chrome DevTools, filter by Img and confirm the browser downloaded the .webp file and not the fallback.
3 questions people ask next, answered from the sources on this page.
Both. Lossless WebP keeps every pixel and suits graphics and screenshots. Lossy WebP discards some detail for smaller files and suits photographs. Both modes can carry transparency.
Google's WebP page lists Chrome, Safari, Firefox, Edge and Opera. MDN says support is broad in current versions but has little historical depth, so keep a JPEG or PNG fallback with the <picture> element.
The sources cited here do not describe WebP as a ranking factor. Smaller images can improve loading, and Google says good Core Web Vitals, with other page experience aspects, "aligns with what our core ranking systems seek to reward". The effect depends on whether images were your bottleneck.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.