Passport and Visa Photo Maker
Pick your document and how you apply, then choose or take a photo. The tool finds your face, crops and scales the photo toward that route's published numbers, and checks the head size, eye line, background and file limits it can measure; where a route gives no number, the check is only a guide. It all runs in your browser, your photo is never uploaded, and the files are free, with no watermark. For adults only. Not affiliated with any government, and acceptance is not guaranteed: the issuing authority decides.
How it works
- Pick the exact route. Photo rules depend on the document, the country or embassy and how you apply. Each route below lists the official numbers and the official pages we took them from, checked 26 November 2026.
- Find the face, in your browser. A face model (MediaPipe Face Landmarker, Apache-2.0 licence, served from this site) marks 478 points on your face: the eye centres, the chin and the edges of the face. A second small model (MediaPipe Selfie Segmentation) separates you from the background, which gives the top of your hair and the background area. Your photo is not sent anywhere: the page's security policy lets it load scripts and connect only to this site, and the only thing sent is an anonymous event counter (the route you checked, never the image).
- Crop and scale. The scale is the target head height divided by your measured head height. Routes measure the head differently: the US visa template counts the hair, while the US passport rules and the German mission measure to the top of the head (hair may reach past it), which the tool estimates from your eyes and chin and asks you to check; where a source does not say, both readings are checked. The head is then placed so the eye line sits in the middle of the route's eye band, or, where no eye band is published, with a little more space below the chin than above the head. If that frame would run past the edge of your photo, the tool tries a larger head within the allowed range; it never fills in missing background. Where the source gives a horizontal rule (China's face width and distance between the eyes), the scale is chosen so it holds too.
- Check. Each published number becomes a pass or fail check. Where a route publishes no number, or uses wording without landmarks (such as India's "80 to 85% face coverage"), the tool uses a guide or an estimate and shows a warning instead of a pass or a failure. Tilt, pose, expression, background and light are estimates from the models and measured pixels. Things only you can know, such as how recent the photo is and that it shows an adult, are ticked by you before the files are made.
- Make the files, free. Upload files are encoded as JPEG at the highest quality that fits the route's size limits, and each file is checked for its pixel size, format and byte size before you can save it. Print sheets are laid out at 300 dpi (600 dpi for the German mission, which asks for it) on 4 x 6 in (101.6 x 152.4 mm) or 10 x 15 cm paper with at least 2 mm to the edge and 1 mm between photos, with cut marks centred on each photo edge, saved as a JPEG tagged with its dpi and as a PDF whose page is exactly the paper size. For 2 x 2 in photos on 4 x 6 in paper there is also an edge-to-edge sheet with 6 photos, for labs that print the whole page without cropping. All files come as one ZIP and as separate links.
Worked example (US visa upload file, 600 x 600 px). In a phone photo the top of the hair is at row 1,500 and the chin at row 2,400, so the head is 900 px tall; the eyes are at row 1,950. The rule is a head of 50 to 69% of the image height, so the target is the middle, 59.5% of 600 = 357 px, and the scale is 357 / 900 = 0.3967. The 600 px frame therefore covers 600 / 0.3967 = 1,512.6 px of the original. The eyes sit 450 x 0.3967 = 178.5 px below the top of the head; the eye band is 56 to 69% from the bottom, whose middle (62.5%) is 375 px from the bottom, 225 px from the top. So the top of the head goes 225 - 178.5 = 46.5 px below the top edge, and the frame starts 46.5 / 0.3967 = 117.2 px above the hair, at row 1,382.8 of the original.
Official numbers for each route
| Route | Photo and geometry | Background | Official sources |
|---|---|---|---|
| US passport, paper application (2 x 2 in) | Print 2 x 2 in (51 x 51 mm): head 25 to 35 mm to the top of the head, not the hair; eyes 28 to 35 mm from the bottom (guide) Taken in the last 6 months. First-time adult applicants (form DS-11) apply in person, not by mail; eligible adults renewing with form DS-82 can apply by mail. | Plain white or off-white, no texture or shadows | U.S. Department of State: passport photos U.S. Department of State: official photo crop tool U.S. Department of State: apply in person (first-time adult applicants, form DS-11) |
| US visa, DS-160 upload and print (600 x 600 px) | Upload 600 x 600 px (600 to 1200 px square allowed), 240 kB or less: head 50 to 69% to the top of the hair; eyes 56 to 69% from the bottom Print 2 x 2 in (51 x 51 mm): head 25 to 35 mm to the top of the hair; eyes 28 to 35 mm from the bottom Taken in the last 6 months. | Plain white or off-white | U.S. Department of State: visa digital image requirements U.S. Department of State: visa photo composition template U.S. Department of State: visa photo requirements |
| India passport reissue in the US (630 x 810 px + 35 x 45 mm) | Upload 630 x 810 px, under 250 KB: head 80 to 85% to the top of the hair (estimate: our reading of the wording) Print 35 x 45 mm: head 80 to 85% to the top of the hair (estimate: our reading of the wording) Taken in the last 6 months. | White (wear a coloured shirt so you stand out from it) | Passport Seva: guidelines for ICAO-compliant photographs VFS Global: adult passport reissue checklist (USA) Passport Seva: photo upload instructions |
| India OCI card, portal upload (square JPEG) | Upload 600 x 600 px (200 to 900 px square allowed), 200 KB or less: head 70 to 85% to the top of the hair (estimate: our reading of the wording) Print 2 x 2 in (51 x 51 mm): head 25 to 35 mm to the top of the hair; eyes 28.6 to 34.9 mm from the bottom | Plain light colour, not white, no border | OCI services: portal FAQ (photo specification) OCI services: photo guide |
| India e-Visa upload (square JPEG) | Upload 600 x 600 px (at least 350 x 350 px, square), 10 KB to 1 MB: head 50 to 69% to the top of the hair (guide); eyes 56 to 69% from the bottom (guide) Recent (the portal asks for a recent photo). | Plain white (safest) or plain light colour; the portal accepts either | Government of India: e-Visa portal Government of India: e-Visa sample form |
| Schengen visa, German mission in the UK (35 x 45 mm) | Print 35 x 45 mm: head 32 to 36 mm to the top of the head, not the hair; printed at 600 dpi or more Taken in the last 3 months. | White or off-white | German missions in the UK: visa FAQ (photo rules) German missions in the UK: sample photo sheet |
| Spain passport, in-person application (26 x 32 mm) | Print 26 x 32 mm (written 32 x 26 mm in Spain): head 70 to 80% to the top of the head, not the hair (guide) | Smooth, uniform white | Ministerio del Interior: passport issuing procedure |
| China visa, Chinese embassy in Morocco (354 x 472 px + 33 x 48 mm) | Upload 354 x 472 px (up to 420 x 560 px allowed), 40 to 120 KB: eyes at least 256 px from the bottom; space above head 10 to 70 px; face width 191 to 219 px; eyes more than 60 px apart Print 33 x 48 mm: head 28 to 33 mm (hair not specified: checked both ways); space above head 3 to 5 mm; below chin at least 7 mm; head width 15 to 22 mm Taken in the last 6 months. | White or near-white, no border | Embassy of China in Morocco: visa photo requirements |
| Japan visa, Japanese embassy in Nigeria (35 x 45 mm) | Print 35 x 45 mm: head 25 to 29 mm (hair not specified: checked both ways); space above head 5 to 9 mm Taken in the last 6 months. | White, with nothing in the background | Embassy of Japan in Nigeria: visa photo specification Ministry of Foreign Affairs of Japan: visa application form |
For adults (18 or older). Children's photos follow different rules on several routes, which this tool does not cover. "Head" is chin to top of head, measured as noted per route. "(guide)" marks a layout guide where the route publishes no number. Byte limits are applied the strict way: a maximum written in KB is read as thousands of bytes. The US visa rule of compression 20:1 or less means at least 54,000 bytes for a 600 x 600 px file (600 x 600 x 3 / 20).
Routes where we do not make a file
- US passport online renewal: free check of your original. Online renewal asks for your original colour photo, saved on your device and uploaded as it is, and the portal lets you reposition and crop it there. So we check your original for free and do not sell a prepared file for this route. U.S. Department of State: upload a digital photo (online renewal)
- UK passport digital photo: free practice check. GOV.UK says the digital photo is either taken with your own device during the online application, with someone's help, or comes as a code from a photo booth or shop. The photo must not be cropped. So we offer a free practice check and do not sell a file for this route. GOV.UK: digital passport photo rules
- Canada passport: photographer's photo needed. Canada needs photos from a commercial photographer: printed photos with the studio's details on the back, or, for online renewal, the photographer's unaltered original file. A photo prepared here would not qualify. IRCC: Canadian passport photos
- Australia passport: provider photo or lab prints. Online renewal uses a photo code from a listed provider. For paper applications the Passport Office recommends a professional photo provider, asks for dye-sublimation prints on glossy paper of at least 200 gsm (not inkjet), and does not recommend online photo services or apps. We do not make files for this route. Australian Passport Office: passport photos
- Germany passport (domestic): certified digital capture. Since 1 May 2025 the photo for a German passport is taken digitally at the office or sent securely by a certified provider. A file from this tool cannot be used. Federal Government: new rules from May 2025
- France passport: approved booth or photographer. France asks for a photo from an approved booth or an authorised photographer. We do not make files for this route. Service-Public: photo requirements
- Mexico passport: photo taken at the appointment. The SRE captures the passport photo at the appointment, so you do not bring one for an ordinary application. Passport regulation (Reglamento de Pasaportes)
- Brazil passport: photo taken by the Federal Police. The Federal Police captures the photo at the appointment. A printed photo is only for listed exceptions such as children under five, which this tool does not cover. Federal Police: passport regulation (IN 173)
What the automatic checks use
These thresholds are ours, not the authorities' (China's limits of 20 degrees of head turn and 25 degrees of nod are the embassy's): eye line level within 5 degrees (warning to 8); head turn or nod under 8 degrees (model estimate); head centred within 3% of the width; no stretching of your photo (a warning up to 1.25 times); background lightness (CIELAB L*) of at least 85 out of 100 with little colour for white backgrounds and at least 70 for light ones; background variation (standard deviation of L*) of 6 or less; and left and right of the background within 6 L* units of each other. A photo with transparent areas is refused (filling them would change the background), and routes that ask for a colour photo refuse a black-and-white one. The ICAO baseline for photos in travel documents is the ICAO photograph guidelines.
Why the tool never changes your background or face
Several authorities reject edited photos: the US State Department shows a retouched background as a bad example, Canada rejects edits around the subject and background, and Australia illustrates a rejected edited background. So the tool only crops, scales and encodes. If the background check fails, retake the photo against a plain light wall. Sources: US passport photos, Canadian passport photos, Australian passport photos.
Disclaimer. howmuchworks is an independent, free photo-preparation tool and is not affiliated with any government. We check the measurable requirements shown here for your selected route; acceptance is not guaranteed, and the issuing authority makes the final decision on your photo. Your photo stays on this device.
Questions
Is my photo uploaded anywhere?
No. The face model, the crop, the checks and the files all run in your browser, and the page's security policy lets it load scripts and connect only to this site. We count anonymous page events, such as which route was checked or that files were made, but never the image, the face points or the file name.
Is it really free?
Yes. The checks, the preview and the files are free, with no watermark and no account. Nothing is for sale on this page.
Can I use this for a US passport online renewal or a UK digital passport photo?
Only as a free check. US online renewal asks you to upload your original colour photo, saved on your device, and lets you crop it in the portal: take it with your phone's camera app and check that file here. For a UK digital photo, GOV.UK has you take the photo with your own device during the online application, with someone's help, or use a code from a photo booth or shop; use our check as a practice run. We make no files for either route.
Can I make a photo of a child?
No. The presets follow the adult rules; several routes have different rules for children and babies (the German mission, for example, allows a smaller face for children aged 9 and under), which this tool does not cover.
Why does the tool not whiten or remove my background?
Many authorities reject edited photos, including changed backgrounds. The tool only crops, scales and encodes your photo. If the background check fails, retake the photo in front of a plain light wall with even light.
How do I print the sheet at the right size?
Print the PDF or the sheet JPEG on 4 x 6 in (or 10 x 15 cm) photo paper at 100% or actual size, never fit to page, and cut through the middle of the cut marks. Where there is room, the sheet has a 50 mm bar: measure it on the print before cutting. Use the edge-to-edge 6-photo sheet only with a lab that prints the whole page without cropping or borders.
Will my photo be accepted?
Not guaranteed. The tool checks the measurable rules shown for the route you picked. Expression, glasses, shadows and how recent the photo is are partly up to you, and the issuing authority makes the final decision.
Why are Canada, Australia, Germany, France, Mexico and Brazil not offered?
Canada needs a commercial photographer's photo; Germany's domestic passport photo is taken at the office or sent by a certified provider; France asks for an approved booth or photographer; Mexico and Brazil take the photo at the appointment. Australia is left out by our choice: its online renewal uses a photo code from a listed provider, and for paper applications the Passport Office recommends a professional provider, asks for dye-sublimation prints on glossy paper and advises against online photo services and apps. The tool explains each route and links to the official instructions.