Most online passport, visa, and government portal uploads reject a photo for one of two reasons: it's too large in file size, or the pixel dimensions are off. This tool handles the file-size side — set the limit your form states and it compresses to fit.
One honest note: exact requirements (dimensions, DPI, background color, file size) differ by country and by agency, and they change. This tool won't guess your country's rules for you — check the official form or embassy site for the numbers, then plug them in below.
Defaults below are set to a common passport-photo limit (50KB) — change them to match your form.
No — it only resizes to a maximum pixel dimension and compresses the file size. If your form requires an exact square crop or a specific aspect ratio, crop the photo first in any basic photo editor, then run it through this tool.
They're common limits seen on passport and visa portals, but they're a starting point, not a guarantee for your specific form — always confirm against your country's official requirement.
Lower the "max dimension" further — going from 600px to 400px, for example, usually drops the file size substantially with only a modest quality trade-off for a small ID-style photo.