Passport photo requirements are two separate constraints
Every passport, visa, or government-ID photo requirement bundles two independent rules: exact pixel dimensions (so the printed photo matches physical size and DPI expectations) and a maximum file size (a legacy upload-portal constraint). They need to be solved separately and in the right order — resize to the correct dimensions first, then compress the result under the byte limit — because compressing an oversized photo down to a tiny file size wastes quality on pixels the portal doesn’t even want, while resizing first means every remaining byte goes toward pixels that matter.
Why this tool starts at a strict 20KB default
Across passport, visa, and national-ID portals worldwide, 20KB-50KB is the most commonly seen range, with 20KB being common enough among the strictest portals (several exam-board and consular systems, for instance) that it’s a sensible default starting point. If your specific portal states a different limit, the target field is fully editable — just replace the default with your portal’s exact requirement.
Composition rules this tool doesn’t handle
Passport photo requirements go well beyond file size and pixel dimensions — plain white or light-colored background, neutral expression, no glasses or head coverings (with limited religious/medical exceptions), specific head-size-to-frame ratios, and even lighting and shadow rules. This tool doesn’t check or enforce any of that; it only takes a photo that already meets those composition requirements and gets it under your portal’s file size limit. If you’re unsure your photo meets the composition rules, check your country’s official passport photo guidelines before compressing, since fixing composition after the fact usually means retaking the photo.
A reliable two-step workflow
- Crop and resize your photo to your country’s exact required pixel dimensions using the Resize tool.
- Run the resized photo through this tool with your portal’s exact byte limit as the target.
This order consistently produces the most legible, fully-compliant result, because the pixel dimensions are locked in before any quality reduction happens.