ID & Visa Photos
Passport photos sized to the exact spec — without ever uploading your face
Pick the country’s official size, frame your head between the guide lines, and OptiSqueeze renders the exact pixel dimensions as a JPEG under the file-size ceiling — then measures the finished file and tells you whether it passes. Cropping, resizing and compression all run on your device, so a biometric photo never leaves it.
Step 1 · Choose the size
The ICAO band puts the crown-to-chin head at 70–80% of photo height; the UK’s own page asks for 29–34 mm of 45. The guides sit inside both.
Step 2 · Add your photo
Tap to choose your photosDrop an image anywhere, or browse files
Supports WebP, JPEG, PNG, and AVIF up to 50MB. Processed offline.
Output: 35 × 45 mm · 413 × 531 px JPEG
One recent, front-facing photo on a plain background. It is never uploaded — cropping, resizing and compression all run on your device.
Passport & visa photo sizes, with sources
A rejection message is never about your face — it is about arithmetic. Get the millimetres, the pixels and the kilobytes right and the file passes the gate; the table is the set this tool is built around, and every row links to the authority that publishes it.
| Size | Inches | Pixels @ 300 DPI | File limit | Used by |
|---|---|---|---|---|
| 35 × 45 mm | 1.38″ × 1.77″ | 413 × 531 * | No published byte limit | UK, EU / Schengen visas, India, Australia, NZ |
| Digital only | — | 600 × 750 | 50 KB – 10 MB | 600 × 750 px · 50 KB – 10 MB |
| 51 × 51 mm | 2.01″ × 2.01″ | 600 × 600 (range 600–1200) | ≤ 240 KB JPEG | US passport, visa & DS-160 forms |
| 50 × 70 mm | 1.97″ × 2.76″ | 1200 × 1800 | 200 KB – 5 MB | 2 × 3 in · 1200 × 1800 px · 200 KB – 5 MB |
| 33 × 48 mm | 1.3″ × 1.89″ | 354 × 472 | 40 KB – 120 KB | 354 × 472 px · 40–120 KB |
* Pixels converted from the official millimetre print size at 300 DPI — the density photo studios print at. Where an authority publishes its own pixel figure (the US DS-160’s 600–1200 px), the table shows that instead.
mm, pixels, DPI: the conversion every form expects you to know
Forms are sloppy about units. A studio asks for millimetres, a government portal asks for pixels, and a printer asks for dots per inch — and all three describe the same photo. The relationship is fixed: pixels = millimetres ÷ 25.4 × DPI. At the standard 300 DPI print density, 35 mm becomes 413 px and 45 mm becomes 531 px; the US 2 × 2 inch spec at 300 DPI is 600 × 600 px, which is exactly why the DS-160 minimum is 600 px.
This is why a 413 × 531 upload looks fine on screen but prints at the right physical size: the pixel count is just the millimetre count wearing a resolution. The tool renders the pixel figure directly, so you do not have to do the arithmetic — and the framing guides encode the head-height rules (ICAO’s 70–80% band, the UK’s own 29–34 mm of 45, the US 50–69%) so the geometry is right on both counts.
What the checker proves — and what it cannot
After every pass, the checklist reads the finished file’s actual bytes and reports three facts it can verify: pixel dimensions against the spec, file size against the ceiling, and the format. Those are the mechanical reasons portals reject uploads with “image too large” or “invalid dimensions”.
The rest is a decision about the content of the photo, and no size tool can honestly certify it: a plain background with no shadows, eyes open and facing the camera, a neutral expression, no glasses (banned for US photos since 2016, still restricted elsewhere), head height inside the band, and no retouching that moves facial features. Official reviews — human or biometric — reject for those. Get the framing inside the guides and the geometry is right; read your authority’s page linked above for the rest.
Taking it yourself so the photo passes first time
- Stand roughly a metre from a plain light wall, and face an even light source — a window on a cloudy day beats a lamp, which casts the shadow the checker’s rules call “mottled background”.
- Have someone else take the photo, or use a timer from at least 1.5 m. Arm’s-length selfies distort proportions in ways face-matching systems flag.
- Keep the camera at eye level, shoulders square, expression neutral, mouth closed.
- Crop generously — the framing tool does the precise crop, and an extreme original crop leaves you nothing to reposition with.
- Shoot in the highest quality your phone offers; compression to 240 KB is gentle on a sharp source and brutal on a soft one.
Your face is not a file to hand a server
Every other image on this site is something you could, in principle, upload without much harm. A passport photo is not. It is a high-quality biometric template of your face, taken deliberately for identification — the exact class of image that face-swap and identity-fraud tooling wants, and whose phone copy additionally carries GPS coordinates and a timestamp in its EXIF block. Services that process it server-side hold a copy on their infrastructure, whatever the retention clause says.
So the working title of this page is the sentence in the dropzone: the decode, the crop, every resize and all the compression passes happen in your browser’s memory. There is no server step to trust, and the privacy guide shows how to verify that claim in DevTools in under a minute — watch the Network tab while a photo is processed and nothing goes out. Re-encoding as JPEG also drops the EXIF metadata, which this guide covers properly.
Limits, honestly
This is a sizer, not a photobooth: it does not remove or replace backgrounds, detect your face, or guarantee acceptance — no free tool can, and the ones that promise to are either paid or uploading your photo somewhere. If a portal needs a PDF, the JPEG compressor output drops straight into most “print to PDF” dialogs. Files up to 50 MB are accepted; older browsers without canvas JPEG encoding or WebAssembly may fall back in ways the tool discloses on screen.
Passport photo questions
Most countries — including the UK, all Schengen states, India, Australia and New Zealand — use 35 × 45 mm. The United States uses a square 2 × 2 inch (51 × 51 mm) photo, Canada uses 50 × 70 mm (its digital spec is 1200 × 1800 px, 200 KB – 5 MB), and China visas ask for 33 × 48 mm — or, for the online form, a JPEG of at most 354 × 472 px weighing between 40 and 120 KB.
The tool above renders any of these exactly; the table lists the full set with sources.
At print resolution (300 DPI) a 35 × 45 mm photo is 413 × 531 px. Authorities rarely publish a pixel figure for print-sized specs because the mm measurement is what matters on paper — if a portal asks you for pixels, check which DPI it assumes, since the same millimetres at 200 DPI would be 276 × 354 px.
Pick the size in the tool above and frame your face — the output is already a JPEG at the exact spec, and the compressor automatically squeezes it under the ceiling the form enforces (240 KB for US online forms, for example). The checklist shows the real byte count, so you can see it passes before you upload.
For a portal with its own odd limit, the target-size compressor takes any ceiling you type — 20, 50, 100, 200 KB or more.
No, and it would be dishonest to claim otherwise. The checker measures the things a file can prove: pixel dimensions, byte size and format. Background, eyes-open neutrality, no glasses, no shadows and correct head height are judged by a human or a biometric system at the acceptance desk — the official requirement pages linked under the tool list them, and the framing guides put your head where the specs ask for it.
What this page guarantees is that a photo which fails does not fail on size.
A passport photo is a biometric image — it is the thing impersonation tools and face-swap abuse want. Upload-based services store it on someone else’s server, often with terms that allow retention. Here the photo is decoded, cropped, resized, compressed and verified entirely inside your browser; no request carrying it is ever made, which you can watch for yourself in the Network tab of DevTools.
Also strip the metadata: phone photos carry GPS coordinates, and this guide explains why that matters for a photo of your face. Re-encoding with this tool drops EXIF anyway.
You can crop any existing front-facing photo with the framing tool, and re-prints accept it when the geometry is right — but a selfie taken at arm’s length has lens distortion that widens whatever is closest to the camera, which face-matching systems have learned to reject. Hold the phone at least 1.5 m away (or have someone else shoot it), keep the camera at eye level, and stand close to a plain, evenly lit wall.
Just need a file under a size limit instead? Compress to any target size or open the full compressor.
