Image Compressor

Shrink photos for the web and email while watching the exact before/after file size — quality slider plus an optional max-width, all in your browser.

Private by design — your photo is processed locally and never uploaded.

Drop a photo here, or click to browse

Supported formats: JPG, PNG, WebP, GIF, BMP

Before After

Drag to compare

Original
—
Compressed
—

Tip: PNG output stays lossless (the quality slider won't shrink it); choose JPG or WebP to actually reduce size.

How It Works

The Image Compressor draws your photo onto a canvas, optionally scales it down to a max width, then re-encodes it as JPG or WebP at the quality you choose. It measures the result from the encoded data and shows the real file size and the percentage you saved — all on your device.

Quality slider

Lower quality = smaller file. Around 75–85 keeps photos looking crisp on the web while cutting size dramatically.

Max width

Set a long-edge cap (e.g. 1600px) to shrink oversized scans. 0 keeps the original dimensions.

Honest size readout

You see the original bytes, the compressed bytes and the savings percent before you download.

Fully local

Compression runs in your browser with the Canvas API. Photos are never uploaded or stored.

An honest note: compression is lossy (except PNG). Pushing quality very low or shrinking a small image too far will introduce visible blockiness or softness. Keep the quality at 70–85 for most web use, and always keep an uncompressed master copy of your original.

How to Use

  1. Upload the photoDrop it in or click to browse. The tool reads its exact original file size.
  2. Lower the qualityDrag the slider toward 75–85 and watch the compressed size drop. Add a max width for very large scans.
  3. Check the savingsRead the original vs compressed size and the savings percentage; drag to compare visual quality.
  4. DownloadSave the smaller JPG or WebP. Keep your original master untouched.

FAQ

Does compressing my photo upload it?
No. Compression and resizing happen entirely in your browser with the Canvas API. The photo never leaves your device and the tool works offline after loading.
How much can I shrink a photo?
On typical photos, JPG/WebP at quality 75–85 cuts file size by 50–80% with little visible difference. Adding a max width (e.g. 1600px) saves even more for oversized scans.
Why is PNG not getting smaller?
PNG is lossless, so the quality slider has no effect on it. To shrink a PNG, either choose JPG/WebP, or reduce the max width.
Will compression hurt my photo?
Lossy compression costs a little quality. Stay at quality 70–85, avoid extreme downscaling, and keep an uncompressed original master for archiving.
Which format should I download?
WebP gives the smallest size at good quality; JPG is universally compatible; PNG only when you need lossless output or transparency.