Published May 27, 2026 | Version v1.3.0
Dataset Open

passport-photo-specs: Open Dataset of Passport, Visa, and ID Photo Specifications for 100+ Countries

Authors/Creators

  • 1. IDPhotoSnap

Description

Canonical, machine-readable dataset of passport, visa, and identity document photo specifications, validated against 15+ official government sources. Covers 100+ countries and 248 distinct document formats (passports, visas, identity cards, driver's licenses, residence permits, voter IDs, and more).

Each record includes physical dimensions (millimeters and pixels at 300 DPI), background color requirements, allowed expressions, head-coverage rules, and a direct citation URL to the issuing authority's published guidance. The dataset is the underlying reference used by the browser-only passport photo tool at idphotosnap.com.

Use cases: government compliance tooling, biometric photo validators, travel-document software, academic research on ICAO 9303 biometric standards, machine learning training data for face-detection systems requiring compliant photo inputs.

Format: JSON (primary), TypeScript type definitions, validation script. MIT licensed.

Files

whitetirocket/passport-photo-specs-v1.3.0.zip

Files (27.6 kB)

Name Size Download all
md5:e530a2c6bac4086158ae3909dcb5ddb5
27.6 kB Preview Download

Additional details

Related works

Is identical to
Software: https://www.npmjs.com/package/passport-photo-specs (URL)
Is referenced by
Other: https://idphotosnap.com (URL)
Is supplement to
Software: https://github.com/whitetirocket/passport-photo-specs (URL)