Free passport photo maker · open source · runs in your browser
OpenPhotoId is a free, open-source passport photo maker (MIT or Apache-2.0) for passport, visa and ID photos. It runs in your browser and works offline after the first visit. Pick the document, choose a photo or take one, and download a file checked against the official rules. The passport photo maker also takes batches of any size, with a CSV report of which checks each photo passed. No sign-up, no watermark, and nothing is uploaded.
Open source · View on GitLab
The passport photo maker is also a macOS, a Windows and an Android app; the iPhone download is coming back soon — where it runs.
What it does
A checklist is only worth trusting if it says what it measured. Every check the passport photo maker runs names its value and the band it was judged against, and the same twelve run on every document. This is what the passport photo maker reports for a US passport photo made from a typical portrait.
1 face57.0% · band 50–68.8%62.4% · band 56.3–68.8%0.4% · tolerance 5%2.7° · max 5°no glasses seen98 px · min 90variance 1147 · min 808.8% · warn from 17%ΔE 0.0 vs #FFFFFF600 × 600 (300 dpi)200 KB · 54 KB – 10 MBHow it works
The core of the passport photo maker is written in Rust and compiled to WebAssembly. Two small neural networks — a face detector and a portrait matting model — run on your device's processor, on several cores at once where the browser allows it. Nothing here has a server that could receive your photo, so making a passport photo online here never sends it anywhere.
Five landmarks — eyes, nose, mouth corners — locate the head, measure its tilt, and anchor every rule that follows.
A matting model produces a soft edge, then a second pass zoomed in on your head resolves hair at full resolution. Sold as an upgrade elsewhere; on by default in this passport photo maker.
White for a Chinese ID card, light grey for an Australian passport, the exact colour each document names. The US, UK, Canadian, South Korean, Singapore, Chinese and Japanese passports, India's online passport photo (Passport Seva) and OCI card, and the DV Lottery do not accept an edited photo, so for those your photo's own background is kept and checked instead. Or a gradient, a studio sweep, or your own picture, for a photo that is not for a form. For the documents that refuse edits, the passport photo maker only crops and scales the photo.
Head height, eye line and centring each have an allowed band. The crop lands in the middle of every band at once, and three sliders let you move within them.
Twelve checks run on the finished file — and the face is detected again on the output rather than trusted from the crop, so the checklist describes the photo you will actually submit.
The passport photo maker exports a JPEG inside the portal's size window — 20 to 50 KB for India's PAN, under 240 KB for a US visa — a lossless PNG with the right DPI, or a 4×6, 5×7, A4 or Letter sheet tiled with cutting guides.
Download
Every surface is the same open-source engine, MIT or Apache-2.0, and every one of them keeps your photo on your device.
The passport photo maker on a phone, tablet or computer. Nothing to install; add it to your home screen and it opens with no signal. iOS 26 and Android tested; iOS 17 cannot run the models.
Make a photo →An earlier, simpler build than the web app, in English only: one photo at a time, saved as a JPEG, with no camera, no background or clothing choices, no print sheets and no batch, and documents listed by their internal names. The Mac download runs on Apple Silicon and Intel Macs. The Windows installer is not code-signed yet, so SmartScreen may ask once: choose More info, then Run anyway.
Download for Mac → Download for Windows →The same engine running natively on the device. The Android app is a direct download: Android asks once to allow installs from your browser. The iPhone and iPad download is coming back soon.
Download for Android →22 of the 25 link the official page their rules come from, with the date they were last checked against it. ID card 1-inch (China), ID card 2-inch (China) and PAN card (India) have no single official page, so they follow common practice, and the list says so. If the one you need is not here, it is not here — you should not have to find that out after making the photo.
| Country | Document | Output | File |
|---|---|---|---|
| Australia | Passport · light grey | 413 × 531 px (300 dpi) · 35 × 45 mm | — |
| Brazil | Passport · white | 591 × 827 px (300 dpi) · 50 × 70 mm | — |
| Canada | Passport · white | 591 × 827 px (300 dpi) · 50 × 70 mm | — |
| China | Passport · white | 390 × 567 px (300 dpi) · 33 × 48 mm | — |
| China | Online visa · white | 390 × 520 px | 40 KB – 120 KB |
| China | ID card, 1-inch · white | 295 × 413 px (300 dpi) · 25 × 35 mm | — |
| China | ID card, 2-inch · white | 413 × 626 px (300 dpi) · 35 × 53 mm | — |
| European Union | Schengen visa · white | 413 × 531 px (300 dpi) · 35 × 45 mm | — |
| India | Passport, printed · white | 600 × 600 px (300 dpi) · 50.8 × 50.8 mm | — |
| India | Passport Seva, online · white | 630 × 810 px | ≤ 250 KB |
| India | Online visa · white | 600 × 600 px (300 dpi) · 50.8 × 50.8 mm | 10 KB – 300 KB |
| India | OCI card · light grey | 900 × 900 px | ≤ 200 KB |
| India | PAN card · white | 295 × 413 px (300 dpi) · 25 × 35 mm | 20 KB – 50 KB |
| Japan | Passport · white | 413 × 531 px (300 dpi) · 35 × 45 mm | — |
| Nigeria | Passport · white | 600 × 800 px | ≤ 2 MB |
| Poland | Passport · white | 781 × 1004 px · 35 × 45 mm | ≤ 2500 KB |
| Russia | Passport · white | 413 × 531 px (300 dpi) · 35 × 45 mm | — |
| Saudi Arabia | Online visa · white | 200 × 200 px | 5 KB – 100 KB |
| Singapore | Passport · white | 400 × 514 px · 35 × 45 mm | ≤ 8 MB |
| South Korea | Passport · white | 413 × 531 px · 35 × 45 mm | ≤ 500 KB |
| Türkiye | Passport · white | 591 × 709 px (300 dpi) · 50 × 60 mm | — |
| United Arab Emirates | ID card · white | 413 × 531 px (300 dpi) · 35 × 45 mm | — |
| United Kingdom | Passport · light grey | 600 × 771 px · 35 × 45 mm online minimum 600 × 750 px | 50 KB – 10 MB |
| United States | Passport · white | 600 × 600 px (300 dpi) · 50.8 × 50.8 mm | 54 KB – 10 MB |
| United States | DV Lottery · white | 600 × 600 px | ≤ 240 KB |
Every entry with its background, file limits and source: Supported documents. The app speaks English, Chinese, Japanese, Korean, German, Spanish and Portuguese.
Before you submit: Australia, Passport. The Australian Passport Office advises against online passport photo services and apps, citing the risk of identity fraud. OpenPhotoId uploads nothing, but the Office recommends a professional photo provider.
Before you submit: Canada, Passport. Canada requires a passport photo taken in person by a commercial photographer or studio, not edited in any way (including filters and AI tools). Use this crop to check the framing; submit the photographer's print.
Before you submit: China, Passport. The Chinese embassy says the photo must not be modified and composite photos are not accepted. Take it against a plain white wall and keep its own background; OpenPhotoId only crops and scales it.
Before you submit: Singapore, Passport. Singapore's ICA says the photo “must not be altered or enhanced in any way”, including with photo editing software; resizing is allowed. Take it against a plain white wall and keep its own background.
Before you submit: South Korea, Passport. South Korea does not accept passport photos whose background was removed or replaced with editing software. Take the photo against a plain white background; a replaced background can be rejected.
Before you submit: Türkiye, Passport. Türkiye's NVI does not accept photocopies or photos reproduced on a computer. Use this file to check the framing, and hand in a print on photo paper, such as one from a photo shop, not a sheet from a home printer.
Before you submit: United Kingdom, Passport. GOV.UK says the photo must be “unaltered by computer software”. Take it against a plain cream or light grey wall and keep its own background; OpenPhotoId only crops and scales it.
Before you submit: United States, Passport. The US State Department says: “Do not change your photo using computer software, phone apps or filters.” For online renewal: “Do not use any kind of filter or retouching tools to change your appearance.” Take the photo against a plain white or off-white wall and keep its own background; repositioning or cropping it is allowed.
Each guide quotes the official rules and says what the passport photo maker does for that document: the US passport photo, UK passport photo, Indian passport photo, Chinese passport photo, Singapore passport photo, Polish passport photo, Korean passport photo, Schengen visa photo, Saudi visa photo and DV Lottery photo. Across all of them: passport photo size, how to take a passport photo at home, which documents need a white background and bulk passport photos for a whole class or team.
A free, open-source passport photo maker — every feature, every photo, no account and no watermark.
Privacy
Every passport photo maker says your photo is safe with them. Here there is no "them": open your browser's developer tools, switch to the Network panel, and make a photo. After the app and its models have loaded, no request carries your photo — only anonymous counts of page views and of how far a task gets.
Pricing
The five features this category sells by subscription are all on and all free. Every one of them runs on your own device, which costs nothing to provide — so there is nothing to meter.
The source is MIT or Apache-2.0. If that ever stopped being true, the version where it was true would still be there to fork.
The file meets the published size, background and geometry rules, and the checklist tells you which of the twelve checks passed and by how much. A portal can still reject a photo for reasons no software can measure — an expression, a reflection on glasses — so read the checklist rather than assuming.
Face the camera straight on with a neutral expression, in even light — a window works, direct sun does not — with head and shoulders in frame and a little room above your hair. A plain white or light wall is best: some documents, the US passport among them, do not accept a replaced background.
It is built for one. "Take a photo" opens the front camera directly. The first visit downloads the two models with a progress bar; after that they are on your device. Tested on iPhone and iPad with iOS 26 and on Android with Chrome. iOS 17 cannot start the models at all, and says so. Open the device test on your own phone to see what it does there.
The web app installs from the browser's share or menu button — "Add to Home Screen" — and then behaves like a passport photo app, offline included. The macOS app (Apple Silicon and Intel), the Windows app and the Android app are on the releases page; the iPhone/iPad download is coming back soon.
Yes, with no cap. Choose any number of photos and one document; every photo gets the same rules, and a CSV report says which checks each one passed.
Yes, for the visas in the list: the Schengen visa, India's online visa, China's online visa, Saudi Arabia's eVisa and the DV Lottery. The passport photo maker sizes each one to its portal's pixel size and file-size window, such as 200 × 200 px and 5–100 KB for the Saudi eVisa. A visa that is not in the list, such as the ordinary US visa, is not supported.
One account works across our apps, and some of those do work on a server that costs money per use. Credits bought there can be spent there. Here there is nothing to spend them on, so the account unlocks nothing and you never need it.
Nowhere, unless you save them. The app holds a photo only while you work on it, in memory, and forgets it when you close the tab. Your language and your recent documents are the only things it remembers.
Yes — the whole thing, under MIT or Apache-2.0.
Email hello@openphotoid.com. The source code is at gitlab.com/open-photoid/openphotoid.
Free, private, and checked against the rules before you download it.