Set the limit
Type the maximum size you have been given, or tap one of the common ones.
We don't ask you how much quality you want. Tell us the limit you have been given and we find the best image that fits inside it.
100% private — your images are processed on your device and are never uploaded to any server.
Works with images up to about 40 MB. On an older phone, very large files may be slow or run the browser out of memory.
Keep going with your result in another tool. Nothing is uploaded.
Type the maximum size you have been given, or tap one of the common ones.
One or several. They are not uploaded: everything happens on your device.
We find the best quality that fits and tell you how much it came down.
Ordinary compressors ask the question backwards: they hand you a quality slider from 1 to 100 and leave you guessing. But when a form tells you "the photo must not exceed 500 KB", quality is not what you care about — hitting that number on the first try is. This tool starts from the limit and works backwards.
Internally it runs a binary search: it tries a middle quality, checks how large the result is, and moves up or down depending on whether it overshot. Seven attempts narrow it down to about 1%, so what you download is the best possible image that fits under your limit, not something crushed at random.
If even the lowest sensible quality will not fit — common with modern phone photos and a 100 KB limit — it then reduces the pixel dimensions by 15% and tries again. Losing pixels is usually far less visible than destroying the compression, and we always tell you when it was necessary.
Automatic decides for you: JPG for photographs, which is what every government portal and upload form accepts; PNG if the original was one, so transparency survives. Where the destination allows it, WebP reaches the same look at noticeably less weight, and is the best choice when the limit is tight. AVIF squeezes even harder, but some programs still cannot open it.
If your image already fits, this tool leaves it alone. Re-compressing a JPG that was already small enough only damages it further: every pass stacks new losses on the previous ones. When that happens we say so and hand you back the untouched original.
Drop as many as you need and they are processed one after another, each with its own result. That is the normal case when preparing a batch of photos for a listing, a file or a gallery — and precisely what most free tools will not let you do without paying.
More utilities that also run without leaving your browser.