$schema string | meta dict | countries list |
|---|---|---|
https://json-schema.org/draft/2020-12/schema | {
"name": "passport-photo-specs",
"version": "1.1.0",
"description": "Canonical passport, visa, and ID document photo specifications validated against official government sources",
"countries": 100,
"documents": 248,
"license": "MIT",
"repository": "https://github.com/BlondDev-Art/passport-photo-specs",
... | [
{
"id": "us",
"name": "United States",
"flag": "🇺🇸",
"documents": [
{
"id": "us-passport",
"name": "Passport",
"slug": "us-passport-photo",
"widthMm": 51,
"heightMm": 51,
"widthPx": 600,
"heightPx": 600,
"dpi": 300,
"bac... |
Passport & Visa Photo Specifications (100 Countries, 248 Document Formats)
Machine-readable photo requirements for passports, visas, ID cards, residence permits, and driving licences across 100 countries: physical dimensions (mm), pixel dimensions, DPI, background colour, government portal file-size caps, and a citation to the issuing-authority source for every spec.
Files
passport_photo_specs.csv- flat table, one row per country+document (248 rows)passport_photo_specs_full.json- full nested dataset with metadata and source citations
Columns (CSV)
| column | description |
|---|---|
| country / country_id | Country name and id |
| document / document_id | Document type (passport, visa, eVisa, residence permit, etc.) |
| width_mm / height_mm | Physical print dimensions |
| width_px / height_px | Digital upload dimensions where a portal specifies them |
| dpi | Required print resolution |
| background | Required background colour (verbatim from the issuing authority) |
| max_file_kb | Portal upload cap where applicable (Saudi Enjaz 200 KB, Japan MOFA eVisa 240 KB, US DS-160 240 KB) |
| source_url | Government source the spec was validated against |
Provenance
- Canonical repository: https://github.com/BlondDev-Art/passport-photo-specs (MIT)
- Archived with DOI: 10.5281/zenodo.20409880
- Free JSON API: https://idphotosnap.com/api/specs
- Validated against 15+ official government sources (US State Dept, UK HMPO, German Bundesdruckerei, Indian PSK, Chinese MFA COVA, Saudi MOFA/Enjaz, Japan MOFA, and others).
- Maintained by Elena, founder of IDPhotoSnap (https://idphotosnap.com), a free browser-based passport photo tool built on this dataset.
Example uses
- Travel apps validating user photo uploads before portal submission
- Research on biometric document standardisation (ICAO 9303 adherence by country)
- Comparison of government portal upload constraints across countries
License
CC-BY-4.0. Attribution appreciated: link to the GitHub repository or the Zenodo DOI.
- Downloads last month
- 20