Tips & Guides

Digital Passport Photo Upload Guide: File Size, Pixels, and Portal Checks

How to prepare a digital passport photo for online upload: JPEG vs HEIF, pixel dimensions, file size limits, compression, crop rules, and what government portals check.

By PhotoPass Team··9 min read

Digital passport photo upload errors usually come from boring file details: the wrong pixel dimensions, the wrong format, a file that was compressed by a messaging app, or a crop that makes the head too large or too small. This guide explains the upload checks to run before you open the government portal.

What government portals check first

Most digital passport portals run file-level checks before a human ever sees the image. These checks are mechanical: format, dimensions, file size, and sometimes aspect ratio. If the file fails here, the portal rejects it immediately even if your face, lighting, and background look fine.

Check What it means Common failure
File format The extension and image encoding, usually JPEG Uploading PNG, WebP, HEIC, or a renamed file that is not actually JPEG
Pixel dimensions The exact width and height of the image in pixels Using a square 2×2 image for India Passport Seva's 630×810 upload
File size The image's KB or MB size on disk Sending through WhatsApp or email and accidentally compressing below quality limits
Aspect ratio Square, 7:9 rectangle, or another country-specific shape Stretching an image instead of cropping it correctly
Face detection Whether the system can locate a clear human face Blurry photos, sunglasses, heavy shadows, tilted head, or face too small

Digital size examples

Use these as starting points, then verify against the official page for the exact application channel you are using:

  • US online renewal: square digital photo in the State Department's accepted pixel and file-size range. The composition is the same 2×2 inch passport photo spec: plain white/off-white background, head 1-1⅜ inches when printed, no glasses, and no digital changes.
  • India Passport Seva: 630×810 px JPEG for the digital upload, with white background and high face coverage. This is not the same as the 2×2 inch print size used for Indian visa, OCI, or many BLS/VFS packet workflows.
  • UK digital passport photo: GOV.UK requires a clear, unaltered colour image at least 600 pixels wide and 750 pixels tall, within the accepted file-size range. The application flow handles cropping.
  • India e-Visa and OCI: square JPEG upload with portal-specific file-size limits. The image should be square, clear, and compliant before upload.

Avoid compression traps

Many rejected digital photos started as good photos and became bad files during transfer. Messaging apps, social apps, and some email clients strip metadata and compress aggressively. That can create JPEG artifacts, reduce the file below a minimum size, or change dimensions.

Best practice: send the original from your camera roll using AirDrop, iCloud/Google Photos original download, USB cable, or an email attachment set to original size. Do not use a screenshot of the photo. Screenshots often have the wrong format and lower resolution.

Crop versus resize

Cropping changes what part of the image is visible. Resizing changes how many pixels the same crop uses. You usually need both, but in the right order:

  1. Start with the original high-resolution photo.
  2. Crop to the correct shape: square for US, 7:9 for Passport Seva, or the country-specific rectangle.
  3. Position the face so head size, eye line, and shoulder crop match the official requirement.
  4. Resize/export to the required pixel dimensions and file-size range.
  5. Run a final check before upload.

Never stretch the image to force dimensions. Stretching changes facial proportions and can trigger biometric or distortion checks.

Use the free checker first

The free passport photo checker reads your image in the browser and checks file dimensions, format, file size, and aspect ratio against supported document specs. It does not upload your image. Use it before spending another portal attempt, especially for Passport Seva and US online renewal.

If you need a finished file instead of a diagnosis, choose the exact document in PhotoPass Passport Photo Maker. The tool prepares the crop and output for that document type, then gives you a digital file plus a 4×6 print sheet where applicable.

Frequently Asked Questions

What file type should a digital passport photo be?

JPEG is the safest default for most passport and visa portals. Some US online renewal flows accept HEIF, but JPEG remains the most portable choice. Do not upload PNG, WebP, or a renamed file unless the official portal explicitly permits it.

Why does my photo upload fail even though it looks correct?

The file may be the wrong dimensions, format, size, or aspect ratio. Government portals often reject those issues before checking visual quality. Run the file through a checker before retaking.

Can I make a file smaller by sending it through WhatsApp?

No. That usually compresses too aggressively and can damage image quality. Use a proper compressor that keeps the required dimensions and exports a clean JPEG within the portal's size limit.

Can I remove the background for a digital passport photo?

Rules differ by country and application channel. For US passport photos, the State Department requires an original unedited photo and tells applicants to submit the original without filters or digital changes. For any country, if the official guidance bans editing, retake the photo against a compliant background rather than altering it.

What should I do after a portal rejection?

Write down the exact error message before closing the page. Then check the file-level details first: dimensions, format, file size, and aspect ratio. If those pass, retake for visual issues such as shadows, blur, glasses, tilt, or expression.

Last updated: July 2026. Always confirm the latest file rules on the official government portal before submitting.

Create your passport photo now

Under 3 minutes. No account needed. Compliance checked automatically.

Get Started — $2.99

Related articles