ISO 3166-1 Alpha-3 Country Code Validator
Check whether text is a valid ISO 3166-1 alpha-3 country code as you type it, right in your browser, without sending it anywhere.
Input
Output
No value
Guide
What is an ISO 3166-1 alpha-3 country code?
ISO 3166-1 alpha-3 codes are the three-letter codes for countries and territories: DEU for Germany, FRA for France, JPN for Japan, USA for the United States. They're easier to recognize than the two-letter codes, so international statistics, data sets, maps and charts often use them, and so do the machine-readable lines of passports, with a few exceptions. The ISO 3166 Maintenance Agency keeps them in one list with the two-letter and numeric codes.
Data analysts and developers check alpha-3 codes when they join data from different sources, import a file or build a country field, because sports codes look much the same and slip into data sets: the Olympics write Germany as GER.
Tool description
Type or paste a code into the ISO 3166-1 alpha-3 country code field, and the result shows as you type: "ISO 3166-1 alpha-3 country code is valid" or "ISO 3166-1 alpha-3 country code is not valid". Spaces and line breaks around the code are ignored, and small letters count as capitals, so deu passes too. The page has no settings.
What passes and what fails
- Three letters from the list, in any case:
DEU,deuandDeuall pass - Sports codes fail where they differ from ISO:
GER,NEDandSUIinstead ofDEU,NLDandCHE - Retired codes fail, such as
ANTfor the Netherlands Antilles andROM, Romania's code until 2002 (nowROU) XKX, which some organizations use for Kosovo, fails, as it isn't in the list of assigned codes- Two letters such as
DEfail: check those with the ISO 3166-1 Alpha-2 Country Code Validator
Good to know
- A code that passes is in the copy of the ISO list that comes with validator.js. The page can't tell whether it's the country you meant:
AUT(Austria) typed forAUS(Australia) passes too. - Every country also has a three-digit code, such as
276for Germany: check those with the ISO 3166-1 Numeric Country Code Validator.
Features
- Checks three-letter ISO 3166-1 codes against the list
- Capital or small letters
- Rejects sports codes and retired codes
- Results as you type, with no button to press
- Runs in your browser, so nothing you type is sent anywhere