Need a photo under an exact limit for a form, exam portal or job application? Pick a target — 20 KB, 50 KB, 100 KB, 200 KB or your own — and get a JPG as close to that size as possible.
JPG, PNG or WebP — processed locally, never uploaded
Most compressors squeeze an image "as much as possible" and leave you guessing the final size. This tool works backwards from your target: it encodes the image as a JPG, measures the result, and automatically adjusts quality — and, only if needed, dimensions — using a binary search until the file lands at or just under your chosen KB limit, as close to it as possible so you keep the maximum quality the limit allows.
Everything happens on your own device with your browser's built-in image engine. Your photo is never uploaded to a server, which makes this tool safe for ID photos, documents and personal pictures.
1. Add your image. Drop a JPG, PNG or WebP file onto the box above, or click to choose one; the tool shows the file's current size so you can see where you are starting from. 2. Pick the target. Tap one of the preset buttons — 20, 50, 100, 200 or 500 KB — or type any custom size between 5 KB and 10,000 KB into the Custom KB box. Use the exact number your form asks for: if a portal says "photo must be between 20 KB and 50 KB", choose 50 KB, the top of the range, so you keep the most quality the rules allow. 3. Compress and check the preview. Press the compress button and the tool searches for the highest quality that fits your target, then shows a preview with the before-and-after sizes. Look at the preview at full size: faces and text should still be crisp. 4. Download. Save the finished JPG and upload that file to your form. Your original is never changed.
Ordinary compressors treat smaller as better and squeeze until the picture visibly suffers — but a form portal does not reward you for coming in under its limit. A photo compressed to 12 KB for a form that allows 50 KB has simply thrown away quality it was allowed to keep, and on identity documents, certificates and profile photos that lost sharpness can mean a rejected application. The opposite mistake is just as common: a photo a few kilobytes over the cap is refused outright, no matter how good it looks. Working backwards from the exact target avoids both failures at once — the file is guaranteed to fit, and every kilobyte the rules allow is spent on quality. That is also why this tool aims for as close under the target as possible, rather than a rough neighbourhood of it.
A 100–200 KB target is generous for a typical form photo and usually looks identical to the original on screen. At 50 KB a head-and-shoulders photo still holds up well, especially if the original is cropped reasonably close. At 20 KB and below — the range many signature and thumbnail uploads demand — some softness is unavoidable in any tool, because the information simply is not there; starting from a large, sharp original and cropping out unnecessary background before compressing makes the biggest difference, since every pixel of the frame is then spent on the subject instead of the wall behind it. If the tool had to reduce the image's dimensions to reach a very small target, it tells you in the result — and if your form also specifies minimum pixel dimensions, check that wording before submitting.
Is it really free and unlimited? Yes. There is no account, no watermark and no daily limit, because there is no server cost — your browser does the work.
Is my image uploaded anywhere? No. Open your browser's network tab while using the tool: the image never leaves the page.
Why JPG output? Form portals almost universally accept JPG, and JPG's quality setting is what makes hitting an exact KB target possible.
What if my image is already smaller than the target? Then you get the highest-quality JPG copy that still fits under the target — nothing is over-compressed.