Make an ID or passport photo
Crop a photo to a documented passport, visa or ID size at 300 dpi, replace the background with the colour the authority asks for, and lay copies out on a 4×6 sheet if you want to print them. Everything happens on your own device.
Drag the photo to position it. Use the zoom slider to size it.
Sizes for common documents
These are the printed sizes, converted to pixels at 300 dpi — the resolution most photo printing and online submission systems expect. Dimensions are the finished photo, not the size of the subject within it.
| Document | Printed size | Pixels @300dpi | Background |
|---|---|---|---|
| China ID photo, 1 inch | 25 × 35 mm | 295 × 413 | White |
| China ID photo, 2 inch | 35 × 49 mm | 413 × 579 | White |
| China passport | 33 × 48 mm | 390 × 567 | White |
| US passport / visa | 2 × 2 in | 600 × 600 | White |
| UK passport | 35 × 45 mm | 413 × 531 | Light grey |
| Schengen visa | 35 × 45 mm | 413 × 531 | Light grey |
| Japan passport | 35 × 45 mm | 413 × 531 | White |
| India passport | 2 × 2 in | 600 × 600 | White |
| Canada passport | 50 × 70 mm | 591 × 827 | White |
| Australia passport | 35 × 45 mm | 413 × 531 | White |
Framing: the part that actually causes rejections
Getting the pixel dimensions right is the easy half. Most rejected photographs fail on framing, and the requirements are more precise than people expect.
The two figures that matter are head height (chin to top of head, as a proportion of the photo height) and eye position (how far down from the top edge the eyes sit). Different authorities specify different values, but they cluster:
| Measure | Typical requirement |
|---|---|
| Head height | 60–70% of the photo height for most passports; US passports ask for 50–69% |
| Eye line from the top | Roughly 30–50% down; the US specifies 56–69% from the bottom |
| Margins | Visible space above the head; shoulders included at the bottom |
| Head position | Facing the camera squarely; no tilt; mouth closed; eyes open and visible |
Turn on the framing guides in the tool to see the head-height band and the eye-line band overlaid on your photo, then drag and zoom until the head sits inside both. It is a far quicker way to get it right than measuring pixels.
Photographing the source image
Starting from a good source matters more than any editing step. What the authorities check, in rough order of how often it causes a rejection:
- Even, shadow-free lighting on the face. A window to one side produces a shadow across half the face. Face a window rather than standing beside one.
- A plain background. A wall is ideal. Since this tool can replace the background, the wall does not need to be the right colour — it needs to be uniform, so the removal works cleanly.
- No glasses if possible. Many authorities now refuse photographs with glasses, and those that allow them forbid glare and thick frames.
- Neutral expression, mouth closed, eyes open. Some allow a natural smile; several explicitly do not. Neutral is always safe.
- Stand far enough back. A phone at arm's length distorts facial proportions. Two metres away with digital zoom is usually better than thirty centimetres.
- Shoot at the highest resolution available. A 300 dpi print of a 35 × 45 mm photo needs 413 × 531 pixels — small by modern standards, but starting from a larger original gives you room to crop and straighten.
Replacing the background
The tool measures the colour at the edges of your photo and removes pixels close to it, then fills the result with the colour you chose. It works on the same principle as the white background tool, and it shares the same limits honestly.
It works well when the original background is a flat, evenly lit surface — a painted wall, a bed sheet, a studio backdrop. It does not work on a busy background, and no amount of adjusting will fix that, because a colour-based method has nothing to measure.
Three things that make the difference between a clean result and an obvious edit:
- Keep the edge clean. The tool reconstructs edge pixels rather than leaving a halo, but it works from what is in the photo. A source with a dark shadow behind the head is harder to rescue than a clean one.
- Watch the hair. Wispy hair against a patterned background is where any automatic method struggles. A plain wall is not just tidier, it is measurably easier to process.
- Do not over-smooth. Some automatic ID photo services apply heavy skin smoothing. Several authorities reject visibly retouched photographs, and the guidance generally asks for an unmodified likeness.
Printing at home
Photo labs and kiosks usually print a single photo per sheet and charge per print, but a 4 × 6 inch sheet holds several passport photos. The print sheet option lays copies out on a 1200 × 1800 pixel canvas at 300 dpi with a small gap between them, which you can take to any print shop that accepts a JPEG.
Two practical notes:
- Ask for actual size, not "fit to page". Printers often scale to fill the paper, which changes the dimensions by a few percent — enough to fail a measurement check. Choose 4 × 6 inch, borderless if available, at 100%.
- Cut with a margin. Trim slightly inside the printed frame rather than exactly on it, so no white border survives into the finished photo.
Questions
Is my photo uploaded to a server?
No. All processing uses the browser's canvas API and the file never leaves your device. Turn off your network after the page has loaded and the tool continues to work.
Why can it not handle a busy background?
Because it removes background by colour, not by understanding what is in the picture. If the backdrop varies, no single colour describes it, and any threshold that removes the backdrop would also remove matching parts of the subject. A segmentation model would be needed, and the accurate open models are licensed for non-commercial use only.
Can I use a selfie?
Sometimes, but a phone held at arm's length distorts the face, and several authorities refuse selfies outright. If you have no alternative, hold the phone further away and crop, rather than filling the frame from close up.
What resolution should the print sheet be?
300 dpi is the standard. A 4 × 6 inch sheet at that resolution is 1200 × 1800 pixels, which is what this tool produces. Higher resolution is not useful for a print shop; lower may be visible in the finished photo.
Does the tool check whether my photo complies?
No, and be sceptical of anything that claims to. It produces a correctly sized, correctly coloured photograph with framing guides to help you position the head. Whether the expression, lighting and pose meet a particular authority's rules is a judgement you have to make against that authority's published requirements.