Compress an image
Every compression tool on this site runs in your browser. Your images are never uploaded, never stored, and never seen by anyone but you — which matters more than it sounds when the file is an ID photo or a bank statement.
If you already know the file size you need, start with that target below. If you are not sure, the short guide underneath explains how to pick one.
Compress to an exact size
Each of these opens the tool prefilled to that target, and explains what that particular limit is for.
Full-control compressors
When you want to drive the quality setting yourself, or you are working on more than one file.
Before you compress
Two things that reduce file size more effectively than compression does, and cost nothing in quality.
Which target size should you pick?
Almost everyone arriving here is in one of two situations, and they pull in opposite directions.
A form is rejecting your file. Then the target is not yours to choose — use the exact number the form states, and take the smallest of the size pages above that matches it. The pages for 20KB and 50KB exist because those two limits behave very differently from each other, and knowing which one you are facing changes what you should do.
You are optimising images for a website. Then you are choosing the number, and the honest answer is that around 100KB is right for most images on most pages. Below 50KB you start paying visible quality for load time nobody notices; above 200KB you are paying load time for quality nobody can see.
The one thing that matters more than the compression setting
Dimensions. A 3000-pixel-wide photograph squeezed into a 50KB file looks broken. The same photograph resized to 900 pixels and then compressed to 50KB looks fine, because the same budget is being spent on a tenth as many pixels.
Measured on a real 4K phone photo (3840 × 2160, 1.52 MB), holding the dimensions to reach 50KB forced the quality setting down to 6. Allowing a resize first reached the same 50KB at quality 58. That is the difference between an image you can use and one you cannot, at identical file sizes.
The target-size tools above handle this automatically — quality first, dimensions only when quality alone cannot get there — and always tell you what they did.
Nothing here uploads your images
These tools use your browser's own image encoder. The file is read from your device, processed on your device, and saved back to your device. There is no server step, which is why they keep working with the network off, and why we have nothing to hand over about your files even in principle.