Make a 2 × 2 inch photo
US passport, visa and green card size, with the head and eyes at the heights the rules ask for.
- Nothing is uploaded
- Works offline after first use
- Open source
- No watermark · limit is your device’s memory; phones hold less
Turn a photo of yourself into a 2 × 2 inch passport or visa photo, head sized to the US rules, plus a 4 × 6 print sheet. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The first run downloads the face finder, the cut-out model and the WebAssembly engines that run them (about 46 MB in all) to your browser, and after that the tool works offline.
Done
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
A 2 × 2 inch photo (51 × 51 mm) is the size the US State Department asks for on passport and visa applications, and it is also used for green cards, naturalisation and a handful of other countries’ documents. The rules are specific: the head, measured from the bottom of the chin to the top of the hair, must be between 1 and 1 3/8 inches tall, and the eyes between 1 1/8 and 1 3/8 inches above the bottom edge.
This page finds your eyes and mouth with a face detector and the top of your hair with a segmentation model, both running in your browser, then scales and crops the photo so your head is about 1 3/16 inches tall and your eyes sit in the middle of the allowed band. You get a 1200 × 1200 pixel file for online renewals, and a 4 × 6 inch sheet with two copies to print at a pharmacy or photo kiosk for a few cents.
The software does the measuring, but the photo itself still has to follow the rules: taken in the last six months, facing the camera with a neutral expression and both eyes open, no glasses, even lighting with no shadows, and a plain white or off-white background. Check the result against the State Department’s photo page before you send it.
How it works
- Stand in front of a plain white or off-white wall and have someone take a photo from about 4 feet away, at eye level, with space above your head.
- Drop the photo here. Keep the background if the wall was plain; replace it with white only if you need to.
- Download the 2 × 2 photo for an online application, or the 4 × 6 sheet to print and cut along the grey lines.
In your browser, not on a server
Two open models run in your tab. MediaPipe’s BlazeFace face detector (Apache 2.0) finds your eyes and mouth, from which the chin is estimated, and ISNet running on onnxruntime-web finds the outline of your head, whose highest point is the top of your hair. The photo is scaled so the head fills the middle of the allowed range, drawn at 600 pixels per inch, and tiled onto a 4 × 6 inch sheet at 300 pixels per inch with cut lines.
Compared with upload-based tools: Passport photo sites and apps upload a picture of your face to crop it, and many charge to download the result or to remove a watermark. A face photo for an identity document is exactly the file you want to keep to yourself. Here it never leaves your device, and the print sheet costs whatever your local photo counter charges for a 4 × 6.
Verify it yourself. Give the page a short while after your first run to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Can I use this for an online US passport renewal?
Yes, the single photo is a 1200 × 1200 pixel JPG, within the 600 to 1200 pixel square the online renewal asks for. Upload the photo itself on the government site; this page never sends it anywhere.
Where can I print a 2 × 2 photo?
Order a standard 4 × 6 print of the sheet at a pharmacy photo counter, supermarket kiosk or online lab, at no scaling, then cut out the two copies along the grey lines. Printing at home works too if you print at 100% on glossy or matte photo paper.
Can I smile?
The State Department prefers a neutral expression or a natural smile with both eyes open. A wide grin can be rejected, and it also moves the mouth, which this page uses to find your chin, so a neutral face gives the most accurate sizing.
Can I wear glasses?
No. Glasses have not been allowed in US passport photos since 2016, except with a signed medical statement. Take them off for the photo.
Does it work for a baby’s passport photo?
It can, if the baby is facing the camera with eyes open against a plain background, lying on a white sheet for example. Babies’ faces are proportioned differently, so check the head size on the result and retake if it looks off.
Is the file uploaded anywhere?
No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after your first run to save itself for offline use; then you can turn off Wi-Fi and it still works.
More image tools
Passport photo maker
Crop a photo to passport size with the head at the right height, and get a sheet to print at any photo counter.
Crop image
Drag a box over the part you want, pick a ratio or a circle, and download the crop. The photo never leaves this device.
Blur & pixelate image
Hide faces, plates, addresses and account numbers before you share a photo. The photo never leaves this device.
Rotate & flip image
Fix a sideways photo, a mirrored selfie or an upside-down scan. One image or a batch, and none of them leave this device.
Other conversions
- PNG to TIFF
- ICO to PNG
- HEIC to PNG
- HEIF to JPG
- PNG to JPG
- JPG to PNG
- WebP to PNG
- WebP to JPG
- PNG to WebP
- JPG to WebP
- 35x45 mm photo maker
- Crop to square
- Twitch emote resizer
- Animated emote resizer
- Image to pixel art with grid
- Photo to pencil sketch
- Round image corners
- Twitch sub badge resizer
- Discord emoji resizer
- Discord sticker resizer
- Resize for Instagram
- Pixelate image
Guides
- How to take a passport photo at homeMostly about background, lighting and framing, not equipment. Here is how to get it right with just a phone.