PassportLayout.online

Digital Passport Photo Requirements for Online Applications

Written and fact-checked by the PassportLayout team · Last verified:

More and more passport applications now happen entirely online — and the moment they do, the familiar millimetre measurements disappear and a new set of numbers takes over: pixels, kilobytes, aspect ratios and file formats. Here is how digital photo specifications work, how the published requirements of the countries we cover compare — and an honest account of which parts of the process a browser tool can help with and which it cannot.

The most common digital mistake

Scanning or photographing a printed passport photo to create the upload file. Canada and the US online renewal both explicitly prohibit this — automated checkers detect the paper texture and the photo is rejected. Always upload the original digital image.

Print vs Digital: Why Pixels Replace Millimetres

A printed photo has a physical size — 35 × 45 mm, 2 × 2 inches — and DPI (dots per inch) is the bridge between the digital file and that physical print. A digital file, by itself, has no physical size at all: it is simply a grid of pixels. DPI is metadata that only means something when ink hits paper. That is why print guidance talks about 300 DPI and 100% scale, while upload portals never mention DPI — they specify pixel dimensions (how large the grid is), aspect ratio (its shape), file format (almost always JPEG) and file size (how many kilobytes the compressed file occupies).

The conversion between the two worlds is simple: pixels = millimetres ÷ 25.4 × DPI. At 300 DPI, a 35 × 45 mm photo is 413 × 531 pixels, and a US 2 × 2 inch photo is exactly 600 × 600 pixels. This matters because several countries ask for more pixels in the upload than the printed photo contains: the UK demands at least 600 × 750 pixels for its 35 × 45 mm frame (roughly 435 DPI equivalent), and Canada's online renewal wants at least 1200 × 1800 pixels for a photo whose print version is 50 × 70 mm. You cannot assume a print-resolution crop will satisfy a digital spec — you have to check the published pixel numbers.

Everything else about the photo is unchanged. The background, face proportions, neutral expression, and glasses and head covering rules are identical for print and digital — the checking software applies the same ICAO-derived composition standard either way.

Pixel dimensions of a digital passport photo A square digital photo frame annotated with arrows showing 600 pixels on both the horizontal and vertical axes, next to a JPEG file icon labelled less than or equal to 240 kilobytes, the US visa example. A caption notes the UK minimum of 600 by 750 pixels. 600 px 600 px JPEG ≤ 240 KB US visa example UK: 600 × 750 px min, 50 KB – 10 MB
A digital spec in one picture: pixel dimensions define the grid (the US visa photo must be square, 600 × 600 to 1200 × 1200 px), and the file size limit caps the JPEG at 240 KB. Every country sets its own numbers — the UK allows 50 KB to 10 MB.

Digital Specifications by Country

The table below collects the digital upload specifications published by each authority. Every number comes from our verified country requirement pages or, for the two US rows, directly from travel.state.gov (checked 7 July 2026 — see Sources). Click the country name for the full requirements including composition rules.

Country / Service Format Pixel Dimensions File Size
UK — online passport application JPEG Min 600 × 750 px, 35:45 (7:9) ratio 50 KB – 10 MB
Canada — online adult renewal JPEG 1200 × 1800 to 3000 × 4500 px, 3:2 portrait 200 KB – 5 MB
Japan — MynaPortal (within Japan) JPG 35:45 proportions, same face-size rules as print Max 600 KB
Japan — applying from overseas JPG, JPEG, BMP, PNG 35:45 proportions, same face-size rules as print 20 KB – 2 MB
US — visa applications (DS-160) JPEG, sRGB 600 × 600 to 1200 × 1200 px, square Max 240 KB
US — online passport renewal JPG, JPEG, PNG, HEIC, HEIF No published pixel minimum; crop in the application 54 KB – 10 MB
India — Passport Seva portal JPEG Min 200 × 200 px, 400 × 400 px recommended Max 1 MB

Three details in that table deserve emphasis. First, Canada's digital photo must still be taken in person by a commercial photographer — the online renewal changes the delivery format, not who takes the photo. Second, Japan compresses files on upload: MOFA warns that if the compressed file still exceeds the limit, the upload fails, so start well under the cap. Third, the two US rows are different services with different rules — the visa photo is a strict square with a small 240 KB cap, while the online passport renewal accepts phone formats like HEIC up to 10 MB and lets you crop within the application itself.

Countries Where There Is Nothing to Upload

Some countries have skipped the upload step entirely by capturing the photo live, at the counter, as part of biometric enrolment. If you are applying in one of these systems, no amount of photo preparation is needed for the passport itself:

The pattern is worth watching: live capture removes the single largest source of application errors, and more authorities are moving that way. Until yours does, the pixel specifications above are what stand between you and a completed application.

Producing a Compliant Digital File with PassportLayout.online

A moment of honesty about what this site's tool does and does not do. It is built primarily for print: the main Download button produces a PNG of an entire paper sheet (A4, 4×6″ and so on) at 300 DPI with multiple photos arranged on it. That file is exactly right for a printer and exactly wrong for an upload portal — do not submit a sheet of six photos to an online application.

