Crop your photo to the right passport or ID size
Passport and identity documents require photos at very specific dimensions, and getting the size wrong is one of the most common reasons an application is rejected. This tool finds your face and crops your photo to the specifications used around the world so the final image matches what the authority expects. The United States passport and most US visas call for a square 2x2 inch photo, equivalent to 51x51mm, printed at 300 DPI which works out to 600x600 pixels. The United Kingdom, the Schengen area, and much of Europe use a 35x45mm portrait rectangle, typically supplied at around 413x531 pixels for digital submission.
Pixohub does the framing for you. Choose the country or document, upload a photo, and the tool finds your face with an on-device landmark model, measures your head from chin to crown and scales and centres the photo so your head lands inside that country's official range — for example 25–35mm for a US passport or 31–36mm for Canada. There are no sliders to drag; a fine-tune panel is there if you want it, starting from the automatic result.
Everything happens inside your browser. The face model runs locally, the photo is drawn onto a canvas, cropped to the exact pixel size of your document and saved as a JPG. Nothing is uploaded to a server, which matters when the image is going onto an official identity document.
Common passport and ID photo specifications
Here are the sizes this tool helps you produce. US passport and visa: 2x2 inches (51x51mm), a square photo, commonly 600x600 pixels at 300 DPI. United Kingdom passport: 35x45mm portrait, digital versions are usually at least 600x750 pixels. Schengen and most EU visas: 35x45mm portrait, similar in shape to the UK photo. India: passport photos are normally taken at the Passport Seva Kendra when you apply, while Indian visa and OCI applications use a square photo. Canada uses a large 50x70mm passport photo, while Australian passports use 35–40mm by 45–50mm — always check the exact figure for your document because national rules differ and change over time.
The pixel dimensions matter because printing and online portals rely on them. A 2x2 inch photo at 300 DPI must be 600x600 pixels; supplying fewer pixels can make the print blurry, while a 35x45mm photo at 300 DPI works out to roughly 413x531 pixels. This tool outputs the correct pixel count for the preset you choose so your file is ready for either a print shop or a digital upload without further resizing.
Every photo is checked automatically against the specification for your document: head size, centring, whether your whole head is in the frame, background colour and evenness, a neutral expression, open eyes, even lighting and enough resolution. The preview shows the official template — the band where the top of your head must fall, the chin line, the eye zone and the head oval — so you can see exactly why a check passes or fails. Photos that can never comply, such as one that cuts off the top of your head, are flagged with advice on retaking them instead of being exported. The checks follow the official rules, but the issuing authority always makes the final decision, so read its guidance for anything a camera can't judge, such as glasses or head coverings.
Find the exact rules for your country
Photo rules are set by each country, and two documents that share a size can still differ in head height, background colour or whether you may smile. We keep a separate page for each country and for the most-requested visas, listing the official size, the pixel dimensions for digital uploads, the background and expression rules, the reasons photos most often get rejected, and how the requirements compare with neighbouring countries.
Popular pages: United States (2x2 in), United Kingdom, Canada (50x70mm), Schengen visa, India, China visa and Australia. Each one pre-selects that country in the tool, so the crop, checks and background colour follow its rules — still entirely on your device.