idpixo

Digital Photo File Requirements: Pixels, KB Caps & JPEG Rules for Online Applications

Applying online? The upload portal does not care how good your print looks — it checks pixels, file format, file size and sometimes DPI. Here are the hard numbers per country, and how to hit them without Photoshop.

Make a compliant photo →

Why digital files get rejected

Online submission systems run automated checks before a human ever sees your photo. The most common technical failures — all covered in the top rejection reasons — are: wrong pixel dimensions (below the minimum or outside a fixed size), the wrong file format (HEIC, PNG or PDF where JPEG is required), a file over the size cap, and — for fixed-size portals — a slightly off aspect ratio. None of these are visible to the eye; a perfect portrait can fail on bytes alone.

The exact numbers, per portal

Country / portalPixel sizeFormat & notes
US passport & US visa600 × 600 px minimum (1200 × 1200 max)JPEG, square
DV Lottery600 × 600 px minimum, squareJPEG — rejected over 240 kB
China (online application)exactly 354 × 472 pxFixed size — near misses get bounced
India (Passport Seva)630 × 810 px (4.5 × 3.5 cm)JPEG — same format, two notations
UK (digital submission)827 × 1063 px (min 600 × 750)JPEG
Singapore (ICA)400 × 514 px minimumJPEG — the digital file is what gets checked
Canada (digital)420 × 540 px minimum, 5:7 ratioJPEG
Schengen, Japan, France, Germany, Brazil eVisa413 × 531 px @ 300 DPIJPEG — 35 × 45 mm expressed in pixels
New Zealand827 × 1063 px @ 600 DPIHigh resolution above any portal minimum

Full millimetre data for every country lives on the all sizes chart.

HEIC is the silent killer

iPhones save photos as HEIC by default, and almost no government portal accepts it. Two ways out: switch the iPhone camera to JPEG (Settings → Camera → Formats → Most Compatible) for future shots, or export an existing photo as JPEG from the Photos app before uploading. The image compressor cannot decode HEIC either — but it tells you clearly when a file is HEIC instead of failing silently.

Hitting a KB cap (DV lottery: 240 kB)

Only the DV lottery publishes a hard cap, but compressing under it is easy: export at 600 × 600 px, quality ~85, and you land around 60–120 kB with no visible loss. If you are still over, drop quality to 75 — the limit is on file weight, not perceived quality. The compressor shows the output size as you go.

Fixed-size portals: crop, don't squish

Portals like China's (exactly 354 × 472 px) reject stretched images. Crop to the target aspect ratio first — the image cropper has a custom ratio lock — then resize to the exact pixel dimensions with the resizer. Squishing changes face proportions, which is a rejection reason on its own.

DPI metadata: when it matters

DPI is print metadata, not pixels — a 413 × 531 px file printed at 300 DPI is exactly 35 × 45 mm. Online portals check pixels, so DPI rarely matters for uploads. It matters when printing: see the printing guide for 300 DPI layout sheets, and the print sheet tool to lay out 6×4 or A4 sheets directly.

60-second pre-upload checklist

Frequently asked questions

What pixel size does an online passport photo need?
It depends on the portal. The US passport and visa want 600 by 600 px minimum (1200 by 1200 max); the DV lottery 600 by 600 px; China exactly 354 by 472 px; India 630 by 810 px; the UK 827 by 1063 px (minimum 600 by 750); Singapore 400 by 514 px minimum; Canada 420 by 540 px minimum at a 5:7 ratio; and Schengen-style 35 by 45 mm portals 413 by 531 px at 300 DPI.

Does the uploaded file have to be JPEG?
Yes for almost every government portal. HEIC, PNG and PDF are rejected where JPEG is required. iPhones save as HEIC by default, so either switch the camera to Most Compatible or export the photo as JPEG before uploading.

What is the file size limit for a passport photo upload?
Only the DV lottery publishes a hard cap: 240 kB. Elsewhere it is safe to keep the file under about 1 MB. Exporting at 600 by 600 px and quality around 85 usually lands between 60 and 120 kB with no visible loss.

Why was my photo rejected for the file even though it looks fine?
Online systems run automated checks before a human sees the photo, so a perfect portrait can fail on bytes alone. The usual technical failures are wrong pixel dimensions, the wrong format such as HEIC or PNG, a file over the size cap, and a slightly off aspect ratio on fixed-size portals. None of these are visible to the eye.

Does DPI matter for online uploads?
Rarely. DPI is print metadata, not pixels, and online portals check pixels rather than DPI. It matters when you print: a 413 by 531 px file printed at 300 DPI is exactly 35 by 45 mm.

Can I upload a HEIC photo from my iPhone?
No. Almost no government portal accepts HEIC. Either set the iPhone camera to Most Compatible so it saves JPEG, or export the existing photo as JPEG from the Photos app before uploading. Note that the image compressor cannot decode HEIC either, though it tells you clearly when a file is HEIC.

Start from a compliant source image: shoot at home, check the dress code, then make the photo in your browser: idpixo →