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.

Drop a portrait photo here or click to choose a file  ·  a head-and-shoulders shot against a plain wall works best

 

No photo loaded yet.

Drag the photo to position it. Use the zoom slider to size it.

Your photo stays on your device. Cropping, background replacement and layout are all done with the browser's canvas API. Nothing is uploaded. Re-encoding drops EXIF data, which for a passport photo is usually what you want.

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.

DocumentPrinted sizePixels @300dpiBackground
China ID photo, 1 inch25 × 35 mm295 × 413White
China ID photo, 2 inch35 × 49 mm413 × 579White
China passport33 × 48 mm390 × 567White
US passport / visa2 × 2 in600 × 600White
UK passport35 × 45 mm413 × 531Light grey
Schengen visa35 × 45 mm413 × 531Light grey
Japan passport35 × 45 mm413 × 531White
India passport2 × 2 in600 × 600White
Canada passport50 × 70 mm591 × 827White
Australia passport35 × 45 mm413 × 531White
Always check the current requirement for your specific document before submitting. Authorities revise specifications, and some consulates want a size or background that differs from the national standard. The list here is a starting point, not an authority.

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:

MeasureTypical requirement
Head height60–70% of the photo height for most passports; US passports ask for 50–69%
Eye line from the topRoughly 30–50% down; the US specifies 56–69% from the bottom
MarginsVisible space above the head; shoulders included at the bottom
Head positionFacing 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:

  1. 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.
  2. 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.
  3. No glasses if possible. Many authorities now refuse photographs with glasses, and those that allow them forbid glare and thick frames.
  4. Neutral expression, mouth closed, eyes open. Some allow a natural smile; several explicitly do not. Neutral is always safe.
  5. 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.
  6. 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:

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:

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.

Related