About this tool
Six sizes, each one checked against the authority that publishes it
Upload a photo or take one with the camera, pick a size, and you get a print-ready PNG at 300 DPI. The presets are Taiwan passport / ID card and the 2 inch and 1 inch photos the print trade sells, the United States 2×2 in passport and visa photo, the Japanese passport, and the photo box on a Japanese rirekisho resume form. Each one shows both units at once — 35 × 45 mm and 413 × 531 px @ 300 DPI — because the millimetres are what the office checks and the pixels are what your printer sees. Sizes published by a government are labelled as such; the ones that are only a trade convention say so instead of pretending to be law, and they carry no source link because there is no document to link to.
The guides are drawing aids, not a face detector
Turn the guides on and dashed lines appear where the crown of your head and your chin should sit, plus an eye line for the sizes whose authority publishes one. Nothing here looks at your face: you drag and zoom until you match the lines, which is the same thing a photographer does by moving the camera. That honesty matters, because a tool that claimed to auto-align would be wrong on exactly the photos where it costs you a re-application. The tool does check one thing for you — whether the crop you framed has enough pixels to print at 300 DPI — and it says the number it can actually support rather than silently upscaling.
Background replacement runs on your machine, from a model you download once
White, blue and red are one click each, and there is a colour picker for anything else. The separation is done by MODNet, an Apache-2.0 portrait matting model that is fetched from Hugging Face the first time you ask for it — about 25 MB, cached in this browser afterwards, so every photo after the first works with the network off. It runs on the graphics card through WebGPU where the browser has it and falls back to WebAssembly on the CPU where it does not, and the page tells you which path it actually took and how long it took. An edge-softness slider feathers the cut-out, because hair against a busy background is where every matting model is weakest and a pixel-hard edge is what makes a composite look fake.
Then print it the way a photo shop would
A single PNG is one download. The other is a 4 × 6 in sheet — 101.6 × 152.4 mm, the size the photo counter prints — filled with as many copies as fit, laid out in whichever orientation yields more, with cut lines drawn straight across the paper so a guillotine has something to follow. Optional bleed adds background around each photo so a slightly crooked cut still leaves you a full-size print; the dashed trim rectangle is shown on screen and is never drawn into the file. Print from this page and the browser is given the sheet alone at zero page margin. The one thing you have to get right is in your printer dialog: print at 100%, never “fit to page”, or every millimetre on this page becomes a lie.