# WebP

> WebP is Google

Canonical: https://scaplet.com/glossary/webp

Glossary Glossary · Performance

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fwebp%20(%22WebP%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fwebp%20(%22WebP%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fwebp%20(%22WebP%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fwebp%20(%22WebP%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What WebP is and why it exists 01](#what-webp-is-and-why-it-exists)
2. [WebP compression benefits 02](#webp-compression-benefits)
3. [Browser support and implementation 03](#browser-support-and-implementation)
4. [Common mistakes with WebP 04](#common-mistakes-with-webp)
5. [How to measure WebP adoption and impact 05](#how-to-measure-webp-adoption-and-impact)

_01_Check 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>
```

_02_At a glance

## WebP compression benefits

These are Google's figures from its WebP page: lossless WebP images are "26% smaller in size compared to PNGs", and lossy WebP images are "25-34% smaller than comparable JPEG images at equivalent SSIM quality index". MDN gives a slightly different range for lossy, 25-35% on average, so treat all of these as ballpark figures.

Format

### WebP lossless vs PNG

File size advantage

26% smaller

Use case

Graphics and icons that need exact pixels

Format

### WebP lossy vs JPEG

File size advantage

25-34% smaller (equivalent SSIM)

Use case

Photographs

Format

### WebP lossy with transparency vs PNG

File size advantage

Typically 3× smaller

Use case

Transparent images where some loss is acceptable

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.

_03_How 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.

_04_Checklist

## Common mistakes with WebP

First_2_
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.

Next_1_
Accepting lossy output without looking at it. Lossy WebP discards image data, so compare the result with the original before you ship it.

Then_1_
Forgetting `alt`, `width` and `height` on the fallback `<img>`. The format change doesn't replace them.

_05_How 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](/glossary/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](/glossary/core-web-vitals-report) in [Search Console](/glossary/google-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.

_01_ Is 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.

_02_ What 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.

_03_ Does 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](/glossary/core-web-vitals), with other [page experience](/glossary/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. 01 [WebP: a new image format for the web](https://developers.google.com/speed/webp) developers.google.com · checked 2026-10-24
2. 02 [Image file type and format guide (MDN)](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types) developer.mozilla.org · checked 2026-10-24
3. 03 [Understanding Core Web Vitals and Google search results](https://developers.google.com/search/docs/appearance/core-web-vitals) developers.google.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn AVIF Performance](/glossary/avif) [Related Responsive design Performance](/glossary/responsive-design) [Read next Responsive images Performance](/glossary/responsive-images) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Web scraping](/glossary/web-scraping) [Web stories](/glossary/web-stories) [White hat SEO](/glossary/white-hat-seo) [White paper](/glossary/white-paper)

More in Performance
[Responsive design](/glossary/responsive-design) [Responsive images](/glossary/responsive-images) [Service worker](/glossary/service-worker) [Speculation rules](/glossary/speculation-rules) [Speed Index](/glossary/speed-index) [SVG](/glossary/svg) [Synthetic monitoring](/glossary/synthetic-monitoring) [Time to First Byte (TTFB)](/glossary/time-to-first-byte) [Time to Interactive (TTI)](/glossary/time-to-interactive) [Total Blocking Time (TBT)](/glossary/total-blocking-time) [TTL (time to live)](/glossary/ttl) [Viewport meta tag](/glossary/viewport-meta-tag) [WebP](/glossary/webp) [AVIF](/glossary/avif) [bfcache (back/forward cache)](/glossary/bfcache) [Brotli compression](/glossary/brotli-compression) [Cache-Control](/glossary/cache-control) [CDN](/glossary/cdn) [Chrome UX Report (CrUX)](/glossary/chrome-ux-report) [Content Security Policy](/glossary/content-security-policy) [Content-Length (HTTP header)](/glossary/content-length) [Core Web Vitals](/glossary/core-web-vitals) [Core Web Vitals report](/glossary/core-web-vitals-report) [CORS](/glossary/cors)

Terms on this page
[Largest Contentful Paint](/glossary/largest-contentful-paint) [Core Web Vitals report](/glossary/core-web-vitals-report) [Google Search Console](/glossary/google-search-console) [Core Web Vitals](/glossary/core-web-vitals) [Page experience](/glossary/page-experience)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
