How to Compress a Photo to an Exact KB Size
The form does not want a smaller photo. It wants a photo under an exact limit — and still recognisably you.
Why forms demand a number, not a look
Passport and visa portals, exam registrations, job applications and government forms across the world state their photo rules as two numbers: dimensions in pixels and a ceiling in kilobytes — commonly 200KB, often 100KB, sometimes a strict 50KB or even 20KB for a signature. The ceiling exists because these systems store millions of photographs and print identity documents from them; the floor exists because a photo compressed into mush cannot identify anyone. Your job is to land between them: under the stated size, at the stated dimensions, with a face that still looks like a face. It is a three-variable problem, and it has a correct order of operations.
Step one: dimensions before everything
File size is mostly pixel count. A phone photo at 4000×3000 carries twelve million pixels; a passport slot asking for 600×600 needs less than a twentieth of them. No amount of quality adjustment makes an oversized canvas light, so resize first: crop to the form's exact shape (the Image Cropper handles the passport rectangle and squares), then set the pixel dimensions the form specifies, or a modest size comfortably above them if it only states a KB limit. Resizing to the destination is not losing quality — it is removing pixels the destination was going to throw away itself, badly, after upload.
Step two: quality, aimed at a target
With dimensions sane, size is governed by the JPG quality setting, and the honest way to hit an exact ceiling is to aim at it rather than guess: this is precisely what the Image Compressor does — type the target (50, 100, 200, or a custom figure), and it works down through quality steps until the photo fits under your limit at the best quality that fits. Working downward from high quality matters: it finds the clearest version of your photo that satisfies the form, instead of a fixed low setting that sacrifices faces it did not need to sacrifice. If the result still cannot fit, the dimensions — not the quality — are what to reduce next; a slightly smaller photo at decent quality beats a large photo smeared to fit.
Step three: check like an official
Before you upload, open the compressed photo at 100% and look at it the way the receiving human or system will. Is the face clear, evenly lit, unmistakably you? Are the eyes sharp — the first thing both people and face-matching systems read? Is the background the plain colour the form asked for, without compression blotches swarming in it? Flat backgrounds are where hard compression shows first, as visible banding and speckle; if the background is dirty but the face is fine, you have usually still passed — but if the face itself has gone soft or blocky, go back a step: shave dimensions a little and let the quality rise. Also confirm the mundane killers: correct orientation, the exact pixel dimensions in the file properties, and the size in KB as the form counts it.
The common failures
Compressing before cropping — wasting the size budget on background the form will cut away. Screenshotting the photo as a shortcut, which destroys resolution and adds interface artefacts. Saving as PNG for a photo slot, guaranteeing a file several times too heavy. And the panic error: shrinking to a fraction of the requested dimensions "to be safe", producing a thumbnail the system then stretches into a blur on an ID card. The limit is a ceiling, not a target to dive under — the best file is the largest, clearest one that still fits. Your photo is processed entirely in your browser throughout: the picture on an identity document is the last image that should ever be uploaded to a stranger's server to make it smaller.
The specs people actually meet
The numbers differ by country and institution, but the shapes repeat. Digital passport and visa photos commonly ask for a square or near-square image — the US digital passport photo, for instance, is specified at 600×600 pixels minimum in JPG at no more than 240KB — generous by form standards. Indian exam and recruitment portals (the SSC, UPSC and banking families) are stricter and smaller: photographs often capped between 20KB and 50KB at modest dimensions, with a separate, smaller signature image sometimes capped under 20KB — which is why a signature should be cropped tight to the writing before it is compressed, since most of its canvas is blank paper the budget should not pay for. University and job portals across many countries cluster at 100KB or 200KB for the photograph. Two habits survive all of them: read the limit off the actual form in front of you rather than a memory of a similar one (they change quietly, year to year), and keep an uncompressed master of the same photo, so next season's different numbers are a fresh conversion rather than a rescue job on an already-squeezed file.