If you've ever run a performance test on Google PageSpeed Insights and gotten the "Serve images in next-gen formats" warning, the recommendation was to convert your images to WebP. It's the format Google considers the modern standard for images on the web — and there are good reasons for that.

What does WebP stand for?

WebP is an image format developed by Google and launched in 2010. The name is a combination of Web + P (for Picture). It was created with a clear goal: to offer superior compression to JPG and PNG in order to reduce web page weight without sacrificing visual quality.

Unlike JPG (which only supports lossy compression) and PNG (which only supports lossless compression), WebP supports both compression modes — lossy and lossless — plus transparency with an alpha channel and animations. It's effectively a single format that replaces JPG, PNG, and GIF in one file.

How does WebP work?

Lossy WebP is based on the VP8 video codec, also developed by Google. It uses a technique called block prediction: instead of storing each pixel individually, the algorithm predicts each block of pixels' value based on neighboring blocks and stores only the difference between the prediction and the actual value. The smaller the difference, the smaller the file.

Lossless WebP uses its own set of techniques, including spatial prediction, color transformation, and entropy compression with an algorithm called LZ77 + Huffman coding. The result is a lossless file significantly smaller than an equivalent PNG — on average, 26% smaller for the same content.

Is WebP really smaller than JPG and PNG?

Yes, and the difference is considerable. According to Google's own data:

ComparisonAverage size reduction
Lossy WebP vs JPG (same visual quality)25–35% smaller
Lossless WebP vs PNG (same quality)~26% smaller
WebP with transparency vs PNG~22% smaller

In practice, this means an online store with 500 product images in JPG can reduce its total image volume by a third simply by converting to WebP — with no perceptible visual loss at all.

💡 SEO impact: Google uses load speed as a ranking factor. WebP images reduce LCP (Largest Contentful Paint) — one of the main Core Web Vitals metrics — and directly contribute to better positions in search results.

What are the advantages of WebP?

What are WebP's limitations?

WebP vs JPG vs PNG vs SVG — complete comparison

FeatureWebPJPGPNGSVG
CompressionLossy and losslessLossyLosslessVector
TransparencyYesNoYesYes
AnimationYesNoNo*Yes
Ideal for photosYesYesNoNo
Ideal for logos and iconsYesNoYesYes
Scalable with no lossNoNoNoYes
File sizeVery smallSmallMedium to largeVery small
Universal supportModern browsersUniversalUniversalModern browsers

* Animated PNG (APNG) exists, but has limited support.

When should you use WebP?

WebP is the best choice for the vast majority of images displayed on modern websites and web applications:

Avoid WebP for images sent by email, uploads to social networks that don't accept the format, and working files that will be edited — in these cases, keep JPG or PNG.

Convert your images to WebP now

Reduce your images' weight by up to 35% with no visual loss. Convert JPG and PNG to WebP for free, directly in your browser.

Convert to WebP

How do you use WebP with a fallback for older browsers?

Although every modern browser supports WebP, it's good practice to provide a JPG or PNG fallback to ensure compatibility. In HTML, this is done with the <picture> tag:

With this approach, browsers that support WebP load the smaller file; the rest automatically load the JPG or PNG as an alternative. This is the strategy Google recommends for sites that need broad compatibility.

Frequently Asked Questions

Is WebP supported by Safari?
Yes. Safari started natively supporting WebP from version 14, released in 2020 alongside macOS Big Sur and iOS 14. Every modern Apple device displays WebP with no issue.
Can I use WebP in marketing emails?
It's not recommended. Most email clients — especially Outlook and older versions of Apple Mail — don't render WebP. For images in email, keep using JPG for photos and PNG for images with transparency.
Does WebP hurt photos' visual quality?
Not perceptibly. At qualities above 75–80%, the difference between a WebP and an equivalent JPG is imperceptible to the naked eye. For web use, lossy WebP at 80% quality is the ideal sweet spot between size and visual fidelity.
How do I open a WebP file on Windows?
On Windows 11, WebP support comes native. On Windows 10, you need to install the WebP Image Extensions codec, available for free on the Microsoft Store. After installing it, WebP files open normally in Photo Viewer and File Explorer.
Does WebP completely replace JPG and PNG?
For web use, yes — WebP is superior in almost every respect. For use outside the web (email, printing, social media platforms that don't accept the format, legacy software), JPG and PNG are still needed. The ideal strategy is to use WebP on your site and keep JPG/PNG as a fallback or for other contexts.