Skip to content
Passport Photo

Digital Passport Photo for Online Applications

Updated 2026-11-24 · 6 min read

A digital passport photo for an online application is a JPEG file that meets the portal's pixel size and file size limits, with the face at the correct size and position. Get the pixel dimensions right first, then reduce file size by lowering the JPEG quality, and avoid cropping so tightly that the head or shoulders are cut off.

Online systems differ a lot. Some accept a range of sizes, some demand an exact one, and they are updated from time to time. This guide covers the common cases and explains the principles. Always check the current requirement on the official page of the authority you are applying to.

What online portals usually check

Most upload systems look at five things:

  1. File type. Almost always JPEG (.jpg or .jpeg). PNG, HEIC and PDF are often refused.
  2. Pixel dimensions. Either an exact size or a minimum and maximum range.
  3. File size. A minimum and a maximum in KB or MB.
  4. Image content. Face position, head size, background, expression and lighting.
  5. Photo authenticity. No heavy editing, filters or a photograph of a printed photo.

Notice that DPI is not on the list. For online forms, the pixels and the file size are what matter. See our guide on passport photo size by country for the difference between mm, inches and pixels.

Requirements for common applications

The table below gives typical requirements as we understand them. Portals change them, so verify before you upload.

Application Typical requirement Authority to check
US passport (online renewal) Square JPEG, 600×600 to 1200×1200 px, 240 KB or less (this matches the State Department's online photo tool) US Department of State, travel.state.gov
UK passport (GOV.UK) Digital JPEG, at least 600 px wide and 750 px tall, with a minimum and maximum file size set on GOV.UK HM Passport Office, GOV.UK
Canada passport 50×70 mm photo; digital requirements vary by service, so read the current instructions IRCC, canada.ca
India e-Visa Square JPEG, 350 to 1000 px on each side Indian e-Visa portal
China visa (online form) 354×472 to 420×560 px, 40 to 120 KB Chinese Visa Application Service Center / embassy

If the portal says something different from this table, the portal is correct. The US renewal rules are close to the DV Lottery rules, which are covered in our DV Lottery photo guide.

US online passport renewal

The US system uses a square photo. The head must fill an adequate part of the frame, the background should be plain white or off-white, and glasses are generally not allowed. Our US passport photo page has the full set of rules and the 2×2 inch size page shows the pixel sizes.

UK passport on GOV.UK

The UK service uses the 35×45 mm proportions but works from a digital file. It checks the image size in pixels and shows a message if the photo is not accepted. Details for this route are on the UK passport photo page. If the service flags your photo, read the reason carefully, since common issues include shadows, a busy background and glare on glasses.

India e-Visa

The India e-Visa portal asks for a square JPEG between 350 and 1000 pixels on each side. A square crop is needed here, even though Indian passports use 35×45 mm for printed photos. See our India visa photo page for the full checklist, and confirm the file size limit on the portal.

China visa

The China online visa application asks for a smaller, portrait-shaped photo between 354×472 and 420×560 pixels, with a file size of roughly 40 to 120 KB. The China visa photo page covers the details. Note the ratio: 354×472 is a 3:4 portrait, so a square crop will not work.

How to choose the right pixel size

Follow this order.

  1. Read the portal's exact range. Write down the minimum and maximum width and height.
  2. Pick a size inside the range. If there is a range, the middle of it is a safe choice. If only a minimum is given, aim a little above it.
  3. Keep the right proportion. A square requirement means exactly equal width and height. A portrait requirement means keeping the ratio, such as 3:4 or 7:9.
  4. Do not enlarge a small image. Upscaling a small photo does not add detail, and it makes the face look soft.

If your original is large (say 3000 pixels wide), reduce it to the target size. Reducing is always better than enlarging.

File size and JPEG quality

JPEG is a lossy format, which means that saving at a lower quality shrinks the file by discarding some detail. For a portrait with a plain background, the file shrinks well.

A practical approach:

  1. Resize to the target pixel dimensions first.
  2. Export at about 90 percent quality.
  3. If the file is above the limit, lower the quality in steps of five and re-export.
  4. If the portal also has a minimum file size, such as 40 KB for China visa photos, increase the quality, since a very small file can mean excessive compression.

Do not compress the same JPEG repeatedly. Each save loses a bit more quality. Always go back to the original and export once.

A few things reduce file size without hurting the face: a plain background, no noise from a dark room and a clean crop. Photos taken in poor light have more digital noise, which makes them larger and less sharp.

Do not crop too tight

Online systems measure the head against the frame, but a tool that crops too aggressively can cause rejections of its own.

  • Leave space above the head. The top of the hair must be fully visible.
  • Include the neck and the top of both shoulders, unless the rule says otherwise.
  • Keep the face centered.
  • Do not zoom in on the face just to make the head look large. The ratios in the rules are the guide, not your impression.

Also avoid the opposite problem. A photo with too much empty space makes the head too small, which fails the head-size check.

Make a digital photo in your browser

  1. Take a selfie in even, soft light in front of a plain wall. Look straight into the lens with a neutral expression.
  2. Open the Passport Photo Maker.
  3. Choose the country and document. The tool offers formats for more than 160 countries.
  4. The browser detects your face, removes the background and crops to the correct proportions. Everything runs on your device and the photo is not uploaded.
  5. Review the compliance checks and the free watermarked preview.
  6. Download the clean digital file, plus 4×6 in and A4 print sheets, for free.
  7. Before uploading, check the file's dimensions and size on your computer or phone against the portal's rules. If the portal asks for a different size from the one in the tool, pick the closest option and adjust.

Upload troubleshooting

  • The portal says the file is too large. Re-export at a lower quality, and keep the pixel size.
  • It says the dimensions are wrong. Check whether it wants a square or a portrait ratio, and whether the range is minimum or exact.
  • It says the file type is not supported. Convert HEIC images from iPhones to JPEG before you upload.
  • The face check fails. Look for shadows, glare or an expression that is not neutral. Retake rather than editing.
  • The photo looks fine but is still refused. Try a different browser, a smaller file or a retake, and contact the authority's help desk if it persists.

FAQ

What file format should a digital passport photo be?

JPEG is the safest choice, since almost every portal accepts it. Convert PNG or HEIC files before you upload.

How do I reduce a passport photo to under 240 KB?

Resize it to 600×600 pixels first, then export as a JPEG at around 80 to 90 percent quality. Lower the quality in small steps if it is still too large.

Is a digital photo the same as a printed passport photo?

No. A printed photo uses millimeters and prints on paper, while a digital photo is defined by pixels and file size. The face rules are similar, but the size rules are different.

Can I upload a photo of my printed passport photo?

It is better not to. Photographing or scanning a print adds glare, shadows and quality loss, and many systems reject it. Use a digital original.

Does the online tool store my photo?

Our tool processes photos on your device and does not upload them. Always check the privacy information of the official portal you upload to.

More guides