Performance
PerformanceMedium

Modern Image Formats

Checks images are served as WebP or AVIF — 30-50% smaller than JPEG/PNG.

What this check measures

We fetch page images and check their Content-Type. Flag JPEG/PNG images larger than ~30KB that would benefit from WebP or AVIF conversion.

Why it matters

A 2MB hero JPEG becomes a 500KB WebP with no visible quality loss — ~1.5s faster LCP on mobile. Universal browser support for WebP in 2026.

search

How our audit detects it

Fetch images, check Content-Type header. Flag large PNG/JPEG with % savings estimate.

Typical findings

  • error_outlineHero image as 3MB JPEG — could be 500KB WebP.
  • error_outlinePNG used for photo (use JPEG or WebP instead).
  • error_outlineNothing served in WebP or AVIF.

How to fix

Convert images to WebP (universal) or AVIF (smaller, needs fallback). Use <picture> with type variants for safety. Next.js Image component handles this automatically.

Copy-paste fix prompt for your stack

Lovable · Cursor · Bolt · v0 · Replit · Windsurf · Claude Code · Base44

View the fix prompt →

Frequently asked questions

WebP or AVIF?expand_more
WebP universal support, AVIF 30% smaller but Safari lags. Ship AVIF first in <picture>, WebP fallback, then JPEG.

Want this checked on your site?

Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.

Scan my site

Related checks