About this passport & id photo maker
A passport size photo is 3.5 × 4.5 cm in India, the UK and the Schengen area, and 2 × 2 inches for the United States. This tool takes an ordinary photo and produces one at those exact dimensions: it crops to the required aspect ratio, resizes to the pixel size those documents need at 300 DPI, and compresses to a stated file-size limit where the form sets one. Zoom and vertical-position controls let you frame your face the way most application forms require. An optional background step estimates your existing background colour from the photo edges and fades it to white, sky blue, light grey, red or a colour you choose, for forms that specify one.
How the passport & id photo maker works
Standard document sizes are stored in millimeters and converted to pixels at 300 DPI. The photo is cropped to the target aspect ratio around its center, shifted by your zoom and vertical-position settings, then drawn onto a canvas at the exact target pixel size. If background replacement is on, the average color along the image's edges is sampled and pixels close to that color are faded toward your chosen color, with a soft-edged threshold rather than a hard cutout. When a preset specifies a maximum file size, JPEG quality is reduced step by step until the output fits.
Passport & ID Photo Maker examples
India passport, UK passport, Schengen visa, SSC and Railway exam photo
35 × 45 mm — 3.5 × 4.5 cm, 1.38 × 1.77 in, 413 × 531 px at 300 DPI, aspect ratio 7:9
US passport or US visa
50.8 × 50.8 mm — 5.08 × 5.08 cm, 2 × 2 in, 600 × 600 px at 300 DPI, aspect ratio 1:1
PAN card photo
25 × 35 mm — 2.5 × 3.5 cm, 0.98 × 1.38 in, 295 × 413 px at 300 DPI, aspect ratio 5:7
A size not listed
Choose Custom size and enter width and height in millimetres; the pixel size is computed at 300 DPI
Limitations & privacy
Background replacement estimates a single background color from the photo's edges and is not AI subject segmentation, so it works best with a plain, evenly lit original background; a patterned, shadowed, or cluttered background can leave halos or incomplete edges around hair and shoulders. This tool cannot correct poor lighting or verify that a photo meets every rule of a specific passport or visa authority. Always confirm current requirements with the issuing authority before submitting. Maximum one photo, 20 MB.
Inputs and results stay in this browser. Only tool identifiers are stored for your recently used tools. You can clear that history from the directory.
Passport & ID Photo Maker: frequently asked questions
What is the size of a passport size photo in cm?
3.5 × 4.5 cm for India, the UK and Schengen visas, which is 35 × 45 mm. The United States uses 5.08 × 5.08 cm, usually written as 2 × 2 inches. A PAN card photo is smaller at 2.5 × 3.5 cm.
What is the aspect ratio of a passport size photo?
A 3.5 × 4.5 cm photo is 7:9 — slightly taller than it is wide. A US 2 × 2 in photo is square, 1:1. A PAN card photo at 2.5 × 3.5 cm is 5:7. The crop here follows the ratio of whichever size you pick, so the face stays in proportion.
How many pixels is a passport size photo?
At 300 DPI, which is what most authorities expect for print, 3.5 × 4.5 cm is 413 × 531 pixels and 2 × 2 inches is 600 × 600 pixels. This tool produces those pixel dimensions. If a portal states its own pixel size instead, use Custom size.
Can this remove any background like an AI photo editor?
Not quite. It estimates one background colour from the photo edges and fades matching areas to your chosen colour. A plain, evenly lit original background gives the cleanest result; a busy or shadowed one may leave visible edges.
Can I use this for a country not in the preset list?
Yes. Choose Custom size and enter the required width and height in millimetres.
Why would I need a coloured background instead of white?
Some visa and ID photo rules specify a particular background colour, such as light blue or red, rather than white. Pick a preset swatch or enter a custom colour to match what is required.
Updated October 10, 2026