Use case
Compress images for a website
Reduce image file sizes to improve page load speed — without uploading your images to a third-party server.
Compression runs in your browser — images never leave your device.
Why image size matters for web performance
Images are typically the largest assets on a web page and the most common cause of slow load times. A single unoptimised photograph can be larger than all the CSS, JavaScript, and HTML on the same page combined.
Reducing image file size directly reduces the amount of data the browser needs to download before the page appears. For users on slower connections or mobile data, this difference is significant. Search engines also factor page speed into ranking, so optimised images have an indirect SEO benefit.
The goal is the smallest file size that preserves acceptable visual quality at the display size you are using. A 4000 × 3000 px photo displayed at 800 × 600 px carries three times more data than necessary even before compression.
Choosing the right format
| Format | Best for | Compression type |
|---|---|---|
| JPEG | Photography, hero images | Lossy — smaller files, some quality loss |
| PNG | Screenshots, logos, icons | Lossless — exact pixels, larger files |
| WebP | Any web image | Lossy or lossless — typically smallest at same quality |