Blog

How to Reduce PNG Size for Google PageSpeed Score (Boost to 90+)

By admin · Jun 13, 2026

If you've run Google PageSpeed Insights on your website and received warnings about images, you're not alone. Image optimization issues are consistently the most common reason for low PageSpeed scores. This guide shows you exactly how to fix PNG-related PageSpeed warnings and boost your score.

Understanding PageSpeed Image Warnings

PageSpeed WarningWhat It MeansFix
Properly size imagesImage dimensions are larger than displayedResize PNG to display size
Efficiently encode imagesPNG file not compressed enoughCompress with compresspngfile.com
Serve images in next-gen formatsPNG used where WebP would be betterConvert to WebP (with PNG fallback)
Defer offscreen imagesImages below the fold loading immediatelyAdd loading="lazy" attribute
Image elements do not have explicit width/heightNo width/height set in HTMLAdd width and height attributes

Fix 1: Compress PNG Files (Biggest Impact)

The "Efficiently encode images" warning is fixed by compressing your PNG files. This single fix often improves PageSpeed scores by 10–20 points.

  1. Download each flagged PNG from your website
  2. Upload to compresspngfile.com and compress
  3. Re-upload the compressed version to your website
  4. Re-run PageSpeed Insights — the warning should be resolved

Quick Tip: In PageSpeed Insights, scroll to the "Opportunities" section. Click on "Efficiently encode images" to see exactly which PNG files are flagged and their estimated savings in KB.

Fix 2: Resize PNG to Display Size

The "Properly size images" warning means your PNG is much larger than it appears on screen.

  1. Check what size your image is displayed at (right-click > Inspect Element in Chrome)
  2. Resize your PNG to that actual display size using any image editor
  3. Compress the resized PNG with compresspngfile.com
  4. Re-upload to your website

Fix 3: Convert PNG to WebP

The "Serve images in next-gen formats" warning asks you to use WebP instead of PNG. WebP is 25–35% smaller than optimized PNG at similar quality.

Fix 4: Lazy Load PNG Images

Add loading="lazy" to all PNG images below the visible area:

<img src="feature.png" alt="Feature image" width="800" height="600" loading="lazy">

Note: Do NOT add lazy loading to your hero image — this would actually hurt your LCP score.

Fix 5: Set Image Dimensions in HTML

Always specify width and height in your img tags to prevent Cumulative Layout Shift (CLS):

<img src="logo.png" alt="Company Logo" width="300" height="100">

Real PageSpeed Score Improvements

Action TakenScore BeforeScore AfterImprovement
Compressed all PNG files4867+19 points
+ Resized to display size6778+11 points
+ Added lazy loading7885+7 points
+ Converted to WebP8592+7 points

Conclusion

Reducing PNG file sizes is the fastest way to improve your Google PageSpeed score. Start by compressing all PNG files with compresspngfile.com, then resize images to their actual display size. These two steps alone can boost your PageSpeed score by 20–30 points and significantly improve your Core Web Vitals.