New

FlowConsent, our own cookie banner, is live.

WebP image format: plainly explained.

WebP compresses images smaller than JPEG or PNG at similar quality. Definition, lossy vs lossless, browser support, impact on Core Web Vitals.

Website · Updated Nov 7, 2026

DEFINITION

WebP is a modern image format from Google that compresses photos and graphics to smaller file sizes than JPEG or PNG while keeping comparable visual quality.

CATEGORY

Website

RELATED

Core Web Vitals, CDN

Summarize this page with AI

01

What is the WebP image format?

WebP is an image format developed by Google that compresses photos and graphics to significantly smaller file sizes than JPEG or PNG while keeping comparable visual quality. A typical WebP file is 25 to 35 percent smaller than an equivalent JPEG and even more compact than PNG for graphics with flat colors or transparency. Because image weight is usually the largest contributor to a page's total download size, switching to WebP is one of the most direct ways to speed up a site without changing its design or content.

WebP was released in 2010 and has since become one of the recommended formats in Google's own PageSpeed Insights and Lighthouse audits, which flag legacy JPEG and PNG images as an opportunity to save bytes. It is now supported natively by every major browser, which removed the main barrier that kept adoption low for years after its release.

02

How WebP compression works

WebP uses prediction-based compression borrowed from video codecs: it predicts a block of pixels from neighboring blocks already decoded, then only encodes the difference, which is far more efficient than compressing each block independently as older formats do. The format supports both lossy compression, which discards some visual detail for a smaller file, and lossless compression, which preserves every pixel exactly while still shrinking the file compared to PNG.

Serving WebP with a JPEG or PNG fallback for older browsers uses the picture element:

<picture>
<source srcset="hero.webp" type="image/webp">
<img src="hero.jpg" alt="Product hero image" width="1200" height="630">
</picture>

The browser downloads the WebP source when it supports the format, and silently falls back to the JPEG in the img tag otherwise, with no JavaScript required.

03

Types and variants

  • Lossy WebP: comparable to JPEG, discards imperceptible detail for maximum compression, best for photos.
  • Lossless WebP: comparable to PNG, keeps every pixel exact, best for logos, screenshots, and graphics with sharp edges.
  • WebP with transparency: supports an alpha channel like PNG, at a fraction of the file size.
  • Animated WebP: a direct replacement for animated GIF, with far smaller files for the same frame sequence.
04

WebP vs JPEG vs PNG

FormatTypical file size
WebPSmallestTransparencyYesBest forPhotos and graphics on the web
JPEGMediumTransparencyNoBest forPhotos, universal fallback
PNGLargestTransparencyYesBest forLogos, screenshots, sharp-edge graphics
05

Best practices and common pitfalls

  • Always provide a fallback with the picture element rather than serving WebP as the only source, to protect any visitor on an outdated browser.
  • Set explicit width and height attributes so the browser reserves layout space and avoids shifts while images load.
  • Use lossy WebP for photos and lossless WebP for logos or UI graphics; applying the wrong mode wastes either quality or file size.
  • Re-export existing JPEG and PNG assets rather than only using WebP for new images, since legacy images are usually the largest untapped savings on an older site.
  • Do not assume a CMS or hosting platform converts images to WebP automatically; verify with an image audit tool that files are actually served in the format.
06

Impact on performance and SEO

Image weight is one of the biggest levers for Core Web Vitals, particularly Largest Contentful Paint, since large hero images are frequently the single heaviest resource on a page. Switching JPEG and PNG assets to WebP typically cuts total image weight by a quarter to a third with no visible quality loss, which shows up directly in PageSpeed Insights and Lighthouse scores. Faster loading pages also tend to have lower bounce rates and better crawl efficiency, since search engine bots can process more pages within the same crawl budget when each page is lighter.

07

WebP at BeBranded

We convert and serve images in WebP by default on the sites we build, paired with lazy loading and a CDN to keep page weight and load times as low as possible. Every project is audited against Core Web Vitals thresholds before launch, and image format is one of the first levers we check. See our website service for how we handle performance across the sites we design and build.

FAQ

Questions about WebP image format.

Another question?

Write to us
What is the WebP image format used for?
It is used to serve smaller image files on websites, reducing page weight and load time compared to JPEG or PNG at a similar visual quality.
Is WebP better than JPEG?
For most photos, yes: WebP typically produces files 25 to 35 percent smaller than a comparable JPEG at the same visual quality, though JPEG remains slightly more universally supported.
Does WebP support transparency?
Yes. WebP supports alpha transparency like PNG, but with much smaller file sizes, which makes it a direct replacement for transparent PNG graphics on the web.
Do all browsers support WebP?
All major modern browsers, including Chrome, Firefox, Safari, and Edge, support WebP natively. A fallback with the picture element still protects very old browsers.
Can WebP images be animated?
Yes. WebP supports animation similar to GIF, but with substantially smaller file sizes for the same frame sequence.
Does using WebP improve Core Web Vitals?
It generally helps Largest Contentful Paint by reducing the bytes the browser has to download for image-heavy pages, provided images are also correctly sized and lazy-loaded.

Related

Related terms, and where to go next.

The power of landing pages: why they are essential for high-converting campaigns
Conversion

The power of landing pages: why they are essential for high-converting campaigns

Why a dedicated landing page converts better than a generic page: Quality Score, UX, A/B testing and a clear method to improve your campaign ROI.

Read the article
The 5 best no-code website builders for 2026
No-Code

The 5 best no-code website builders for 2026

Looking to build a website without coding? Discover the 5 best no-code website builders in 2026: Webflow, Framer, WordPress, Squarespace and Wix.

Read the article
Mastering Webflow development with Client-First: a comprehensive guide
Webflow

Mastering Webflow development with Client-First: a comprehensive guide

Discover the Client-First system for Webflow: an efficient method to structure, optimize and maintain your Webflow projects with clarity.

Read the article

Let’s talk

Tell us what you want to build.

Thirty minutes with the people who will work on your project. You leave with a clear view of the scope, the timeline and the next steps.

What happens next

  1. 1A 30-minute callWe listen to your goals, your constraints and your context.
  2. 2A clear scopeWe map what is worth doing first, and what it takes.
  3. 3A costed proposalYou decide, with no commitment and no sales pitch.