Use Case 3 min read

Best Image Format for Google PageSpeed in 2025

Google PageSpeed Insights and Lighthouse both audit your images and flag JPG and PNG as failing the 'Serve images in next-gen formats' check. The fix is straightforward: convert to WebP (safe for all modern browsers) or AVIF (highest performance, slightly less universal). This guide covers exactly what PageSpeed wants and how to deliver it.

Files never leave your device ⚡ Instant browser processing 🆓 100% free — no account 🚫 No watermark on output
By ImgToolkit Team · Updated May 2026 · 3 min read · Processed in your browser
PNGJPGWebPGIF

Quick Answer

Google PageSpeed Insights and Lighthouse both audit your images and flag JPG and PNG as failing the 'Serve images in next-gen formats' check. The fix is straightforward: convert to WebP (safe for all modern browsers) or AVIF (highest performance, slightly less universal).

Try it now — free, no signup

Your images stay on your device. Nothing is uploaded to any server.

Convert to WebP Free

Step-by-Step Guide

5 steps · takes under 1 minute

1

Run PageSpeed to identify failing images

Go to pagespeed.web.dev, enter your URL, and run the analysis. Under 'Opportunities', look for 'Serve images in next-gen formats' — this lists every image on your page that should be converted to WebP or AVIF, with the estimated savings.

2

Convert all listed images to WebP

Download the images listed in the PageSpeed audit. Drag them into the Format Converter. Select WebP output at 80–85% quality. Download the converted files. Upload them to your server in place of the originals (or with added .webp extension).

3

Update your HTML or CMS

Replace <img src='photo.jpg'> with <picture><source srcset='photo.webp' type='image/webp'><img src='photo.jpg'></picture>. Or update the src attributes directly to .webp if you're comfortable dropping JPG fallback (safe for all sites built after 2022).

4

Also check 'Properly size images'

PageSpeed often flags this alongside format issues. It means your image pixel dimensions are larger than the display size. Resize images to their display dimensions using the Resize tool.

5

Re-run PageSpeed to verify improvement

After changes, wait 1–2 minutes and re-run PageSpeed. The 'Serve images in next-gen formats' opportunity should show 0 issues or significantly reduced savings estimates.

🔒

100% Private — Zero Uploads

ImgToolkit runs entirely in your browser using the Canvas API. Your images are never sent to a server, never stored in the cloud, and never seen by anyone else. This makes it safe for sensitive documents, client work, medical imagery, and confidential screenshots.

💡

Pro tip

Pre-optimizing images before uploading to a platform gives you more control than relying on the platform's automatic (and often aggressive) compression.

Format & File Size Comparison

Same 1080×1080px photo processed four ways

FormatQualityFile SizeNotes
PNG (original) Perfect 4.2 MB No compression — too large for web
Compressed PNG Visually identical 1.1 MB −74% — transparency preserved
JPG (85% quality) Excellent 310 KB −93% · Best for photos
WebP (85%)BEST Excellent 205 KB −95% · Recommended for web

Based on a 1080×1080px photo. Results vary by image content and complexity.

Related Free Tools

All tools run in your browser — no account or upload needed

Frequently Asked Questions

4 questions answered

What formats does Google PageSpeed recommend?

PageSpeed recommends WebP and AVIF over JPG and PNG. Both are 'next-gen formats' that achieve significantly better compression. WebP is the safe choice — 97% browser support. AVIF is the highest-performance choice — 91% browser support as of 2025. For maximum compatibility and PageSpeed score, use WebP.

How much does converting to WebP improve PageSpeed score?

Results vary by page, but converting all images to WebP typically improves Performance score by 5–15 points and reduces the 'Opportunities' section significantly. The actual impact depends on how image-heavy your page is and current image sizes. Pages with large unoptimised JPGs see the biggest gains.

Do I need to keep JPG fallbacks for browsers that don't support WebP?

As of 2025, WebP is supported by over 97% of browsers globally, including all mobile browsers. Internet Explorer reached end of life in 2022. For most websites, serving WebP without a JPG fallback is acceptable. If you serve significant traffic from legacy corporate environments that mandate Internet Explorer, keep JPG fallbacks.

What's the difference between PageSpeed 'Serve next-gen formats' and 'Efficiently encode images'?

'Serve images in next-gen formats' means convert JPG/PNG to WebP/AVIF. 'Efficiently encode images' means your existing format images are not compressed enough — reduce quality to 80–85%. These are separate opportunities that can both appear for the same image: wrong format AND over-quality at the same time.

Ready to get started?

Free, instant — your files stay on your device. Always.

Convert to WebP Free

All Free Image Tools

Image Compressor →Background Remover →Image Resizer →Crop Image →PNG to JPG →JPG to WebP →AI Upscaler →Watermark Tool →Blur Faces →Rotate Image →