Skip to content
Photo standards

Digital Document Photo Online: Pixels, File Size, Format and DPI (2026)

Published · Updated · 5 хв read

Пластилінова ілюстрація у стилі клеймейшн до гайда «Цифрове фото на документи онлайн: пікселі, розмір файлу, формат і DPI (2026)».

In short. For online applications what matters is pixels, file size and format - not "DPI". The basic safe option: a square JPEG photo 600×600 px, ≤240 KB, 24-bit sRGB colour, a white or near-white background, no glasses (the US DS-160 / DV standard). Other portals have their own limits - check each one before uploading.

What the online validator actually checks

Automated systems look at three things: pixels (width×height), file size (KB/MB) and format (almost always JPEG). DPI/PPI is metadata for printing; for a web upload it is ignored. A 600×600 px photo is identical at 72, 300 or 600 DPI.

Exact requirements by portal (checked 2026)

PortalPixelsFile sizeFormatColour / backgroundGlasses
USA DS-160 / DV lottery600×600 - 1200×1200, square≤240 KBJPEG24-bit sRGB, compression ≤20:1; white or near-white backgroundprohibited (except medical)
India e-Visasquare (W = H)10 KB - 1 MBJPEGcolour, light/white backgroundno glasses
China COVA~354×472 - 420×56040 - 120 KBJPEGcolour, white backgroundno glasses
UAE (online)often 300×369 (ICP may allow more)~50 KB - 1 MB (depends on the portal)JPG/JPEG/PNGcolour, white backgroundno glasses
Schengen (scan/online)to ICAO 9303 (often ~413×531 or ~600×750)up to 5 MB at VFSJPEGcolour, even light background (often light grey)no glasses
For the USA and the DV lottery the official scan of a paper photo must be at a resolution of 300 pixels per inch (12 pixels per millimetre) from a 2×2 inch (51×51 mm) original - this is the only case where DPI is actually specified.

Glasses and background: what is officially required

  • USA: since 1 November 2016 glasses in new photos are not allowed, except for rare medical cases (a doctor's note is required). The background is white or near-white. The Indian e-Visa portal likewise requires a photo without glasses.
  • Schengen: the background must be an even light one. In practice most countries prefer light grey; white is accepted in most, but not all states - so light grey is considered the safest. This is not an "error" but the norm under ICAO/the EU Visa Code.

How to resize and compress without "failing" the validator

  1. Pixels first. Crop to the required aspect ratio. For the USA/DV - strictly a square (height = width). For the UAE and Schengen - a vertical rectangle 35×45 mm.
  2. Do not enlarge a small photo. A stretched shot looks blurry and is rejected. Take an original with enough pixels.
  3. Then the file size. If the file is too large, lower the JPEG quality gradually (90 → 80 → 70%) rather than reducing the pixels. US compression must be ≤20:1.
  4. Do not go below the minimum KB. India requires at least 10 KB - excessive compression is rejected as a "file too small".
  5. Colour and profile. Save in sRGB, 24-bit (an ordinary colour JPEG). Avoid black-and-white and CMYK/Adobe RGB profiles.
  6. No borders or transparency. A PNG with a transparent background and any borders are rejected; most portals require JPEG anyway.

Common reasons for refusal

  • Wrong aspect ratio (you sent a rectangle where a square is needed).
  • The file is larger than the limit or, conversely, smaller than the minimum.
  • Saved as HEIC (iPhone) or PNG when JPEG is required.
  • Glasses on the face (prohibited for the USA and a number of other portals) or glare/shadows.
  • An unsuitable background: for the USA/China/UAE - not white; for Schengen - not an even light one (white may not be suitable in some countries).
  • An over-saved "soapy" JPEG after several rounds of compression.

Check the parameters against the official portal before every upload - the limits differ even within one country (in the UAE the ICP and GDRFA differ).

Related guides

Official sources

Questions

What DPI do I need for an online application photo?
For an online upload DPI does not matter - the validator reads only the pixels and the file size. The exception is the official scan of a paper photo for the USA/DV lottery: there you need 300 pixels per inch (12 pixels per millimetre) from a 2×2 inch original.
Can I wear glasses in the photo?
For the USA glasses in new visa photos have been prohibited since 1 November 2016, except for rare medical cases (a doctor's note is required, with no glare and no frame covering the eyes). The Indian e-Visa also requires a photo without glasses. The safest option is to remove glasses for any portal.
Can I upload HEIC or PNG from an iPhone?
Almost all visa portals require JPEG. HEIC (the iPhone format) and PNG are usually rejected, and a transparent background in a PNG especially so. Convert to JPEG, keeping the sRGB profile, before uploading.
What does a "square" photo mean for the DS-160 and the DV lottery?
The width must be exactly equal to the height: from 600×600 to 1200×1200 pixels (the official US Department of State limits for the DS-160 and DV). A rectangular 35×45 mm photo will not work for the USA - it will be rejected by the automated check.
Try the tool · €4.99 Free preview