Free auditStart free
GlossaryGlossary · Performance

WebP

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.

3 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

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.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What WebP is and why it exists

WebP is an image format developed by Google. It compresses images with lossy or lossless encoding to produce smaller files than JPEG or PNG, which reduces the bytes a page has to download.

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.

Using WebP with fallback in HTML
<picture>
  <source srcset="image.webp" type="image/webp" />
  <img src="image.jpg" alt="Description" />
</picture>
03How it works

Browser support and implementation

Google's WebP page says WebP is natively supported in Chrome, Safari, Firefox, Edge and Opera. MDN adds that WebP has broad support in current browsers but not deep historical support, and recommends a JPEG or PNG fallback using the <picture> element.
  1. 1

    Export a WebP file

    Convert your source image with an encoder such as Google's cwebp tool, or let your build pipeline or image CDN do it.

  2. 2

    Add it as a source

    Put the WebP file in a <source> tag with type="image/webp". The browser skips sources it can't decode.

  3. 3

    Keep a fallback

    Leave a JPEG or PNG <img> as the last child of <picture>. It is what unsupported browsers load, and it carries the alt text.

  4. 4

    Compare the bytes

    Check the WebP against the original at similar visual quality before you ship it.

04Checklist

Common mistakes with WebP

First2
Serving WebP with no fallback. MDN recommends a JPEG or PNG fallback, and <picture> provides it.
Expecting the quoted percentages on your own images. Google's figures come from its comparisons, so measure your files.
Next1
Accepting lossy output without looking at it. Lossy WebP discards image data, so compare the result with the original before you ship it.
Then1
Forgetting alt, width and height on the fallback <img>. The format change doesn't replace them.
05How it works

How to measure WebP adoption and impact

Measure before and after, using the same pages and the same quality settings. If an image is the page's Largest Contentful Paint (LCP) element, LCP is the metric to watch.
  1. 01

    Compare file sizes

    Run ls -lh hero.jpg hero.webp to see the byte difference for each converted image.

  2. 02

    Run PageSpeed Insights

    Test the same URL before and after the change and compare the LCP value and the image-related audits.

  3. 03

    Watch field data

    Check the Core Web Vitals report in Search Console to see whether real-user LCP improves over the following weeks.

  4. 04

    Check the Network tab

    In Chrome DevTools, filter by Img and confirm the browser downloaded the .webp file and not the fallback.

Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Is WebP lossless or lossy?

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.

02What browsers support WebP?

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.

03Does WebP improve SEO?

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.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • mozilla.org
  1. 01WebP: a new image format for the webdevelopers.google.com · checked 2026-10-24
  2. 02Image file type and format guide (MDN)developer.mozilla.org · checked 2026-10-24
  3. 03Understanding Core Web Vitals and Google search resultsdevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly