How to Compress Images Online

Reduce JPG, PNG and WebP file sizes without making the picture obviously worse — and pick the right format for the job.

A 4 MB photo from a modern phone is overkill for an email attachment, a Slack DM, or a website hero image. Compressing it down to a few hundred kilobytes saves bandwidth, speeds up page loads, and keeps you under attachment limits. The trick is shrinking it without leaving visible artefacts. This guide walks through quality settings, format choice, and the common mistakes that turn a clean photo into a pixelated mess.

Skip the reading: drop your photo into the Image Compressor and slide quality to 75–85. Compression runs in your browser, so the original photo never leaves your device.

Pick the right format first

Choose a quality level

JPEG and WebP let you trade visual fidelity for file size with a single number, usually 0–100. A few sensible defaults:

A worked example

A 4032 × 3024 photo straight off an iPhone, stored as a 4.1 MB JPEG, processed through the Image Compressor:

Common mistakes

Resize before you compress

Compression makes a file smaller; resizing makes the picture physically smaller in pixels. They're separate operations, and combining them has the biggest impact. Drop a photo into the Image Resizer, set the width to whatever your destination needs (1200 px is a good blog/social default), then run the result through the Image Compressor. The combined effect is usually a 90%+ size reduction.

Privacy

Both tools run entirely in your browser using the HTML5 Canvas. The photo is never uploaded to a server, which matters when you're handling private images — passport scans, kids' photos, draft product shots, anything you'd rather not pass through a third-party service.

Last updated: May 2026.

Try it now

Open the Image Compressor for a quality slider with live size estimates, or jump to the Image Resizer if your photos are bigger than they need to be.