Skip to content

How to Upload a Digital Photo to a Visa Application

Most online visa and passport forms ask for a digital photo, and many reject the first file people try. The cause is rarely the picture itself. It is usually the file: the wrong pixel size, too many kilobytes, the wrong format or the wrong shape. This guide explains each requirement in plain words and how to fix it.

Pixel size, print size and DPI

A digital photo is measured in pixels, for example 600x600. A printed photo is measured in millimetres or inches, for example 35x45 mm. DPI (dots per inch) links the two: the same pixel count prints larger at a low DPI and smaller at a high one. At 300 DPI, which is the usual standard, 600 pixels equal 2 inches.

Online forms care about pixels, not DPI. Printed applications care about the physical size. If a form says 600x600 px, a photo that looks right on screen but measures 1000x1500 px can still be refused.

File size limits and why forms reject files

Forms set a minimum and a maximum file size, shown in KB or MB. A file above the maximum is refused outright. A file below the minimum is also refused, because it is probably over-compressed or too small. Many portals give no clear error, so a photo that simply "fails to upload" is often a size problem.

As a clearly labelled example, a US visa photo upload asks for 600x600 px and a file under 240 KB. Other countries use different numbers, so always take the figures from the official page for your document.

JPG format and aspect ratio

JPG, also written JPEG, is the format most forms accept. It compresses photographs well. PNG files are larger, and formats such as HEIC from some phones are often not accepted at all, so convert them to JPG first.

Aspect ratio is the proportion between width and height. A square photo has a ratio of 1:1, while a portrait photo is taller than it is wide. If your picture has a different shape, you need to crop it, not stretch it.

How to resize without distortion

  • Crop first, then resize. Cropping changes the shape, resizing changes the size.
  • Keep the width and height locked together so that the proportions do not change.
  • Never enter a width and a height separately to force a shape, because that stretches the face.
  • Place the head inside the frame as the document page requires before you export.

How to reduce file size without changing the dimensions

File size depends mostly on JPEG quality. Lowering the quality setting reduces the file while the pixel dimensions stay the same. Go down in small steps and check the result: a little compression is invisible, but heavy compression causes blocky patches and blurred edges that can fail a quality check. A plain, evenly lit background also compresses to a smaller file than a busy one.

Common upload errors and fixes

  • File too large: lower the JPEG quality a little and export again.
  • File too small: export at a higher quality, or start from a larger original.
  • Wrong dimensions: crop to the correct ratio, then resize to the required pixels.
  • Wrong format: convert HEIC, PNG or WEBP files to JPG.
  • Photo looks stretched: you changed width and height separately. Start again from the original.
  • Upload keeps failing: try another browser, and check that the file name has no unusual characters.

Use the tools that do this for you

IDPhotoly has a free photo resizer for exactly these problems: set the pixel size and the maximum file size and it exports a JPG that fits. The compliant photo maker goes further. It crops the photo to the official size, replaces the background and checks the result against the rules for your document. The photo is processed in your browser and is not uploaded.

Prices start at $6.99 as a one-time payment, handled by Lemon Squeezy as merchant of record. If an official authority rejects the photo, you can request a full refund by email within 30 days at [email protected]. IDPhotoly is not affiliated with any government.

Last updated October 5, 2026.

Make your photo now

Upload a photo and get the exact official size, background and head position in about a minute.

Make my photo

More guides