Web performance · Formats

WebP vs JPG: when to switch, and when to hold off

WebP delivers 25–35% smaller images at equivalent quality. That's a huge win — unless you hit one of a small number of real-world edge cases.

SCShariq Chaudhary· Founder, ImageConvertToJPG 6 min read

The theoretical case for WebP is overwhelming: 25–35% smaller files than JPG at the same perceived quality, real alpha channel support, both lossy and lossless modes, universal browser support since 2020. The practical case is almost as good, with a handful of exceptions worth knowing about.

Where WebP is a no-brainer

Any image that ships as part of a modern website: hero images, product photos, blog article images, thumbnails, avatars. Serving these as WebP with a JPG fallback (or, since 2024, just as WebP) will meaningfully improve LCP and lower your CDN bill. Sites migrating a large image library typically see total page weight drop by 30–40%.

Where JPG is still the right call

Client systems with format allowlists. Many CMSes, ad networks, and print production pipelines only accept JPG. Sending WebP will fail validation, and the fix is not on your side.

Long-term archival storage where you can't predict which software will open the file in 20 years. JPG's ubiquity is unmatched; WebP will almost certainly still open then, but 'almost certainly' is a different guarantee.

Email attachments to unknown recipients. Web browsers all handle WebP; a percentage of email clients on older Outlook or on obscure mobile apps still don't render the thumbnail correctly. JPG guarantees a preview.

Should you convert your existing library?

For a website's image folder — yes, almost always. Batch-convert JPGs to WebP at quality 0.82 and keep the JPGs as fallback. For a personal photo library on your own machine — probably not. The compatibility cost is real (some photo browsers still don't display WebP thumbnails well) and the storage saving matters less when photos live on a laptop, not a global CDN.

AVIF is coming for both

AVIF, based on the AV1 video codec, delivers roughly 50% smaller files than JPG at equivalent quality — even better than WebP. Browser support is now universal, but encoding is slower and the format is younger. For new projects starting today, an AVIF-with-WebP-fallback strategy is worth considering. For existing projects, the incremental gain over WebP is smaller than the WebP-over-JPG jump, so don't feel obliged to migrate twice.

Frequently asked questions

Is WebP better than JPG for photos?

For web delivery, yes — same visible quality at 25–35% smaller file size. For archival storage where you don't know what software will open it in 20 years, JPG's ubiquity is unmatched.

Do all browsers support WebP in 2026?

Yes. Every major browser has supported WebP since 2020; older Safari versions caught up in 2020 too. There's no meaningful compatibility risk left.

Should I convert my existing JPG library to WebP?

For a website's image folder, almost always. For a personal photo library on your own machine, probably not — the storage saving matters less locally and some photo browsers still handle WebP thumbnails inconsistently.

Tools referenced in this article
SC
Shariq Chaudhary
Founder, ImageConvertToJPG · imageconverttojpg.com

Shariq founded ImageConvertToJPG after a decade of shipping image pipelines for e-commerce and publishing platforms. Every tool on the site runs entirely in the browser — no uploads, no accounts, no tracking on tool pages.

Keep reading