How to compress an image to under 50KB for a passport photo
Government portals reject photos over 50KB. Here's exactly how to compress your passport photo to any file size limit using a free browser tool.
If you’ve ever tried uploading a passport photo to a government portal and got the error “File size must be under 50KB”, you’re not alone. Almost every country’s online visa or passport renewal system has strict file size limits, and most phones produce photos that are 2MB to 8MB — well over the limit.
This guide shows you exactly how to compress any photo to under 50KB (or any size limit) without making it look terrible.
Why do government sites have such strict file size limits?
Most government systems were built 10–15 years ago and haven’t been modernised. A 50KB limit was generous in 2010. Today it’s frustratingly small — but the requirement is real and enforced, so we need to work with it.
The good news: a passport photo at 600×800 pixels can easily fit under 50KB in JPEG format without any visible quality loss at passport printing sizes.
What you need to know before compressing
Dimensions matter as much as file size. If your photo is 4000×5000 pixels, even heavy compression might not get it under 50KB. Always resize the image first, then compress.
JPEG is the right format. PNG files cannot be efficiently compressed to small sizes because they’re lossless. Always export as JPEG for passport photos.
Quality above 40% is usually fine. Passport photos are printed small — typically 35×45mm. A JPEG at 50% quality looks identical to 90% quality at that print size.
Step-by-step with PixelPress
-
Upload your photo by dragging it into the drop zone or clicking to browse
-
In the Dimensions panel, set the size to something reasonable — 600×800 or 800×1000 pixels works well. Lock the aspect ratio so you don’t distort the face.
-
In the Target File Size panel, click the toggle to enable it
-
Click the Passport preset — it automatically sets the target to 50KB
-
Click Process & Preview — the tool runs a binary search across quality levels to find the highest quality that fits under 50KB
-
Check the output stats. You’ll see the exact file size, the quality level found, and how much it saved compared to the original.
-
If it looks good, click Download
What if it can’t reach 50KB?
If the status shows a warning like “Even at lowest quality, still 2× over target”, your image dimensions are too large. Go back to the Dimensions panel and reduce the width to 600px or smaller, then try again.
A 600px wide JPEG can almost always fit under 50KB, usually at 50–70% quality — which looks perfectly sharp at passport photo print sizes.
File size limits for common documents
Different countries and document types have different requirements. Here are the most common ones:
Indian passport / Aadhaar portal — 50KB max, JPEG, 200×200 to 400×400 pixels
UK passport renewal (Gov.uk) — between 50KB and 10MB, which is generous. But width must be at least 600px.
US visa application (DS-160) — under 240KB, JPEG
Schengen visa application — 250KB max (very lenient)
IELTS / exam registration — often 30–50KB
For any of these, the Passport preset (50KB) works as a safe starting point. If your portal allows larger files, use the Custom option to set the exact limit.
Tips for the best quality at small sizes
- Start with a well-lit photo. Noisy, dark photos compress worse — the JPEG algorithm struggles with grain and produces more artefacts.
- Use a plain background. Passport photos should have a white or off-white background. Plain backgrounds compress extremely efficiently.
- Crop tightly before compressing. Remove as much background as possible. Less image = smaller file at the same quality.
- Export as JPEG, not WebP. Some government portals only accept JPEG. Stick with it to be safe.