Web Performance · Image Compression

Compress Images for Your Website
Without Losing Quality — Free

Unoptimised images are the #1 cause of slow websites. A single 4 MB hero photo can add 8 seconds to your page load on mobile. Google penalises slow pages in search rankings. Here is how to compress every image on your site to under 100 KB — free, in your browser, with no quality loss visible to human eyes.

Compress any image to exact KB size for web — free
Compress Images Free →
No upload · Private · Instant · Works on mobile

Target File Sizes by Image Type

Image TypeTarget SizeHow to Achieve
Hero / Banner imageUnder 200 KB1920×1080 px JPEG at 75–80% quality usually hits 150–200 KB
Product photoUnder 100 KB800×800 px JPEG at 80% quality for e-commerce listings
Blog post imageUnder 80 KB1200×630 px JPEG at 75% quality — ideal for featured images
Thumbnail / cardUnder 30 KB400×300 px JPEG at 70% quality — used in grids and listings
Logo / icon (PNG)Under 20 KBUse PNG for transparency. Resize to exactly the display size needed.
Background textureUnder 50 KBJPEG at 60% quality — barely visible compression, huge size saving

The Web Image Compression Checklist

✓ Resize before compressing

Never upload a 4000 px photo that displays at 800 px. Resize to 2× the display width first (for Retina), then compress.

✓ Use JPEG for photos, PNG for transparency

JPEG is 5–10× smaller for photos. PNG only for logos, UI screenshots, and images with transparency.

✓ Target under 100 KB per image

On a typical product page with 5 images, that is 500 KB total — well within the 1.5 MB page weight target.

✓ Use lazy loading

Add loading="lazy" to all images below the fold. The browser won't download them until the user scrolls down — cutting initial page load dramatically.

✓ Set explicit width and height

Always set width and height attributes on img tags. This prevents Cumulative Layout Shift (CLS) — a Core Web Vitals penalty.

FAQ

What is the best image size for a website?

For web performance, target under 100 KB per image. Hero images can be up to 200 KB. Product images: 50–100 KB. Blog thumbnails: 20–50 KB. In terms of dimensions, never upload larger than 2x the display size (for Retina screens). A 400 px wide thumbnail needs a maximum 800×600 px source image.

Does image compression affect SEO?

Yes, significantly. Google's Core Web Vitals include Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS), both affected by image weight. Pages with optimised images under 100 KB load faster, score higher in PageSpeed Insights, and rank better. Google explicitly recommends compressing images as one of the top site speed improvements.

Should I use JPEG or PNG for website images?

Use JPEG for photos and complex images (natural scenes, people, products). JPEG achieves 5–10× smaller files than PNG for photos with minimal visible quality loss at 80% quality. Use PNG only for images with transparency, logos with flat colours, or screenshots with text — where PNG's lossless compression preserves sharpness.

What is WebP and should I use it for my website?

WebP is Google's image format that is 25–35% smaller than JPEG at equivalent quality. All modern browsers support it. If your CMS or static site generator supports WebP output, use it. For manual compression, JPEG at 75–80% quality is a reliable choice that works everywhere.

How many images can slow down a website?

A single unoptimised image can add 3–5 MB to a page load. Most web performance audits recommend keeping total page weight under 1.5 MB. If your page has 10 product images at 500 KB each, that is 5 MB — which causes a 5–15 second load time on a typical mobile connection.

Related
Compress to 100 KBCompress Without Quality LossCompress for EmailReduce Image Size KB
All processing happens in your browser. No files uploaded. Free forever.
← Back to PhotoFit