MinifyPic

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.

FreeNo upload±5% accuracy
All compression tools

Drag and drop images

or click to browse files

JPG, PNG, WebP, GIFMax 50MB per fileUp to 20 files
20 KB
Common minimum for older form portals
50 KB
Most frequently requested photo limit
±5%
How close the result lands to your target
0
Files that leave your device

How it works

A compact workflow from input to download.

1

Add your photo

Drop in the passport or ID photo you already have. JPG, PNG, WebP, and iPhone HEIC files all work.

2

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.

3

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?
Add your photo above, tap the 20 KB preset, and download the result. The tool repeatedly re-encodes at different quality levels until the output is within about 5% of 20 KB, which satisfies portals that enforce a hard maximum.
Why does the form reject my photo even though it looks fine?
Most rejections are a file-size or dimension mismatch rather than an image-quality problem. Portals typically enforce both a pixel size and a KB range, and a photo straight from a phone camera is many times over the limit on both counts.
Will compressing to 20KB make my photo too blurry to accept?
At small dimensions, no. A passport photo is usually only a few hundred pixels square, and at that size 20 KB of JPEG data is enough to keep facial features clear. Compress the already-resized photo rather than a full-resolution original for the best result.
Should I resize before or after compressing?
Resize first, compress second. Reducing pixel dimensions removes data far more efficiently than quality reduction, so a correctly sized photo needs much less compression to reach the same KB target.
Is my passport photo uploaded to a server?
No. Everything runs in your browser using the Canvas API. Your photo is never transmitted, stored, or logged anywhere, which is the main reason to avoid server-based compressors for identity documents.
What file format should I submit?
JPEG unless the form explicitly says otherwise. JPEG compresses photographs efficiently and is universally accepted. PNG files are far larger at the same visual quality and often push you over the size limit.
Can I hit a size between the presets?
Yes. Type any value into the custom size field. If a form specifies a range such as 20–50 KB, target the upper end so you keep as much quality as the rules allow.

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.