How to Compress a Photo to Exactly 20KB or 100KB (For Forms, Exams & Job Portals)
A government form, exam registration, or job application just rejected your photo for being "too large." The instructions say something oddly specific, like compress image to 20kb or under 100KB, and your phone's photo is nowhere close. Here's exactly how to get there without guessing.
Why These Limits Exist
Government portals, exam boards, and job application systems were mostly built years ago, often for slow connections and limited server storage. A strict limit like compress image to 20kb keeps their systems fast and predictable, even if it feels absurdly small compared to a modern phone photo that can easily run 3 to 8 MB. The limit isn't a suggestion. Most of these systems reject the upload outright if you're even a few KB over.
Step 1: Start With the Right Format
Before touching any settings, check your photo's format. If it's a PNG or a HEIC file straight off an iPhone, convert it to JPEG first. JPEG compresses photographic detail far more efficiently than PNG, which was built for flat-color graphics like logos, not real photos. Skipping this step is the single most common reason people struggle to compress image to 20kb and end up stuck.
Step 2: Compress and Check the Actual File Size
Use a browser-based compressor that shows before-and-after file sizes so you're not guessing. Start with a strong or high compression level and JPEG output, then look at the result. If you're still over the limit, bump up to the highest setting and compress again. A tool that runs on your device — without uploading the file — is the safer pick for passport, ID, or exam photos.
Step 3: Lower the Pixel Dimensions If Quality Alone Isn't Enough
Sometimes a photo simply has too much detail to compress image to 20kb without visible damage, even at the lowest reasonable quality setting. When that happens, shrinking the pixel dimensions first — not just the quality — gets you there with a cleaner result. A passport photo doesn't need to be 4000 pixels wide. Most portals only display it at a few hundred pixels, so there's no downside to reducing the dimensions before compressing.
Step 4: Check the Actual File Size Before Submitting
Don't trust how the file "feels." After compressing, right-click the file (or check "Get Info" on Mac) and confirm the exact size in KB. A photo that looks fine on screen can still be 3KB over a strict limit, which is enough to get an upload rejected. This step takes ten seconds and saves a resubmission.
What "Some Quality Loss" Actually Looks Like at 20KB
Compressing down to something as small as 20KB does involve a visible tradeoff, and that's expected, not a sign you did something wrong. Fine details like hair strands, fabric texture, or small text in the background of the photo soften first. For a passport, ID, or application photo, this rarely matters, since these systems only need a clear, recognizable image, not a print-quality one. If the result still looks reasonably sharp at normal viewing size, it's ready to submit.
Common Places This Comes Up
- Passport and visa applications — most government portals cap photo uploads between 20KB and 300KB
- Government exam registration — commonly requires photo and signature under specific tight KB limits
- Job application portals — often cap resume photos or ID scans around 100KB to 200KB
- Signature uploads — frequently need to be even smaller than photo uploads, sometimes under 10–20KB
Each of these situations is really the same task with a different number attached. Whether the form asks you to compress image to 20kb for a signature field or compress a document scan to 100KB for a job portal, the four steps above stay the same — format first, compress and verify second, dimensions third, final size check last.
A Faster Workflow When You Do This Often
If you're preparing several documents or family members' forms, keep the same order every time: convert to JPEG, compress with the highest level you can tolerate, check the KB number, then resize only if you're still over. Pairing a compressor with a resizer covers both levers without installing desktop software — and nothing has to leave your browser.
Frequently Asked Questions
Check that you're compressing a JPEG, not a PNG or HEIC file. PNG and HEIC don't shrink nearly as well for photographic images, even at high compression settings.
It will soften some fine detail, but the photo stays clear and recognizable, which is all most passport or ID systems require. This is expected, not a mistake.
Yes. Compressing keeps the same pixel dimensions but simplifies the image data. Resizing actually shrinks the photo's width and height. For very strict size limits, doing both together works best.
Yes. Browser-based tools let you compress in your browser, show the output file size, and adjust the level until you hit the target — no download required.
Many of these systems were built for lower bandwidth and limited server storage, so they enforce strict limits even though modern photos are much larger by default.
Need to hit an exact size right now? The free image compressor shows before-and-after file sizes in your browser — no install, no upload.
Compress your photo free
Open Image Compressor