Image Compressor — Guide

Compress JPEG and WebP images online to a quality level or a target file size — lossy re-encoding in your browser, so the file never leaves your machine.

What it is and when to use it

Shrink a photo to the size you actually need — either by picking a quality level, or by naming a target file size and letting the tool search for the quality that gets there. Everything runs on your own machine: the image is decoded, re-encoded and handed back without a network request, which matters exactly when the file is the thing you least want copied — documents, receipts, photos of a whiteboard, anything with a face in it. Under the hood it is the browser's own JPEG and WebP encoders driven by a quality search: for a target size, the tool bisects the quality range (up to seven attempts) and keeps the highest quality that still fits. That is the same shape of algorithm a desktop "save for web" dialog uses, minus the upload. Expect the honest limits of lossy compression: text and sharp edges start to look noisy before a photograph does, and re-compressing an already-compressed JPEG compounds the damage.

Compress a JPEG or WebP image to a quality level you set, or straight down to a target file size, without uploading it anywhere.

How to use it

  1. Pick an image
  2. Choose JPEG or WebP and either a quality level or a target size in KB
  3. Compress, compare the before and after numbers, and download

Things that trip people up

  • This is lossy re-encoding: each pass discards data. Start from the original file rather than re-compressing an already-compressed one.
  • PNG output is not offered here because lossless re-encoding rarely shrinks a photo — use the resizer or convert to JPEG/WebP instead.
  • A target size that cannot be reached is reported as a failure rather than quietly returning a file that ignores your limit.

Questions people ask

How much smaller can I make it?
Photos typically drop to a fraction of their original size at quality 70-80 with little visible change, and further if you accept softer edges. The tool shows before and after numbers so you can judge the trade instead of guessing.
Why is my PNG not getting smaller?
PNG is lossless, so re-encoding a photo as PNG cannot throw information away — it usually grows. For photographs, convert to JPEG or WebP. PNG is the right choice for flat-colour graphics, screenshots of text and anything needing transparency.
Does the target-size mode always hit my number?
It returns the highest quality that fits the limit, or fails visibly when even the lowest quality is too large — which usually means the image itself needs resizing first. It will not hand you an oversized file with a reassuring label.
Will compressing damage my image?
Yes, lossy compression discards data permanently. Keep the original, and avoid re-compressing a file that was already a JPEG — each pass adds its own artefacts on top of the last.
Is it safe for documents with personal information?
For this tool, yes in the sense that nothing is uploaded: the file is read and rewritten locally by your browser. What you should still not do is paste a sensitive file into an unknown online converter that sends it to a server and tells you to trust its retention policy.

Next steps

Open the Image Compressor tool

Spotted something wrong on this page? Tell us via Contact Us