Skip to content
Nothing is uploaded

Compress a photo for the web

Optimise images for fast-loading pages — smaller files, better Core Web Vitals — free, and processed on your device.

Drag & drop your images

or click to browse — multiple files welcome

Shrinks JPG, PNG & WEBP · Choose a quality or a target file size

Sample image, unchanged by the conversion ~12× smaller
Original 3.1 MB
Compressed 268 KB
Same quality, ~12× smaller — nothing uploaded

Large images are the most common cause of slow web pages. Compressing your photos — or converting them to WEBP — cuts their file size dramatically, which speeds up load times, improves Core Web Vitals and helps SEO, all without a visible drop in quality.

This runs in your browser, so you can optimise a whole gallery for free without uploading anything or paying per image.

Why compress with ClearBG

Faster load times

Smaller images render sooner and improve LCP — better UX and better rankings.

WEBP for the web

Convert to WEBP for the best size-to-quality ratio on modern sites.

Free & unlimited

Optimise a whole site's images on your device — no upload, no per-image fee.

Related free tools

Convert, resize or strip metadata — all on your device.

More ways to compress

Images and page speed

Images are usually most of the page

On a typical page, images account for the majority of transferred bytes — far more than scripts or stylesheets. That makes them the highest-leverage thing to optimise, and the one most often left untouched.

They also tend to be the Largest Contentful Paint element, the metric Google uses to judge loading performance. A slow hero image does not just make the page feel sluggish; it is literally what the score measures.

Serve the size you display

The most common waste on the web is a 3000-pixel image displayed in a 600-pixel slot. The browser downloads all of it and throws most away.

Export at the size it will actually be shown at, allowing for high-density screens — roughly twice the CSS pixel width is a sensible ceiling, beyond which the difference is imperceptible. For images whose display size varies with viewport, serve several sizes and let the browser choose with srcset.

Format and quality for the web

WebP is the sensible default: universally supported in browsers and 25–35% smaller than JPEG at matched quality. AVIF is smaller again and worth the slower encode for large hero images.

Quality 80–85 is right for almost everything. Above 90 is wasted bytes on an image nobody will inspect at full size, and the difference is invisible once the image is scaled into its slot.

Beyond the file itself

A few things matter as much as size:

  • Set explicit width and height so the browser reserves space — otherwise content jumps as images load, which is what Cumulative Layout Shift measures.
  • Lazy-load images below the fold, but never the hero image, which needs to load as early as possible.
  • Strip metadata from web images: it is a few kilobytes per file with no benefit to a visitor, and it may contain location data.
  • Keep the colour profile, though — removing it can make a wide-gamut image render flat and washed out.

Frequently asked questions

What's the best format for web images?
WEBP for most photos and graphics — it's smaller than JPG and PNG at the same quality and is supported by every modern browser. Use the converter to switch, then compress.
How much should I compress web images?
Enough that they look clean but load fast — often 100–300KB for large photos. Balance the quality slider against the file size the tool shows.
Is anything uploaded?
No. All optimisation happens in your browser, so your images stay on your device.

Compress your images — free and private

No upload, no watermark, no sign-up — everything runs in your browser.

Compress an image now