How we know →

This project is still in development. Contributions are welcome: see the project on GitHub and the contributing guide.

Passport photo maker GitHub

Passport photo maker

Crop a photo to the size of a passport or ID photo, saved at 300 DPI.

Files

Settings

Document
Size
5.1 cm × 5.1 cm (2 in × 2 in), 600 × 600 px at 300 DPI
Head height
2.5–3.5 cm (0.98–1.38 in), chin to crown
Background
White or off-white

The head is measured from the bottom of the chin to the top of the head.

Source: travel.state.gov, checked 2026-10-26.

%

Your country not listed? Submit a feature request!

Save as

This tool handles size only. Whether a photo is accepted also depends on lighting, background and expression, which are not changed here.

How it works

  1. Add one photo of a face looking straight at the camera.
  2. Choose the document. Its size, head height and background are shown under the choice. If yours is not listed, choose Custom and type the numbers your country asks for.
  3. Move the box so the head sits between the guide lines. The box always keeps the shape of the printed photo.
  4. Press Create photo, then download it. The print resolution is stored in the file.

FAQ

Will my photo be accepted?
This tool only handles size. Offices also check lighting, background, expression and print quality, and none of that is changed here.
Does it change the background?
No. The background stays as it is in your photo, so take it against the colour the document asks for.
What are the guide lines?
The top line is the crown of the head. The two lower lines are where the chin should fall for the shortest and the longest head height allowed. Only documents with a stated head height have them.
Why is a document missing, or a value blank?
Every value comes from the issuing authority and is listed with its source. Where no official page states a value, it is left out instead of guessed.
My country is not listed. What can I do?
Choose Custom and enter the width, the height, the head height range and the background your authority asks for. Those numbers are yours and are not checked. You can also use the button under the document choice to ask for your country to be added.
Why only JPG and PNG?
Print software reads the stored resolution reliably from those two formats, but not from WebP or AVIF.