Passport Photo Maker screenshot

Passport Photo Maker

Crop a photo to a passport, visa or ID size, resize it to the document's pixel dimensions and write the print DPI into the JPEG. Runs in your browser.

Privacy First
0 Runs
Updated 2026-11-17
Runs in your browser
No sign-up, no upload

What the Passport Photo Maker does

The document list carries the legal millimetre size and the pixel size at 300 dpi: US 51 × 51 mm (600 × 600), UK and Schengen 35 × 45 mm (413 × 531), China 33 × 48 mm (390 × 567), India 51 × 51 mm (600 × 600), Japan 35 × 45 mm (413 × 531).

The source is cropped to the widest centred box of the document's aspect, so nothing is stretched, then resampled to the document's pixel size. Zoom divides that box, keeping it centred.

The JFIF density fields are rewritten to the chosen dpi, which is the number a print shop reads. A JPEG without a JFIF segment is refused by name rather than labelled with a resolution the file does not carry.

How to use it

Choose the photo from the image file picker, then pick the Document — the size in millimetres and pixels is stated for each.

Set Zoom to 1 for the tightest crop that fills the frame, or raise it to crop closer to the face, and leave Print resolution at 300 dpi unless the office asks otherwise.

Press Run and look at the passport photo preview: it should show the head centred with the frame filled, and Download saves a JPEG at the document's pixel size.

Why it runs in your browser

The photo is decoded, cropped and re-encoded in this tab. The DPI is written into the file's own JFIF header by this page, and the picture is never uploaded.

One document size, one centred crop, one honest file: the output is the document's own pixel dimensions at its print resolution, and the JPEG carries that resolution in its JFIF header.

The crop fills the frame — it never letterboxes — and a zoom above 1 tightens it around the centre. The page says the size in millimetres and pixels so you can check the print.

What it does, and what it does not

The document list carries the legal millimetre size and the pixel size at 300 dpi: US 51 × 51 mm (600 × 600), UK and Schengen 35 × 45 mm (413 × 531), China 33 × 48 mm (390 × 567), India 51 × 51 mm (600 × 600), Japan 35 × 45 mm (413 × 531).

The source is cropped to the widest centred box of the document's aspect, so nothing is stretched, then resampled to the document's pixel size. Zoom divides that box, keeping it centred.

The JFIF density fields are rewritten to the chosen dpi, which is the number a print shop reads. A JPEG without a JFIF segment is refused by name rather than labelled with a resolution the file does not carry.

How to use Passport Photo Maker

Choose the photo from the image file picker, then pick the Document — the size in millimetres and pixels is stated for each.

Set Zoom to 1 for the tightest crop that fills the frame, or raise it to crop closer to the face, and leave Print resolution at 300 dpi unless the office asks otherwise.

Press Run and look at the passport photo preview: it should show the head centred with the frame filled, and Download saves a JPEG at the document's pixel size.

What to Expect

Best for

  • Printing a photo at a named passport or visa size
  • Checking a photo against a document's aspect

Not ideal for

  • Background replacement — this is a crop, not a matte
  • Retouching skin or removing shadows

What this tool keeps

  • The photo's own pixels, resampled once
  • The print resolution in the JFIF header

What may need cleanup

  • A busy background may still be rejected by the office
  • Some offices require a recent photo and a specific head height

Common errors

  • Unknown document

Example use cases

  • Preparing a passport photo for printing
  • Checking that a photo crop fills the frame

Sample input

A portrait photo chosen from disk, cropped to the US 2 × 2 in frame.

Sample output

A 600 × 600 JPEG whose JFIF density says 300 dpi.

Who this is for

  • Travellers preparing an application
  • Anyone printing an ID photo at home

Frequently asked questions

Does the page remove the background?

No. It crops, resizes and writes the print resolution. A passport office that requires a plain background still needs the photo taken against one.

Is 300 dpi real, or just a label?

It is in the file. The JPEG's JFIF density fields are rewritten to the dpi you chose, so a print shop reads the resolution from the file itself.

What if my photo is already the right aspect?

The crop is the widest centred box of the document aspect, so a matching photo is cropped only as much as rounding requires and nothing is stretched.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.