ISO country codes
The ISO 3166-1 code for every country in all three forms: two-letter alpha-2, three-letter alpha-3 and numeric. The list holds all 249 official codes plus XK for Kosovo, 250 in all. That code is user-assigned, not an official ISO 3166 code.
Frequently asked questions
What is an ISO country code?
ISO 3166-1 defines standard codes for countries in three forms: a two-letter code (alpha-2, such as SK), a three-letter code (alpha-3, such as SVK) and a three-digit numeric code (such as 703). They are used everywhere from web domains to shipping and banking.
What is the difference between alpha-2 and alpha-3 codes?
The alpha-2 code is two letters (used for ccTLDs and most software), while the alpha-3 code is three letters and is more mnemonic. Both identify the same country, so SK and SVK both mean Slovakia.
What is the numeric country code used for?
The three-digit numeric code identifies a country without depending on the Latin alphabet, which makes it useful in statistics and in systems that cannot rely on letters. The numbers are the same as the United Nations M49 codes, so 840 is the United States in both.
Why is the United Kingdom GB and not UK?
The ISO 3166-1 code for the United Kingdom is GB (alpha-3 GBR), taken from Great Britain. UK is not its ISO code, although .uk is the country's internet domain, one of the few cases where the domain and the alpha-2 code differ.
What is the country code XK?
XK is the code widely used for Kosovo. It is not an official ISO 3166-1 code: it sits in the range ISO reserves for user-assigned codes, and organisations such as the European Commission use it until an official code exists.
Each code links to the full country profile. See also calling codes and country domains.
ISO 3166-1 codes from open datasets. Full sources on the data page.