Visa Requirements Dataset
Short-stay tourist entry requirements for every pair of countries in the world, as a CSV you can read in one line of code.
passport,destination,requirement,max_stay_days,verified,source
PT,JP,visa_free,90,,
SO,KE,eta,,2026-07-28,https://www.etakenya.go.ke/how-to-apply
SB,KE,visa_free,90,2026-07-28,https://www.etakenya.go.ke/how-to-apply
DE,GB,eta,,,https://www.gov.uk/eta
38,612 pairs. 197 passports, 197 destinations. Base matrix taken 2026-02-17, corrections through 2026-08-10. Licensed CC BY 4.0. Rebuilt from the same source that powers visachecker.org, so the file and the website never disagree.
Why this exists
Visa data is abundant and mostly untrustworthy. The tables that circulate are copies of copies: a Wikipedia article scraped into a repository, that repository scraped into an API, the API sold as a product, and nobody in the chain holds a link back to a government page. Errors survive for years because there is no place where they can be reported and no record of who last looked.
This repository is the opposite arrangement, and deliberately a boring one.
Every value that departs from the base snapshot names the government page it
was read from and the date a human last read it. When we find we were wrong we
say so in data/changes.csv rather than quietly editing the number. That is
the entire pitch: not that this dataset is perfect, but that when it is wrong
you can see how and when it got that way.
Files
| File | What it is |
|---|---|
data/visa-requirements.csv | The table. One row per passport-destination pair. |
data/visa-requirements.json | The same table, nested {passport: {destination: {...}}} for programs that prefer lookups to scans. |
data/countries.csv | Code, English name, and whether the entity appears as a passport, a destination, or both. |
data/changes.csv | Every correction we have made, with the date, the source, the status, and a plain-language explanation of what changed and why. Rows marked pending are announced but not yet in force, and are not reflected in the requirements table. |
scripts/build_dataset.js | The program that generates all of the above, published so you can read how each column was derived. |
data/datapackage.json | Frictionless tabular data package descriptor: field types, enums, primary keys, licence. |
The six values
The single most common way a visa dataset misleads people is by flattening things that are not the same into a column called "visa free". A traveller who needs to fill in a form and pay a fee three days before flying is not in the same position as one who can walk onto the plane. These six values keep that distinction, and here is exactly what each one means.
visa_free — no authorisation of any kind is required before boarding or
on arrival. The traveller presents a passport and is admitted. If the
destination requires an arrival card, a health declaration, or a customs form
that carries no fee, no photograph and no advance approval, the pair is still
visa_free; those are formalities every traveller completes, not permissions
that can be refused in advance.
eta — an electronic travel authorisation. Applied for online, usually
approved in minutes to hours, usually cheap, and checked by the airline at
check-in. It is not a visa in the destination's own law and is often described
by the destination as "visa free travel with prior authorisation". We keep it
separate anyway, because operationally it fails you at the airport in exactly
the way a visa does. The United Kingdom's ETA, the United States' ESTA,
Canada's eTA, and the EU's forthcoming ETIAS are the examples most readers will
recognise.
evisa — a visa, applied for and issued online before departure, with a
real application, a fee, and a real possibility of refusal. Processing is
typically days rather than minutes. The traveller may need to upload a
photograph, a hotel booking or a bank statement.
visa_on_arrival — the visa is issued at the border. There is a desk, a
fee, and usually a queue. We use this value only where arrival issuance is
genuinely open to the passport in question, because the failure mode is severe:
a traveller who believes a visa is available on arrival and finds it is not is
refused boarding, and airlines check this before governments do. Where a
destination runs both an on-arrival tier and a pre-approval tier and does not
publish which passports fall in which, we record the pre-approval requirement,
not the on-arrival one. Being told to apply online when you did not have to
costs money. Being told you can pay at the border when you cannot costs the
flight.
visa_required — a visa must be obtained in advance, in person or by post,
through an embassy, a consulate or an outsourced application centre.
no_admission — the destination does not admit holders of this passport at
all, or admits them only under a regime that is not tourism.
Reading max_stay_days
max_stay_days is the number of days a single entry permits, where the
destination publishes a number.
An empty max_stay_days does not mean zero and does not mean unlimited. It
means the entitlement exists but no fixed length attaches to it in the
published rule — commonly because the length is set by the officer at the
border, or because the destination grants entry by reference to a schedule that
names countries without naming durations. We leave it empty rather than
inventing 30 or 90, which is what most datasets do and is the reason so many of
them agree with each other and with nothing else.
Two further cautions that apply to every row:
The number is per entry, not per year. Many destinations that grant 90 days also cap the total at 90 or 180 days in any rolling 180-day window, and the Schengen Area's 90-in-180 rule is the best known of these. A single number cannot express a rolling window, so this dataset does not try; use a Schengen calculator for Schengen.
Bilateral agreements can be longer than the general rule and are not always superseded by it. Vietnam's 45-day unilateral waiver, for example, sits alongside older bilateral and ASEAN arrangements that grant other durations to other nationalities, and adopting the unilateral number for everybody would be wrong in both directions.
Scope, and what is deliberately not here
This dataset covers ordinary passports held for tourism, on a single entry, by a traveller arriving directly and not transiting.
It therefore says nothing about diplomatic, service, official, emergency or alien's passports, which routinely follow a different and usually more generous regime. It says nothing about business, study, work, medical, transit, crew or family-reunification travel. It says nothing about residence permits, which frequently substitute for a visa. It says nothing about airside transit, where a nationality that needs no visa to enter may still need one to change planes.
It also cannot express the conditions that attach to almost every entitlement in it: passport validity beyond the intended stay, blank pages, onward or return tickets, proof of funds, accommodation, yellow fever certificates for arrivals from listed countries, and the border officer's discretion, which outranks every row in this file. No dataset makes anyone admissible. Treat a row here as a well-sourced expectation, not a guarantee, and check the destination's own page — which we link — before you buy a ticket.
How it is maintained
The table has two layers.
The base matrix gives coverage: every pair has a value, including the thousands of pairs nobody ever looks up. It was taken 2026-02-17 from Passport Index (imorte/passport-index-data), published under MIT.
We did not compile that matrix and we do not claim it. What it is not is verified. It is the floor this dataset improves on, one sourced correction at a time, and the argument of this repository is precisely that a matrix of that kind should not be republished as though somebody had checked it.
The correction layer is the part that is actually maintained. Every entry
in it names a primary source — a ministry page, a gazette, an official e-visa
portal — and carries two dates that answer different questions. date is when
the rule changed. verified is when a human last re-read the source and
found it still true. Ageing a dataset by the first date is a mistake we made
and fixed: it makes a rule that changed in 2024 look neglected five minutes
after somebody re-checked it, and it makes a rule that changed last week look
fresh forever. What a reader wants to know is how long it has been since
anybody looked, which is the second date.
A check runs on every build and fails the build if any pair we claim to have
verified no longer matches what the site serves. It currently covers
177 individually sourced facts, which is why 177 rows carry a
source and 38 carry a verified date. That is a small fraction
of 38,612, and saying so is the point: this is not a claim that the rest
of the matrix is current. It is a guarantee that the part we have actually
checked cannot silently drift, and an honest marker of where the checked part
ends.
Corrections are appended to data/changes.csv, never applied silently. If a row
you depend on changes, the changelog tells you when, from what, to what, and on
whose authority.
The changelog also carries announced-but-not-yet-in-force changes, marked
pending and often dated in the future. They are there because knowing a rule
is about to move is useful when you are planning travel. They are deliberately
not applied to the requirements table: a table that anticipates the law is
a table that is wrong until the law catches up, and governments postpone these
things routinely.
Using it
Python:
import pandas as pd
url = "https://raw.githubusercontent.com/maxix7/visa-requirements-dataset/main/data/visa-requirements.csv"
df = pd.read_csv(url, dtype={"max_stay_days": "Int64"})
# Where can an Indian passport go without applying for anything in advance?
df[(df.passport == "IN") & (df.requirement == "visa_free")]
# Which destinations require the most passports to apply in advance?
df[df.requirement.isin(["visa_required", "evisa"])].destination.value_counts().head(20)
DuckDB, without downloading anything:
SELECT requirement, count(*) FROM read_csv_auto(
'https://raw.githubusercontent.com/maxix7/visa-requirements-dataset/main/data/visa-requirements.csv'
) GROUP BY 1 ORDER BY 2 DESC;
JavaScript, from the nested form:
const data = await (await fetch(
"https://raw.githubusercontent.com/maxix7/visa-requirements-dataset/main/data/visa-requirements.json"
)).json();
data.rules.DE.JP; // { requirement: "visa_free", max_stay_days: 90 }
A passport strength index is the most requested derived number, so here is how to compute one yourself rather than trusting somebody else's weighting:
free = df[df.requirement.isin(["visa_free", "visa_on_arrival", "eta"])]
rank = free.groupby("passport").size().sort_values(ascending=False)
Whether an ETA counts as freedom of movement is a judgement call, not a fact, which is precisely why the dataset gives you the six values and not a score.
Versioning
Data files are regenerated whenever a correction lands. Each release is tagged
YYYY-MM-DD and data/datapackage.json carries the version and build date. If
you need reproducibility, pin a tag rather than tracking main:
https://raw.githubusercontent.com/maxix7/visa-requirements-dataset/2026-08-11/data/visa-requirements.csv
Found an error?
Open an issue with the pair and a link to the government page that contradicts
us. A link is enough; you do not need to explain the law. Errors with a primary
source attached are usually fixed the same week, and every fix appears in
data/changes.csv with your source cited.
We are more interested in errors in the dangerous direction — where we say no authorisation is needed and one is — than in the other. If you were refused boarding or turned around at a border and this table said you would be fine, that is the most useful bug report we can receive.
Licence and citation
Data under CC BY 4.0. Code in scripts/ under
MIT.
Visa Requirements Dataset, VisaChecker.org, CC BY 4.0,
https://github.com/maxix7/visa-requirements-dataset, version 2026-08-11.
Machine-readable citation metadata is in CITATION.cff.
The base matrix is Passport Index (imorte/passport-index-data), used under MIT and
credited in data/datapackage.json as well as here. If you want the unmodified
upstream, take it from upstream; what is ours is everything layered on top.
Individual facts are not ours to license and never were. What the licence covers is the compilation: the normalisation into one vocabulary, the sourcing, the verification dates and the change journal. Take three rows without asking. Take the table, and please say where it came from.