How to compress images for a faster website

Images are usually the heaviest part of a web page. Shrinking them is the quickest way to a faster site, better Core Web Vitals and happier visitors on mobile data.

Updated September 27, 2026. 2 minute read.

Quick answer

Resize to the width you actually display, compress at quality 75 to 85, and use WebP. The Image Compressor does all three in one pass.

Open the Image Compressor

Step by step

  1. Open the Image Compressor and add your images.
  2. Choose WebP as the output format, or keep JPG for maximum compatibility.
  3. Enter a max width, for example 1920 for full width banners or 1200 for blog images.
  4. Download the smaller files and upload them to your site in place of the originals.

Target sizes for web images

ImageWidthAim for
Full width hero banner1920 pxUnder 200 to 300 KB
Blog or article image1200 pxUnder 150 KB
Product photo1000 to 1500 pxUnder 150 KB
Thumbnail or card400 to 600 pxUnder 50 KB
LogoUse SVG if you canA few KB

Why it matters for SEO

Google uses page experience signals such as Largest Contentful Paint, and the largest element is often an image. A 4 MB phone photo on a home page can add seconds on mobile. Compressed, correctly sized images fix that for free.

Tips

Phone photos are often 4000 pixels wide. Nobody needs that on a web page.

Add width and height attributes to your img tags so the layout does not jump while images load.

Lazy load images below the fold with loading="lazy".

Ready to try it?

The Image Compressor is free, needs no sign up, and your files never leave your device.

Open the Image Compressor

Frequently asked questions

What is the best image format for websites?

WebP is supported by all modern browsers and is much smaller than JPG and PNG. AVIF can be smaller still. Keep JPG as a fallback only if you need very old browser support.

What quality should I use?

Quality 75 to 85 is usually impossible to tell apart from the original on screen and far smaller.

How many images can I compress at once?

5 per batch on the free plan, with a button for the next batch. Pro removes the limit.

Are my images uploaded?

No. Compression happens in your browser, so even unreleased product photos stay private.

Related guides