How to Compress a Photo to Exactly 100KB, 50KB, or 20KB
image-reducer.com is a free, complete image toolkit: batch processing, every common format (JPG, PNG, WebP, AVIF), a crop/rotate/flip editor, a before/after compare slider, and full support in 7 languages including right-to-left Arabic. One specific, deadline-driven job inside that toolkit: compressing a photo to an exact cap — 100KB, 50KB, or 20KB. Here's exactly how to hit that number, what "JPEG-only" means for this mode, and what to do if the tool can't quite get there.
Why forms cap photos at 100KB, 50KB, or 20KB
Exam portals, visa and passport applications, university admission forms, and job-recruitment sites set a maximum photo size and mean it literally — a file at 101KB fails the same way one at 1MB does. A modern phone photo is rarely anywhere close to 20KB, 50KB, or even 100KB straight out of the camera, so getting there by hand means guessing a quality percentage, exporting, checking the size, and repeating until you get lucky. That guess-and-check loop is the actual problem target-size mode solves.
How target-size mode finds the number
Turn on target-size mode, type in a KB budget, and the app does the guessing for you, automatically, in a handful of steps rather than dozens of manual tries. It works like a smart search: try a quality level, check the resulting size, adjust up or down based on whether that was over or under budget, and repeat — narrowing in on the highest-quality version of your photo that still clears the number you set.
Step-by-step: compress a photo to 100KB, 50KB, or 20KB
1. Add your photo — or a batch
Drop one image, or select several at once — each becomes its own card with a thumbnail and original size, so a batch of exam photos or ID scans can all go through the same settings together.
2. Set your KB budget
Switch on target-size mode and enter 100, 50, or 20. The quality slider dims itself out, because target-size mode now controls quality behind the scenes.
3. Resize too, if the form gives a pixel size
Many of these same forms specify pixel dimensions too. If yours does, set the fit-within resize box to those dimensions before processing — resizing first gives the KB search more room to preserve quality instead of fighting a huge original resolution.
4. Download — one file, or a ZIP for a batch
Download the file directly, or, for a batch, everything as a single ZIP. Each card shows the size it actually landed on, so you can confirm it clears the form's limit before you submit.
JPEG-only in v1 — what that means
Target-size mode currently targets an exact KB number using JPEG's lossy encoder — that's the format this precision mode works with in this version. Need WebP or AVIF instead? The quality slider still gives full manual control over file size, just not an automatic KB target. For a hard cap like these, choose JPEG (or leave format on "keep" if your photo already is one) and let target-size mode do the rest. AVIF encoding is available in Chromium-based browsers today; elsewhere it falls back to WebP automatically, with an on-screen note — a separate setting that doesn't affect the KB-targeting workflow above.
Picking the right target: 100KB, 50KB, or 20KB
Use exactly the number your form states — rounding down "to be safe" just costs quality for nothing. As a rough feel: 100KB usually holds a full-face photo cleanly (common for admission and job-portal uploads); 50KB is tighter and may soften a very detailed background (common on some government e-forms); 20KB suits signatures and simple, mostly flat-color scans far better than a busy, detailed photo, which is why it's the typical exam-signature cap.
When a resize helps more than a lower number
A tight budget and a large, detailed original fight each other hardest. If a photo won't reach 20KB at reasonable quality, the fix usually isn't a blurrier result at the same pixel size — it's a smaller pixel size first. Fewer details for the encoder to preserve means the same KB budget goes a lot further, which is why the resize box sits right next to the target-size toggle instead of being a separate step.
Troubleshooting: when the target isn't reached
What happens when the target isn't reached
Occasionally a very detailed image genuinely can't reach your target without quality dropping past a usable floor. When that happens, the card marks it with a warning badge instead of a green success badge and shows the actual size it reached, so you always know it needs another pass — never a false success. Add a resize (above) and try again; that fixes it almost every time.
My photo won't process at all
Very large source images — above 64 megapixels — are rejected before processing, as a safeguard rather than a target-size-mode limit. If a high-resolution scan or panorama won't load, resize or crop it in another app first, then run it through target-size mode.
The output looks blocky at 20KB
That's the honest trade-off of a hard 20KB cap, not a bug — quality loss becomes visible on busy, detailed photos at the tightest budgets. A signature or simple document scan (mostly flat color) reaches 20KB cleanly; a detailed face photo does better paired with a modest resize, as above.
Everything above happens entirely in your browser — images are processed and never sent to a server — and EXIF/GPS metadata is stripped from the file you download as a side effect, though your original file on your device is left untouched. It also works offline once the page has loaded, useful if you're finishing a form somewhere with unreliable internet.
Keep going
Each of these opens with target-size mode already set to the number in its name:
- Compress an image to 100KB
- Compress an image to 50KB
- Compress an image to 20KB
- Resize a signature to 10KB–20KB
- Compress a photo for SSC exam forms
Have a broader question first? Check the FAQ.