Free passport photo maker · open source · runs in your browser

A passport photo maker whose photos pass.

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

25
documents, 16 countries and the EU
12
checks on every photo
0
uploads, accounts or watermarks

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

The twelve checks, with the numbers behind them.

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. Face countexactly one face in frame1 face
  2. Head heightthe document's band, as a share of the frame57.0% · band 50–68.8%
  3. Eye lineheight of the eyes from the bottom edge62.4% · band 56.3–68.8%
  4. Centringhow far the face sits off the vertical centre0.4% · tolerance 5%
  5. Rollhead tilt, from the line between the eyes2.7° · max 5°
  6. Glasseswhether glasses are worn and whether they are tinted, against what the document allowsno glasses seen
  7. Inter-eye distanceenough pixels between the eyes for a machine to read98 px · min 90
  8. Blursharpness across the face regionvariance 1147 · min 80
  9. Lighting symmetryleft/right luminance difference across the face8.8% · warn from 17%
  10. Background uniformityhow flat and how close to the required colourΔE 0.0 vs #FFFFFF
  11. Resolutiononline renewal sets no pixel size; this is the 2 × 2 in print at 300 dpi600 × 600 (300 dpi)
  12. File sizeinside the portal's window, found by search not guessed200 KB · 54 KB – 10 MB

How it works

Every step happens on your own device.

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.

  1. Find the face

    Five landmarks — eyes, nose, mouth corners — locate the head, measure its tilt, and anchor every rule that follows.

  2. Separate you from the background

    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.

  3. Set the background each document asks for

    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.

  4. Crop to the rules

    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.

  5. Check the result

    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.

  6. Export for the portal or the print shop

    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

One passport photo maker, on every screen you own.

Every surface is the same open-source engine, MIT or Apache-2.0, and every one of them keeps your photo on your device.

Available now

Web app

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 →
macOS · Windows

Desktop app

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 →
Release candidate

iPhone, iPad and Android apps

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 →

25 documents, and where each one's rules come from.

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.

CountryDocumentOutputFile
AustraliaPassport · light grey413 × 531 px (300 dpi) · 35 × 45 mm—
BrazilPassport · white591 × 827 px (300 dpi) · 50 × 70 mm—
CanadaPassport · white591 × 827 px (300 dpi) · 50 × 70 mm—
ChinaPassport · white390 × 567 px (300 dpi) · 33 × 48 mm—
ChinaOnline visa · white390 × 520 px40 KB – 120 KB
ChinaID card, 1-inch · white295 × 413 px (300 dpi) · 25 × 35 mm—
ChinaID card, 2-inch · white413 × 626 px (300 dpi) · 35 × 53 mm—
European UnionSchengen visa · white413 × 531 px (300 dpi) · 35 × 45 mm—
IndiaPassport, printed · white600 × 600 px (300 dpi) · 50.8 × 50.8 mm—
IndiaPassport Seva, online · white630 × 810 px≤ 250 KB
IndiaOnline visa · white600 × 600 px (300 dpi) · 50.8 × 50.8 mm10 KB – 300 KB
IndiaOCI card · light grey900 × 900 px≤ 200 KB
IndiaPAN card · white295 × 413 px (300 dpi) · 25 × 35 mm20 KB – 50 KB
JapanPassport · white413 × 531 px (300 dpi) · 35 × 45 mm—
NigeriaPassport · white600 × 800 px≤ 2 MB
PolandPassport · white781 × 1004 px · 35 × 45 mm≤ 2500 KB
RussiaPassport · white413 × 531 px (300 dpi) · 35 × 45 mm—
Saudi ArabiaOnline visa · white200 × 200 px5 KB – 100 KB
SingaporePassport · white400 × 514 px · 35 × 45 mm≤ 8 MB
South KoreaPassport · white413 × 531 px · 35 × 45 mm≤ 500 KB
TürkiyePassport · white591 × 709 px (300 dpi) · 50 × 60 mm—
United Arab EmiratesID card · white413 × 531 px (300 dpi) · 35 × 45 mm—
United KingdomPassport · light grey600 × 771 px · 35 × 45 mm
online minimum 600 × 750 px
50 KB – 10 MB
United StatesPassport · white600 × 600 px (300 dpi) · 50.8 × 50.8 mm54 KB – 10 MB
United StatesDV Lottery · white600 × 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.

A guide for the documents people ask about most.

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

The only passport photo maker where you can check the privacy claim yourself.

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.

  • The core cannot reach the network The Rust module that does the work has no HTTP client compiled into it. There is no code path from your photo to a server.
  • The models are served from here The face detector and the matting model are fetched from this site on first use, about 26 MB once, and kept in your browser. Not from a CDN that would learn when you opened a passport photo.
  • No account needed Nothing on this site is behind a sign-in. There is an account, in the top corner of the app, and it is optional: it carries credits to our other apps, and signing in sends an e-mail address or a wallet signature to our account server and nothing else. Your photo never leaves the browser either way.
  • No ads, no third-party trackers This page loads no third-party script and sets no cookie. Our own self-hosted analytics keeps anonymous counts of page views and of how far a task gets — never your photo.
  • Works with no signal After the first visit the app opens with no connection at all. Add it to your home screen and it opens on a plane.

Pricing

Free, including the parts other passport photo maker apps charge for.

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.

$0 every feature, every photo, for good
  • Hair-level edge detail
  • Unlimited batches, with a CSV report
  • Backgrounds beyond a flat colour
  • Print sharpening and tiled print sheets
  • A drawn jacket for a photo taken in a T-shirt

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.

Questions

Before you make one.

Something not answered here? Ask on GitLab.

Will the portal accept a photo from this passport photo maker?

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.

What should the original photo look like?

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.

Does the passport photo maker work on a phone?

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.

Is there a passport photo maker app to install?

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.

Can the passport photo maker do several at once?

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.

Does the passport photo maker make visa photos too?

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.

Why is there an account button at all?

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.

Where are my photos stored?

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.

Is the passport photo maker really open source?

Yes — the whole thing, under MIT or Apache-2.0.

How do I report a problem or get in touch?

Email hello@openphotoid.com. The source code is at gitlab.com/open-photoid/openphotoid.

Your photo, ready in about a minute.

Free, private, and checked against the rules before you download it.