Skip to content

Instantly share code, notes, and snippets.

@anemitz
Created June 1, 2015 17:11
Show Gist options
  • Save anemitz/29f8401a42de3b50c58e to your computer and use it in GitHub Desktop.
Save anemitz/29f8401a42de3b50c58e to your computer and use it in GitHub Desktop.
A2 Country ISO Mappings
United States, United States of America, 'Merica, USA, U.S. => US
United Kingdom, UK, England => GB
Canada => CA
Germany, Deutschland => DE
France => FR
Afghanistan => AF
Åland Islands => AX
Albania => AL
Algeria => DZ
American Samoa => AS
Andorra => AD
Angola => AO
Anguilla => AI
Antarctica => AQ
Antigua and Barbuda => AG
Argentina => AR
Armenia => AM
Aruba => AW
Australia => AU
Austria, Österreich => AT
Azerbaijan => AZ
Bahamas => BS
Bahrain, The Kingdom of Bahrain => BH
Bangladesh => BD
Barbados => BB
Belarus => BY
Belgium => BE
Belize => BZ
Benin, Bénin, Republic of Benin, République du Bénin => BJ
Bermuda => BM
Bhutan => BT
Bolivia => BO
Bosnia and Herzegovina => BA
Botswana => BW
Bouvet Island => BV
Brazil, Brasil => BR
British Indian Ocean Territory => IO
Brunei Darussalam => BN
Bulgaria => BG
Burkina Faso => BF
Burundi => BI
Cambodia => KH
Cameroon => CM
Canada => CA
Cape Verde => CV
Cayman Islands => KY
Central African Republic => CF
Chad => TD
Chile => CL
China, 中国, 中國 => CN
Christmas Island => CX
Cocos (Keeling) Islands => CC
Colombia => CO
Comoros, Comores, Union des Comores => KM
Congo => CG
Congo DR, "Congo, The Democratic Republic of The", The Democratic Republic of Congo, Democratic Republic of the Congo => CD
Cook Islands => CK
Costa Rica => CR
Cote D'ivoire, Ivory Coast, Côte d'Ivoire, Republic of Côte d'Ivoire, République de Côte d'Ivoire => CI
Croatia => HR
Cuba => CU
Cyprus => CY
Czech Republic, Česká republika => CZ
Denmark => DK
Djibouti => DJ
Dominica => DM
Dominican Republic => DO
Ecuador => EC
Egypt => EG
El Salvador => SV
Equatorial Guinea => GQ
Eritrea => ER
Estonia, Eesti => EE
Ethiopia => ET
Falkland Islands, Falkland Islands (Malvinas) => FK
Faroe Islands => FO
Fiji => FJ
Finland, Suomi => FI
France => FR
French Guiana => GF
French Polynesia => PF
French Southern Territories => TF
Gabon => GA
Gambia => GM
Georgia => GE
Germany => DE
Ghana => GH
Gibraltar => GI
Greece => GR
Greenland => GL
Grenada => GD
Guadeloupe => GP
Guam => GU
Guatemala => GT
Guernsey => GG
Guinea, Guinea-Conakry, Republic of Guinea, République de Guinée, Guinée française, Guinée => GN
Guinea-bissau, Republic of Guinea-Bissau, República da Guiné-Bissau => GW
Guyana => GY
Haiti => HT
Heard Island and Mcdonald Islands => HM
Holy See (Vatican City State) => VA
Honduras => HN
Hong Kong, Hong Kong SAR, 香港 => HK
Hungary, Magyarország => HU
Iceland => IS
India => IN
Indonesia => ID
Iran, "Iran, Islamic Republic of", Islamic Republic of Iran => IR
Iraq => IQ
Ireland => IE
Isle of Man => IM
Israel => IL
Italy => IT
Jamaica => JM
Japan, Nippon, Nihon, 日本, 日本国 => JP
Jersey => JE
Jordan => JO
Kazakhstan => KZ
Kenya => KE
Kiribati => KI
North Korea, "Korea, Democratic People's Republic of", Democratic People's Republic of Korea => KP
South Korea, Korea, "Korea, Republic of", Republic of Korea => KR
Kuwait => KW
Kyrgyzstan => KG
Laos, Lao People's Democratic Republic => LA
Latvia, Latvija => LV
Lebanon => LB
Lesotho => LS
Liberia => LR
Libya, State of Libya, Libyan Arab Jamahiriya => LY
Liechtenstein => LI
Lithuania => LT
Luxembourg => LU
Macao => MO
Macedonia, "Macedonia, Former Yugoslav Republic of", "Macedonia, The Former Yugoslav Republic of", The Former Yugoslav Republic of Macedonia => MK
Madagascar => MG
Malawi => MW
Malaysia => MY
Maldives => MV
Mali => ML
Malta => MT
Marshall Islands => MH
Martinique => MQ
Mauritania => MR
Mauritius => MU
Mayotte => YT
Mexico => MX
Micronesia, "Micronesia, Federated States of", Federated States of Micronesia => FM
Moldova, "Moldova, Republic of", Republic of Moldova => MD
Monaco => MC
Mongolia => MN
Montenegro => ME
Montserrat => MS
Morocco => MA
Mozambique => MZ
Myanmar => MM
Namibia => NA
Nauru => NR
Nepal => NP
Netherlands, Nederland, The Netherlands => NL
Netherlands Antilles => AN
New Caledonia => NC
New Zealand => NZ
Nicaragua => NI
Niger => NE
Nigeria => NG
Niue => NU
Norfolk Island => NF
Northern Mariana Islands => MP
Norway, Norge => NO
Oman => OM
Pakistan => PK
Palau => PW
Palestine, "Palestinian Territory, Occupied" => PS
Panama => PA
Papua New Guinea => PG
Paraguay => PY
Peru => PE
Philippines => PH
Pitcairn => PN
Poland, Polska => PL
Portugal => PT
Puerto Rico => PR
Qatar => QA
Reunion => RE
Romania => RO
Russia, Russian Federation => RU
Rwanda => RW
Saint Helena => SH
Saint Kitts and Nevis => KN
Saint Lucia => LC
Saint Pierre and Miquelon => PM
Saint Vincent and The Grenadines => VC
Samoa => WS
San Marino => SM
Sao Tome and Principe, São Tomé and Príncipe, Democratic Republic of São Tomé and Príncipe => ST
Saudi Arabia => SA
Senegal, Sénégal, le Sénégal, Republic of Senegal, République du Sénégal => SN
Serbia => RS
Seychelles => SC
Sierra Leone => SL
Singapore, Singapura => SG
Slovakia => SK
Slovenia => SI
Solomon Islands => SB
Somalia => SO
South Africa => ZA
South Georgia and The South Sandwich Islands => GS
Spain, España, Reino de España => ES
Sri Lanka => LK
Sudan => SD
South Sudan, Republic of South Sudan => SS
Suriname => SR
Svalbard and Jan Mayen => SJ
Swaziland => SZ
Sweden, Sverige => SE
Switzerland, Schweiz, Suisse, Svizzera => CH
Syria, Syrian Arab Republic => SY
Taiwan, "Taiwan, Province of China", 臺灣, 台灣 => TW
Tajikistan => TJ
Tanzania, United Republic of => TZ
Thailand, ประเทศไทย, ราชอาณาจักรไทย => TH
Timor-leste => TL
Togo => TG
Tokelau => TK
Tonga => TO
Trinidad and Tobago => TT
Tunisia => TN
Turkey => TR
Turkmenistan => TM
Turks and Caicos Islands => TC
Tuvalu => TV
Uganda => UG
Ukraine => UA
United Arab Emirates => AE
United Kingdom => GB
United States => US
United States Minor Outlying Islands => UM
Uruguay => UY
Uzbekistan => UZ
Vanuatu => VU
Venezuela => VE
Viet Nam => VN
"Virgin Islands, British" => VG
Virgin Islands, "Virgin Islands, U.S." => VI
Wallis and Futuna => WF
Western Sahara => EH
Yemen => YE
Zambia => ZM
Zimbabwe => ZW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment