Convert images to WebP or AVIF

Modern image formats are 25–50% smaller than JPEG/PNG at the same visual quality.

What it means

JPEG and PNG date from the 1990s. WebP and AVIF are modern formats that all current browsers support, producing dramatically smaller files for the same picture.

Why it matters

Images are usually the heaviest thing on a page. Cutting their size in half is the single cheapest speed win available — and it directly improves LCP and your mobile score.

How to fix it

  1. Export new images as WebP (or AVIF for even smaller files) directly from your design tool, or batch-convert existing ones with Squoosh or ImageMagick.
  2. On WordPress, install an optimisation plugin (ShortPixel, Imagify, or Smush) that converts automatically.
  3. Use the <picture> tag to serve the modern format with the old one as fallback for very old browsers.
  4. While you're at it, resize images to their display size — a 4000px-wide photo in a 400px slot wastes 90% of its bytes.

Helpful tools

Not sure if this affects your site? Analyze your website for free or compare it with a competitor.

Related guides

Browse all 38 fix guides