The tool also has a single-photo download, which saves one cropped JPEG at your selected country's print proportions, rendered at 300 DPI. For the US 2 × 2 inch format that works out to 602 × 602 pixels — a square image that meets the US visa minimum of 600 × 600 pixels (check the saved file stays under the 240 KB cap; at these dimensions it normally does, but re-export at a slightly lower JPEG quality if not).

For other countries, do the arithmetic before relying on it. A 35 × 45 mm crop at 300 DPI is 413 × 531 pixels — below the UK's 600 × 750 pixel minimum, so for a UK online application you should upload your original camera photo (or a crop of it made to the published spec) rather than the tool's print-resolution export. Canada's online renewal is out of scope twice over: it needs at least 1200 × 1800 pixels and the photo must come from a commercial photographer. The honest workflow is: use the tool's face-alignment guides to get composition right and produce print files; for uploads, keep your original full-resolution photo and let the official service's own cropper do the final framing wherever one is offered (the US online renewal and UK service both provide one).

Whatever route you take, one property of this tool always applies: everything happens in your browser. Your photo is never uploaded to our servers — which is exactly how identity photos should be handled.

Common Upload Failures and How to Fix Them

Problem: File too big (or too small)

Every service sets a range, and they differ wildly: 240 KB maximum for a US visa photo, 50 KB minimum for the UK, 200 KB minimum for Canada. Japan adds a twist — files are compressed on upload, and if the compressed result still exceeds the limit the upload fails. Fix: resize the pixel dimensions toward the lower end of the allowed range and export as JPEG at 80–90% quality; that lands most photos comfortably inside any range.

Problem: Wrong aspect ratio

A square US-style crop uploaded to the UK's 7:9 portal, or a 35 × 45 crop sent to Canada's 3:2 system, fails immediately. Fix: crop to the destination country's ratio first, keeping the face proportions correct — the face-size rules (see each country page) are checked after the ratio.

Problem: Over-compressed image

Squeezing a photo under a file-size cap by dropping JPEG quality to the floor introduces blocky artefacts around the face — Japan's MOFA lists compression noise among its rejection reasons, and the US visa spec caps the compression ratio at 20:1. Fix: reduce pixel dimensions instead of quality. A 600 × 600 image at 85% quality is far cleaner than a 1200 × 1200 image crushed to the same file size.

Problem: Scanned print artefacts

Scanning a printed photo adds paper texture, moiré patterns and colour casts. Canada states the digital photo cannot be a scanned copy of a printed photo, and the US online renewal says not to take a photo of a printed photo or scan a physical one; the UK requires the photo to be unaltered by computer software. Fix: go back to the original digital file from the camera — and never run it through filters, beauty modes or AI editors, which the US and Canada also reject.

Need printed photos as well as a digital file?

PassportLayout.online arranges your photo on a print-ready 300 DPI sheet for any paper size, entirely in your browser. Free, no account, and your photo never leaves your device.

Create your passport photo layout — free

Frequently Asked Questions

How many pixels is a passport photo at 300 DPI?

At 300 DPI, a 35 × 45 mm photo is 413 × 531 pixels, a US 2 × 2 inch photo is exactly 600 × 600 pixels, and a Canadian 50 × 70 mm photo is 591 × 827 pixels. Note that many online systems ask for more pixels than the print equivalent — the UK requires at least 600 × 750 pixels and Canada's online renewal requires at least 1200 × 1800 pixels — so check the country's digital specification rather than converting from the print size.

Can I scan a printed passport photo for an online application?

Generally no. Canada's online renewal explicitly states the digital photo cannot be a scanned copy of a printed photo, and the US online passport renewal instructs applicants not to take a photo of a printed photo or scan a physical photo to make a digital file. Scans introduce paper texture, moiré patterns and colour shifts that automated checkers detect. Always upload the original digital photo straight from the camera.

Why does my passport photo upload keep failing?

The four most common causes are: the file is outside the allowed size range (too large or too small), the pixel dimensions or aspect ratio are wrong for that country, the image has been over-compressed and shows JPEG artefacts, or the photo is a scan or edited image that the automated checker flags. Check the country's exact specification first — file size limits range from 240 KB (US visa) to 10 MB (UK), so a file that works for one country can fail for another.

Are digital passport photo rules the same as the printed photo rules?

The composition rules are identical: the same background colour, face size proportions, neutral expression, and glasses and head covering rules apply whether the photo is printed or uploaded. What changes is the technical specification — millimetres are replaced by pixel dimensions, and paper quality rules are replaced by file format, file size and compression rules.

Can PassportLayout.online create a photo for an online application?

Partly. The tool is built for print: the main Download button produces a 300 DPI PNG of a full paper sheet, which is not what upload portals want. The single-photo download gives you one cropped JPEG at your country's print proportions — 602 × 602 pixels for the US 2 × 2 inch size, which meets the US visa minimum of 600 × 600. For specifications that demand more pixels, such as the UK's 600 × 750 minimum or Canada's 1200 × 1800 minimum, upload your original camera photo through the official service instead, or crop it manually to the published pixel specification.

Related Guides

How to Take a Passport Photo at Home

Camera setup, lighting, background, and common mistakes.

Passport Photo Printing Guide

Paper types, printer settings, and the critical 100% scale rule.

Glasses, Head Coverings and Attire

What you can wear in a passport photo, country by country.

Photo Requirements by Country

Official dimensions, backgrounds, and specifications for every country we cover.

Sources