Pick a target — 20 KB, 50 KB, 100 KB, 200 KB or your own — and get the
best-looking JPG that fits. Everything happens in your browser; nothing
is uploaded.
How to compress a photo to an exact KB size
- Drop your photo above, or tap the box to choose one from your gallery.
- Tap the size the form asks for — 20 KB, 50 KB, 100 KB, 200 KB — or type a custom number.
- Check the before/after sizes, then hit Download JPG. That’s it.
Prefer visual control? Switch to the quality slider and drag until
the size shown is where you want it. Either way you see the exact final size
before downloading, so your file is never rejected for being too big.
Why online forms reject your photos
Government portals, exam applications, job sites and visa forms set strict
upload limits — usually somewhere between 20 KB and 200 KB. A photo straight
from a phone camera is 2–8 megabytes: up to 100× over the limit. The portal
simply refuses it, often with a cryptic error. Compressing to just under the
stated limit is the fix, and doing it precisely matters: many portals also
reject files that are too small, because extreme compression makes photos
unverifiable.
How OnlineToolBench gets the best quality at any size
Instead of guessing one compression level, OnlineToolBench runs several trial
encodings and closes in on the highest quality that still fits under your
target — the same way you’d zero in on a number in a guessing game. If
quality alone can’t get there, it steps the dimensions down just enough. The
result is the sharpest possible photo at the size you asked for. As a bonus,
re-encoding strips hidden metadata (like your location) from the photo, and
since nothing is ever uploaded, your documents stay completely private.
Frequently asked questions
Is my photo uploaded to a server?
No. OnlineToolBench compresses your photo entirely on your own phone or computer using your browser’s built-in image engine. The photo never leaves your device, which is also why the tool works fast even on slow connections.
Why is the compressed file always a JPG?
Almost every online form and government portal in India asks for JPG/JPEG, and it is the most size-efficient format for photos. Converting to JPG during compression is how targets like 20 KB become reachable. If you need PNG, WebP or AVIF, use our Image Converter instead.
What if my photo can’t reach 20 KB?
The tool first lowers JPEG quality as far as it usefully can. If that still isn’t enough, it gently reduces the photo’s dimensions until the target is met. In the rare case a readable image is impossible at your target, it tells you and gives you the smallest usable file instead of a ruined one.
Will compressing ruin my photo’s quality?
The compressor searches for the highest quality that still fits under your chosen size, so you always get the best-looking file possible at that size. A 100 KB target usually looks identical to the original on screen; very small targets like 10–20 KB will show some softness, which portals expect.
What is the difference between KB and pixels?
Pixels (like 200 × 230) describe a photo’s dimensions; kilobytes (KB) describe how much storage it takes. Portals often limit both. This tool controls the KB size and shows you the resulting pixel dimensions; if a form also demands exact pixels, use our Signature Resizer, which sets both at once.
Is there any limit or fee?
No. OnlineToolBench is free, has no signup, adds no watermark, and has no daily limits. Because processing happens on your device, there is no server cost that would force us to restrict usage.