Passport, visa and government portals are notorious for strict photo rules. Beyond the right dimensions and background, almost all of them cap the file size — commonly at 20KB, 50KB or 100KB — and upload anything larger and the form simply rejects it. The trick is that file size is controlled by two things, dimensions and compression, so reducing both in the right order lets you hit a tiny target while keeping the photo sharp. Here's the reliable method.
Step 1: Start with the right photo
Use a clear, front-facing photo with a plain light background. Crop it to a head-and-shoulders composition before you compress — a tightly cropped photo has less detail to store, so it compresses to a smaller file at higher quality. If you need a specific shape, our Passport Photo Resize tool crops to the standard ratio for you.
Step 2: Convert to JPG
Almost every application portal expects a JPG (sometimes written JPEG). JPG is a lossy photo format, which makes hitting a small target far easier than with a lossless PNG — a photo saved as PNG is often 5–10× larger. If your photo is a PNG or HEIC, convert it first with our free Image to JPG converter. Note: renaming a `.png` to `.jpg` does *not* convert it and will trigger a file error on most portals.
Step 3: Compress to the required size
Now reduce the file to the exact limit. Instead of guessing quality settings, use a target-size tool that automatically searches for the highest quality that still fits. For a 20KB limit use Compress Image to 20KB; for 50KB use Compress Image to 50KB. Everything runs in your browser — your ID photo is never uploaded or stored.
Common size requirements
| Use case | Typical file size | Format |
|---|---|---|
| Indian passport / visa photo | 20–50 KB | JPG |
| US passport (digital, 600×600) | 54 KB – 10 MB | JPG |
| US Diversity Visa lottery | under 240 KB | JPG |
| Competitive exams (UPSC/SSC/IBPS) | photo 20–50 KB, signature 10–20 KB | JPG |
| Job portals | usually under 100 KB | JPG / PNG |
Tips to keep quality high
- Crop tightly before compressing — less detail compresses smaller.
- Always export as JPG, never PNG, for photographs.
- Pick the largest size the form allows for a clearer image.
- Keep the original photo so you can re-compress to a different target later.
Frequently asked questions
- What size should a passport photo be for online upload?
- It varies by country: Indian passport/visa portals typically want 20–50KB JPG, while US digital photos are 600×600 px and accepted from 54KB up to 10MB. Always check your specific portal.
- Why does my photo get rejected even though it's small enough?
- Usually it's the wrong format (a PNG renamed .jpg), wrong dimensions, or a background/expression issue. Re-save as a true JPG at the required dimensions and re-check the photo guidelines.
- How do I reduce a photo to exactly 20KB without it going blurry?
- Crop tightly, resize the longest edge to roughly 600–800 px, then use a target-size compressor that finds the best quality under 20KB. Resizing before compressing is the key to staying sharp.