Digital upload troubleshooting

Passport Photo JPEG File Size and Compression Guide

By Passport Photo Template Editorial Team | Published and reviewed June 29, 2026 | 9 minute read

Quick answer

An upload can fail even when the picture looks correct. Check the required format, aspect ratio, pixel range and file-size range separately. For example, the U.S. visa digital specification uses a square JPEG from 600x600 to 1200x1200 pixels, no more than 240 KB and compression no greater than 20:1. Other passport systems use very different limits.

File size, dimensions and print size are different

File size is the amount of storage used, measured in KB or MB. Pixel dimensions describe the number of image samples across and down. Print size describes physical inches or millimetres. Compressing a JPEG may reduce KB without changing its pixel dimensions, while resizing reduces pixels and often reduces KB as a side effect.

A 600x600 JPEG is not automatically valid for every application. It may be correct for one U.S. visa upload and wrong for a UK or New Zealand passport route.

Official systems illustrate the differences

Application exampleFormat and dimensionsFile size
U.S. visa digital imageSquare JPEG, 600x600 to 1200x1200, sRGBUp to 240 KB; compression at most 20:1
UK online passport photoAt least 600 pixels wide and 750 pixels high50 KB to 10 MB
New Zealand online passportJPG/JPEG, 900-4500 wide and 1200-6000 high, 3:4 portrait250 KB to 5 MB
U.S. online passport renewalAccepts listed formats including JPG, JPEG, PNG, HEIC or HEIF54 KB to 10 MB

These limits belong to different processes and must not be mixed. The upload screen for your application is the final technical reference.

Why renaming a file does not convert it

Changing .png to .jpg in the filename does not change the image encoding. Use an image export or Save As function that genuinely writes a JPEG. Keep the original before conversion.

Likewise, a screenshot may be saved as PNG, may include interface pixels and may have the wrong color profile. Export the actual photograph instead of photographing or screenshotting it.

How JPEG compression works

JPEG reduces storage by approximating image information. Light compression is difficult to see. Heavy compression creates square blocks, ringing around hair and soft detail near the eyes. Repeatedly opening and saving a JPEG can compound the damage.

Start from the original file, make the final crop once and export once at the highest quality that still meets the portal limit. Do not send the image through messaging apps, which may resize and recompress it automatically.

A step-by-step upload repair process

  1. Copy the exact error message from the application portal.
  2. Confirm the accepted extensions and actual file encoding.
  3. Check width, height and aspect ratio.
  4. Check the file size in KB or MB.
  5. Export from the untouched original rather than recompressing a previous copy.
  6. Reduce JPEG quality gradually if only the KB limit is failing.
  7. Inspect the saved result at 100% for blocks, halos and lost eye detail.
  8. Submit through the official application or checker.

When a file is too small

A minimum file size can reject an over-compressed image. Do not add noise, fake detail or padding simply to increase KB. Return to the original, use the required dimensions and save at a higher JPEG quality. New Zealand's minimum is 250 KB, which is higher than the entire maximum allowed for the U.S. visa example; this is why generic compressor advice can fail.

Color space and phone formats

Many phones capture HEIC or HEIF. Some portals accept those formats and others require JPEG. The U.S. visa digital specification asks for 24-bit color in the sRGB color space. Converting a wide-gamut image to sRGB can prevent unexpected color shifts, but the conversion must not be used to alter natural skin tone.

For U.S. online passport renewal, use the current upload page because its accepted formats and size range differ from the separate visa specification.

Compression does not fix visual compliance

A portal may accept the bytes and later reject the photograph after human or biometric review. File checks do not prove that the expression, lighting, head position, background or likeness is acceptable. Similarly, a crop tool cannot guarantee approval.

Use our pixels and DPI guide to separate print math from upload dimensions. If you are deciding between paper and online submission, read digital versus printed passport photos.

Final digital-file checklist

Sources reviewed: U.S. visa digital image requirements, U.S. online renewal photo upload, GOV.UK digital photo rules, and New Zealand Passports. Review date: June 29, 2026.