Compress Passport Photo to an Exact KB
Government portals reject photos that miss their file-size limit. Set a target in kilobytes and this tool compresses to it within ±5%, entirely in your browser.
Drag and drop images
or click to browse files
How it works
A compact workflow from input to download.
Add your photo
Drop in the passport or ID photo you already have. JPG, PNG, WebP, and iPhone HEIC files all work.
Set the KB target the form asks for
Tap 20, 50, 100, or 200 KB, or type any custom value. Use the exact number printed in the portal's instructions.
Download and upload it
The tool searches for the highest quality that still fits your limit, then hands you the file to submit.
Tool details
Practical capabilities and safeguards built into this workflow.
Targets a real number, not a guess
Instead of a vague quality slider, it runs an iterative binary search on quality until the output lands within 5% of your target size.
Identity documents stay private
A passport photo is sensitive. This tool never uploads it — compression happens in your browser and no server receives the image.
Keeps the face usable
Quality is reduced only as far as the size limit demands, so facial features stay clear enough to pass a manual review.
Pairs with dimension tools
Most forms specify both pixels and kilobytes. Resize or crop to the required dimensions first, then compress to the KB target here.
No signup, no watermark
No account, no daily cap, and nothing stamped onto a document photo you are about to submit officially.
Works for signatures too
The same exact-size approach handles the separate signature image that many application forms require alongside the photo.
Frequently asked questions
How do I compress a passport photo to 20KB?
Why does the form reject my photo even though it looks fine?
Will compressing to 20KB make my photo too blurry to accept?
Should I resize before or after compressing?
Is my passport photo uploaded to a server?
What file format should I submit?
Can I hit a size between the presets?
Why Government Portals Enforce Photo File Sizes
Application portals store millions of records, and photo uploads are the bulkiest part of each one. Rather than compress on their side, most systems push the constraint onto the applicant: submit under a fixed number of kilobytes or the form will not proceed. The limits are often inherited from systems designed years ago, which is why a value as low as 20 KB still appears on forms today, long after it stopped matching what phone cameras produce.
Dimensions and file size are separate requirements
Nearly every form specifies both, and satisfying one does not satisfy the other. A typical instruction reads something like “photo must be 200×230 pixels and between 20 KB and 50 KB”. Handle them in that order: crop to the required aspect ratio, resize to the specified pixel dimensions, and only then compress to the KB target. Doing it in reverse wastes quality, because resizing after compression throws away data you already paid for.
How exact-size compression actually works
JPEG quality settings do not map linearly to file size, and the relationship differs for every image — a plain background compresses far better than a busy one. That means you cannot calculate the right quality value in advance. This tool instead encodes the image, measures the result, and adjusts quality up or down, repeating until the output is within roughly 5% of the target. It converges in about eight passes, which is fast enough to feel instant on a modern phone.
Keeping a compressed photo acceptable
Photo requirements usually also cover composition: a plain light background, a neutral expression, the face occupying a specified share of the frame, and even lighting with no shadows behind the head. Compression cannot fix any of those, and a heavily compressed photo of a poorly lit original will be rejected on both counts. Start from the best photo you have, get the composition right, and treat compression purely as the final step that satisfies the upload limit.
Privacy matters more here than for ordinary images
A passport photo is biometric data tied to your identity documents. Uploading one to an unknown server to shave a few kilobytes is a poor trade. Browser-based compression avoids the question entirely: the file is read into memory, re-encoded, and written back out as a download without any network request. For the same reason, consider stripping embedded metadata with the metadata remover before submitting photos anywhere.
Related tools
Continue the workflow with adjacent tools.