How to make a passport photo
- Take a suitable picture. The next section explains what matters. A photo from your phone’s main camera is enough.
- Drop it on the upload area. The first time, a portrait model is downloaded and cached in your browser. Then the background is removed automatically.
- Choose the “Document format”. The menu appears beside the picture once the background is gone. It starts on “USA · 2×2 in (51×51 mm) — passport, visa, green card”. The line under it shows the size in millimetres, the pixels at 300 DPI and the allowed head height.
- Pick the “Background” colour your authority asks for.
- Align the head. Drag the picture and zoom until the head fills the dashed oval and the eyes sit on the orange line.
- Download. “Download photo (JPG, 300 DPI)” gives one photo; “Download 4×6 in print sheet” gives a sheet with several copies to print and cut.
Taking a picture that can pass
Distance and height
Ask someone to take the photo from 1.5–2 m away, with the camera at the height of your eyes. A selfie at arm’s length makes the nose larger and the ears smaller, and a camera held above or below tilts the face. A tripod or a shelf with the self-timer works as well.
Light
Stand facing a window in daylight. Light from one side leaves half of the face in shadow, a ceiling lamp darkens the eye sockets, and a direct flash causes shine and red eyes. The tool replaces the background but leaves the light on your face as it is.
Wall
Use a plain, light wall and stand about half a metre in front of it, so that you cast no shadow on it. Hair and clothes should differ in tone from the wall; that helps the cut-out.
Framing
Keep the whole head, the hair and the shoulders in the frame, with clear space above the head. You can zoom in later, but nothing can restore a cut-off crown or shoulder.
The built-in document formats
| Menu entry | Pixels at 300 DPI | Head height guide | Starting background | Copies on the sheet |
|---|---|---|---|---|
| USA · 2×2 in (51×51 mm) | 602×602 | 50–69% | White | 2 |
| EU / Schengen · 35×45 mm | 413×531 | 70–80% | Light grey | 8 |
| UK · 35×45 mm | 413×531 | 64–76% | Light grey | 8 |
| Ukraine · 35×45 mm | 413×531 | 70–80% | White | 8 |
| Canada · 50×70 mm | 591×827 | 44–51% | White | 2 |
| India · 2×2 in (51×51 mm) | 602×602 | 50–69% | White | 2 |
| China · 33×48 mm | 390×567 | 58–69% | White | 8 |
| Australia · 35×45 mm | 413×531 | 70–80% | White | 8 |
| Japan · 35×45 mm | 413×531 | 70–80% | White | 8 |
| Documents · 3×4 cm | 354×472 | 60–75% | White | 8 |
| Documents · 4×6 cm | 472×709 | 60–75% | White | 3 |
Head height is measured from the chin to the top of the head and given as a share of the photo’s height. For the US format, 50–69% of 2 inches is the official range of 1 to 1⅜ inches.
These numbers are guides built into the tool. Authorities revise their rules, and a visa photo can differ from a passport photo of the same country. Read the current specification of the office you are applying to before you print.
Aligning the head with the guides
The dashed oval
Its height is the middle of the allowed head range for the chosen format. Bring the chin to the bottom of the oval and the top of the head to its top. Measure to the skull, not to the top of a voluminous hairstyle.
The orange line
This is the eye level for the format. Both eyes should lie on it; if one is higher, your head was tilted and a new photo is the better fix.
Moving and zooming
Drag the picture with the mouse or a finger. “Zoom” runs from 0.5× to 4×; on a computer the mouse wheel over the picture does the same in small steps.
Show guides
The oval and the line are drawn only on screen and are never part of the downloaded file. Untick “Show guides (not included in the download)” to see the photo exactly as it will be saved.
Background colours
Five swatches cover the usual cases: white, light grey, two light blues and cream. The colour picker next to them sets any other tone. Each format starts with its own default, and choosing a different format resets the colour to that default, so set the format first and the colour second.
How the background is removed
The cut-out is made by MODNet, a portrait matting model published under the Apache 2.0 licence. It is about 25 MB, is downloaded once and then kept in your browser’s cache. It runs on the processor through WebAssembly, so no graphics card is needed.
Photos larger than 2048 px on the longer side are reduced to that size before the model sees them. The model returns a soft mask, not a hard outline: single hairs stay partly transparent and blend into the new colour without a cut-out edge.
Your picture is processed on your device from start to finish. The only thing that travels over the network is the model file coming in.
The two downloads
Single photo
A JPG at 95% quality with exactly the pixels listed for the format. A resolution of 300 DPI is written into the file, so print software and upload checks read the correct physical size, for example 35×45 mm.
Print sheet
A white 4×6 in page, 1795×1205 px at 300 DPI. It holds as many copies as fit with 2 mm between them, each framed by a thin grey cutting line. The button states the number: 2 for the 2×2 in formats, 8 for 35×45 mm.
Printing at true size
- At home: load 10×15 cm (4×6 in) photo paper, choose 100% or “actual size”, and switch off “fit to page” and borderless printing. Both enlarge the picture by a few percent.
- Check with a ruler. The printed photo must be exactly as wide as the format says, 35 mm or 2 inches. Then measure chin to top of head against the allowed range.
- Paper. Use photo paper. Prints on office paper are refused.
- Cutting. Cut along the grey lines with a paper trimmer or sharp scissors, so no line remains on the photo.
Using the file in an online application
Portals set their own rules for pixels and file size, and they do not always match the printed format. The single photo has the pixel size from the table above and cannot be exported larger. If a portal demands more pixels than that, upload a photo taken to the portal’s own instructions instead.
If the limit is on file size, bring the download under it with the image compressor, which can target an exact number of KB.
What the tool does not check
- Head size and position. No face is measured automatically. The guides show the target; placing the head is your job.
- Expression, glasses, shadows, sharpness. Nothing is judged or corrected. Red eyes, glare and uneven light stay in the photo.
- Rules about edited photos. Some authorities refuse photos changed by software. The US State Department, for example, tells applicants not to alter their photo with software, apps, filters or AI. Replacing a background is an edit. If your authority is strict about this, photograph yourself against a plain white wall and cut the unedited picture to shape with the image cropper.
- Who may take the photo. Some countries accept only photos from a professional photographer, a booth or a certified digital service.
For a CV or profile portrait, where no document rules apply, the background changer offers more freedom with colours and images.
If the result looks wrong
The head does not fit the oval, even at 0.5×
The source photo is cropped too tightly. Retake it from further away with space around the head and shoulders.
Part of the hair or a shoulder is missing
The model took it for background because the tone was too close to the wall. Wear clothes that contrast with the wall and retake the photo in even light.
The print is a few millimetres too big or small
The printer or kiosk scaled the page. Print again at 100% without borderless mode and measure the result.
The photo looks soft
The head was a small part of the original and had to be enlarged. Use a picture in which the head and shoulders fill most of the frame, taken with the rear camera.
The model download stops halfway
Keep the tab open and reload the page; the download starts again. After one complete download the model is read from the cache.