For most websites, WebP is the safe default today: according to Google, lossy WebP images are 25–34% smaller than comparable JPEGs, and according to Can I use about 97% of browsers in use display WebP. AVIF can save even more and is supported by about 96% (data as of September 2026). JPG remains the fallback for everything else.

Why image format choice matters

According to the HTTP Archive’s Web Almanac 2024, images are the predominant resource type on home pages if you leave video aside: the median desktop home page loads 1,054 KB of images, the mobile one 900 KB. Smaller image files load faster. That mainly affects Largest Contentful Paint (LCP), which web.dev rates as “good” up to 2.5 seconds – on many pages the largest visible element is an image.

Google uses Core Web Vitals, which include LCP, in its ranking systems. At the same time Google states that good page experience does not guarantee top rankings (Google Search Central). Faster images are above all a win for your users.

What the formats achieve according to the vendor

For WebP, Google publishes its own comparison figures:

Vendor figures from Google (as of October 2026)
ComparisonGoogle’s figure
lossy WebP vs. JPEG25–34% smaller at comparable quality (SSIM index)
lossless WebP vs. PNG26% smaller
animated GIF → animated WebP64% smaller (lossy), 19% smaller (lossless)

For AVIF, Google engineers on web.dev report significant compression gains over JPEG and WebP, with savings of more than 50% versus JPEG in their own and others’ tests. They stress, however, that the actual savings depend on content, encoder settings and quality target. So only a test with your own images shows how much you save.

Lossy vs. lossless: what does it mean in practice?

JPG and WebP in lossy mode discard image information the eye barely notices: fine colour nuances, high-frequency detail and noise. In photos this is hardly visible at a high quality setting.

For screenshots, logos and text graphics it’s different: sharp edges matter, and lossy compression creates visible artifacts around text. For such content, PNG or lossless WebP is the better choice.

A typical decision guide:

  • Photos → lossy WebP or AVIF, JPG as fallback
  • Screenshots with text → lossless WebP or PNG
  • Logos and icons → SVG (vector instead of raster), see SVG on the web
  • Animations → animated WebP instead of GIF (64% smaller with lossy encoding, according to Google)

Browser support

First version with full support according to Can I use (data as of September 2026)
BrowserJPGWebPAVIF
Chrome✅✅ from 32✅ from 85
Edge✅✅ from 18✅ from 121
Firefox✅✅ from 65✅ from 93
Safari (macOS)✅✅ from 16.0 (partial from 14)✅ from 16.4 (partial from 16.1)
Safari (iOS)✅✅ from 14✅ from 16.0

Worldwide, about 97% of browsers in use display WebP according to Can I use, and about 96% display AVIF according to Can I use. JPG remains indispensable as the universal fallback.

Recommendation: the fallback chain

The robust approach for modern websites is a layered fallback chain using the <picture> element:

<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="Description" width="800" height="600">
</picture>

According to MDN, the browser considers the <source> elements, skips formats it doesn’t support and chooses the best match. If none fits, it shows the <img>. That way every visitor gets a file their browser can display.

A practical workflow

  1. Audit: use Lighthouse or PageSpeed Insights to find the largest images on your key pages and which element is the LCP.
  2. Build pipeline: generate WebP and AVIF variants automatically, for example with the Node package sharp. Its default quality values (JPEG 80, WebP 80, AVIF 50) are a sensible starting point; check the result on your own images.
  3. Delivery: AVIF and WebP via the <picture> element, JPG as fallback.
  4. Layout: set width and height on the <img> so the page doesn’t shift while loading.
  5. Loading: loading="lazy" for images below the fold, fetchpriority="high" for the LCP image.

Conclusion

For today’s web, WebP is the safe default: noticeably smaller files than JPG and supported almost everywhere. AVIF is worth adding as an extra step in the fallback chain if your build pipeline can produce it. JPG remains the universal exchange format. What you actually save is shown by comparing with your own images.

Convert images with wandlio

For individual images you can, for example, convert JPG to WebP or convert WebP to JPG. These image converters run in your browser; the file stays on your device. For whole websites, an automated pipeline as described above is the better route.