Passport photo maker

Crop a photo to a standard passport or visa size at real print resolution. Pick the size in millimetres and the DPI, and the tool works out the pixel count, writes the right print resolution into the file, and shows you the exact file size before you download. Nothing is uploaded.

JPG, PNG or WebP. Drag one in or browse.

2. Size and resolution

Check the rules published by the authority issuing your document. Sizes differ by country and by document type.

That is 413 x 531 pixels at 300 DPI. 300 DPI is the usual minimum for a printed photo, and 600 DPI is worth using if a print shop asks for it.

Leave both at 0 or blank for a full quality print file. Fill them in when an online application caps the upload. 1 KB is treated as 1024 bytes.

Your picture never leaves this device. The cropping and the encoding both run in your browser with the Canvas API. Nothing is uploaded, nothing is stored, and there is no account.

How the pixel count is worked out

A passport photo requirement is a physical size, not a pixel size, so the pixel count depends entirely on the resolution you print at. The conversion is millimetres to inches to dots:

pixels = round(millimetres / 25.4 x DPI)

For the 35 x 45 mm size at 300 DPI that is 35 / 25.4 x 300 = 413.4, which rounds to 413, and 45 / 25.4 x 300 = 531.5, which rounds to 531. So the file is 413 x 531 pixels. At 600 DPI the same photo is 827 x 1063. The 2 x 2 inch size lands on 600 x 600 at 300 DPI with no rounding at all, because 2 inches is exactly 600 dots.

Rounding to the nearest pixel changes the printed size by less than a tenth of a millimetre, which no photo booth or passport office measures to.

The DPI is written into the file, not just assumed

A browser canvas writes 72 DPI into the JPEG header whatever the pixel count is. That is why a correctly sized photo from most online tools opens in print software at the wrong physical size: 413 x 531 pixels at 72 DPI is a 146 x 187 mm poster, not a passport photo.

This tool rewrites the JFIF density field in the encoded file to the DPI you selected, so the file both contains the right number of pixels and reports the right print size. Drop it into a print dialog or hand it to a print shop and it lands at the size you asked for.

What this tool does not do

It handles size, cropping and resolution. It does not check background colour, lighting, shadows, head height, expression, glasses or headwear, and it cannot tell you whether a photo will be accepted.

Those rules are set by whoever issues your document and they differ between countries, between document types and over time. Read the published guidance, take the photo against a plain light background in even light, and use this for the sizing step.

Frequently asked questions

What size is a passport photo in pixels?
It depends on the print resolution, because the requirement is a physical size. The most widely used size is 35 x 45 mm, which at 300 DPI is 413 x 531 pixels and at 600 DPI is 827 x 1063 pixels. The 2 x 2 inch size used by the United States is 600 x 600 pixels at 300 DPI. This tool shows the exact pixel count for whichever size and DPI you pick.
How is the pixel count worked out?
Pixels are millimetres divided by 25.4 to get inches, multiplied by the DPI, rounded to the nearest whole pixel. For 35 mm at 300 DPI that is 35 / 25.4 x 300 = 413.4, which rounds to 413. The arithmetic is printed on the page so you can check it.
Does the file carry the right DPI for printing?
Yes. A browser canvas writes 72 DPI into the JPEG header by default, which makes a correctly sized photo open at the wrong physical size in print software. This tool rewrites the JFIF density field to the DPI you chose, so the file both has the right pixel count and reports the right print size.
Will this make my photo compliant with passport rules?
It handles size, cropping and resolution only. It does not check background colour, lighting, head height, expression, glasses or headwear, and it cannot tell you whether a photo will be accepted. Read the rules published by the authority issuing your document and treat this as the sizing step.
Can I set a maximum file size as well?
Yes. Leave the size limits blank for a print quality file, or fill them in when an online application caps the upload. The encoder then searches for the highest JPEG quality that still fits under your maximum, and pads up to a minimum if the form demands one.
Is the photo uploaded anywhere?
No. Cropping and encoding run in your browser through the Canvas API, so the image stays on your device from start to finish. There is no server, no storage and no account.

Travelling to study? The exam still comes first.

FORKSAI turns your notes, slides and PDFs into flashcards and spaced repetition sessions, so the preparation behind the application holds up too.

The tool above stays free and needs no account.

More free image tools

Every one of them runs on your device. See the rest on the free student tools hub.

Plan your next review session

Use the free student study kit to plan a week of revision, check flashcard quality, and record mistakes from practice questions.

Need a deck first? Turn a lecture PDF into editable flashcards, then follow the active recall guide to practise answering before revealing the back of each card.

Working toward an exam? Build a daily target with the exam study planner, protect the session with the Pomodoro study timer, or check your current result with the weighted GPA calculator.