standard iso 3166 1 alpha 2 code

No Code, Mount Athos, Overseas Countries and Territories (OCT) SI, Slovenia Vous recevrez également des notifications en cas de changement pour vous avertir de télécharger les dernières versions. $countries['IE'] = ['name' => 'Ireland, Republic of (EIRE)',]; ISO 3166-1 est une norme internationale de codification des pays. See: While, UN assign numeric country code itself. They were first included as part of the ISO 3166 standard in its first edition in 1974. It allows you to download the most recent, official lists of country codes and/or subdivisions not to mention formerly used codes in one convenient location. ]. Here's a list that can be used with AMP: $countries['DK'] = ['name' => 'Denmark',]; FK, Falkland Islands (Malvinas) ISO 3166-1 alpha-3 codes are three-letter country codes in the ISO 3166-1 standard to represent countries and dependent territories.They are published by the International Organization for Standardization (ISO) as part of its ISO 3166 standard. Similarly the EU VAT uses UK instead of the ISO 3166-1 alpha-2GB for Great Britain. BM, Bermuda ISINs consist of two alphabetic characters, which are the ISO 3166-1 alpha-2 code for the issuing country, nine alpha-numeric characters (the National Securities Identifying Number, or NSIN, which identifies the security, padded as necessary with leading zeros), and one numerical check digit. ISO 3166-1 alpha-2 were first included as part of the standard in its first edition of ISO 3166. JE, Jersey No Code, UN Buffer Zone in Cyprus Not sure if the OP is being updated, but if so it should have 'HR' (Croatia) before Cyprus, List for Python $countries['RO'] = ['name' => 'Romania',]; $countries['HR'] = ['name' => 'Croatia',]; FI, Finland They are used in ISO/IEC 7501-1 for machine-readable passports No Code, Campione d'Italia and Livigno const europeArray = ['AL','AD','AT','AZ','BY','BE','BA','BG','HR','CY','CZ','DK','EE','FI','FR','GE','DE','GR','HU','IS','IE', 'IT','KZ','XK','LV','LI','LT','LU','MK','MT','MD','MC','ME','NL','NO','PL','PT','RO','RU','SM','RS','SK', 'SI','ES','SE','CH','TR','UA','GB','VA' ]; This is great! Somebody kill this thing, please! As per United Nations (UN) notification, maintenance agencies of ISO 3166 will assign alpha 2 or alpha 3 code elements to the new members of UN. Alpha-4 code – a four-letter code that represents a country name that is no longer in use. In some cases they are not perfectly implemented. $countries['ES'] = ['name' => 'Spain',]; ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. CW, Curacao ISO 3166-1 alpha-3, uses three letters, and makes it easier to work out the country name and code. For VAT administration purposes, the European Commission uses EL and GB for Greece and the United Kingdom respectively. ISO 3166-1:2020, as the first part of this series of standards, sets specifications for the country codes themselves.Specifically, it establishes for each country an alphabetic 2-character (alpha-2) code, an alphabetic 3-character (alpha-3) code, and a three-digit numeric (numeric-3) code. Here's a list in javascript array : en The Member States shall use Member State codes in accordance with the ISO 3166-1 alpha-2 standard. https://www.gov.uk/guidance/vat-eu-country-codes-vat-numbers-and-vat-in-other-languages, http://ec.europa.eu/eurostat/statistics-explained/index.php/Glossary:Country_codes, https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union, https://gist.github.com/sumanthkumarc/3204c761eaa1646f3a4fd6cb1cf99e7c, https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Outermost_regions, https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Special_cases_in_Europe, https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Overseas_countries_and_territories, https://en.wikipedia.org/wiki/Microstates_and_the_European_Union, https://planit.legal/blog/en/the-applicability-of-the-gdpr-within-the-eea/, https://github.com/jugmac00/pyeucountrycodes/blob/master/eu_country_codes.py, https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Current_codes, https://en.wikipedia.org/wiki/List_of_legal_entity_types_by_country#European_Economic_Area_(including_the_European_Union). https://gist.github.com/sumanthkumarc/3204c761eaa1646f3a4fd6cb1cf99e7c. CZ, Czech Republic $countries['PT'] = ['name' => 'Portugal',]; { "Austria": "AT", "Belgium": "BE", "Bulgaria": "BG", "Croatia": "HR", "Cyprus": "CY", "Czech Republic": "CZ", "Denmark": "DK", "Estonia": "EE", "Finland":"FI", "France": "FR", "Germany": "DE", "Greece": "GR", "Hungary": "HU", "Ireland": "IE", "Italy": "IT", "Latvia": "LV", "Lithuania": "LT", "Luxembourg": "LU", "Malta": "MT", "Netherlands": "NL", "Poland": "PL", "Portugal": "PT", "Romania": "RO", "San Marino": "SM", "Slovakia": "SK", "Slovenia": "SI", "Spain": "ES", "Sweden": "SE", "United Kingdom": "GB", "Vatican City": "VA" }. the ISO 3166-1 alpha-3 three-letter country codes; 1 for other languages the country names are in that particular language. HR, Croatia TC, Turks and Caicos Islands, Microstates The official name of the standard is Codes for the representation of names of countries and their subdivisions. $countries['SK'] = ['name' => 'Slovakia',]; Thanks. They are the most widely used of the country codes published by ISO (the others being alpha-3 and numeric), and are used most prominently for the Internet's country code top-level domains (with a few exceptions). La collection contient les codes des Parties 1, 2 et 3 d’ISO 3166 disponibles en trois formats (.xml, .csv et .xls) pour une intégration aisée dans vos propres systèmes. Their code is: HR, Thakyou this was helpful but you missed "Croatia" - the code is HR. Also Greece is wrongly listed as "EL" and should be "GR". EU (European Union) country codes, ISO 3166-1 alpha-2. LU, Luxembourg ME, Montenegro They allow a better visual association between the codes and the country names than the two-letter alpha-2 codes (the third set of codes is numeric and hence offers no visual association). IO, British Indian Ocean Territory PHP: At least for the GDPR you should also consider "VA", "SM", "MT", "MK", "MC", "FO". I cambi all'ISO 3166-1 alpha-2 sono tracciati dall'ISO 3166-3. ); COUNTRY_CODES_EU = %w[ MC, Monaco The ISO 3166-1 alphabetic codes (alpha-2 and alpha-3) use letters from the 26-letter English alphabet and are suitable for languages based on the Latin alphabet. IANA delegates ISO 3166-1 alpha-2 codes as country code top-level domains, and on December 24, 1991, the .co top-level domain was assigned to Colombia and delegated to the Universidad de los Andes. BL, Saint Bartelemey SX, Sint Maarten ISO 3166 is a standard published by the International Organization for Standardization that defines codes for the names of countries, dependent territories, special areas of geographical interest, and their principal subdivisions. TF, French Southern Territories The ISO 3166-1 alpha-2 code for Greece is GR not EL (which is used by the EU VAT) as is noted (at least now) in the comment. I think this list also misses Åland islands which is autonomical part of Finland, but it´s also listed as EU member with coutrycode is AX. World map detail with ISO 3166-1 alpha-2 codes in place of the names of countries. MQ, Martinique LI, Liechtenstein YT, Mayotte HU, Hungary My question is, is there some way to easily get back "United Kingdom" when providing "GB" as input into some .NET class or function? $countries['GR'] = ['name' => 'Greece',]; No Code, Canary Islands FR, France The full identifier starts with an ISO 3166-1 alpha-2 (2 letters) country code (except for Greece, which uses the ISO 639-1 language code EL for the Greek language, instead of its ISO 3166-1 alpha-2 country code GR) and then has between 2 and 13 characters. $countries['MT'] = ['name' => 'Malta',]; IETF language tags (conforming to the BCP 47 standard track and maintained in an IANA registry) are also partially derived from ISO 3166-1 alpha-2 codes (for the region subtags). I will be dealing with a feed that gives me two letter country codes conforming to the ISO 3166-1 alpha-2 standard. Here's a JS parsable array; and some snippet to convert it into a countries = [{code, name}] collection. In case anyone would ever need them (as I just needed them) (in CSV format though, sorry): Has anyone got the complete list of European Union country codes? LV, Latvia RO, Romania Flags. Same information added by @glesperance in json format: Here's the same as @nicocavello as an object, for quick lookups by country code: For those omitting Switzerland, that's a business decision you may wish to discuss with your lawyers. MT, Malta Here is the array in SQL Including 'HR', WHERE geo_country IN ('AT', 'BE', 'BG', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'HR', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'GB'). For people and systems using non-Latin scripts (such as Arabic or Japanese ), the English alphabet may be unavailable or difficult to use, understand, or correctly interpret. Country codes (ISO 3166-1 and ISO 3166-3) Alpha-2 code – a two-letter code that represents a country name, recommended as the general purpose code. LT, Lithuania They are otherwise in agreement. ISO 3166-1:2013 Codes for the representation of names of countries and their subdivisions — Part 1: Country codes. Following is for GDPR (EU countries and EFTA States): 'AT', 'BE', 'HR', 'BG', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', Note: Each country's alpha-2 code is linked to more information about the assignment of its code elements. Some Australian territories have their own ISO 3166-1 alpha-2 code, and therefore have their own ccTLD as well: exceptionally reserved ISO 3166-1 alpha-2 code element, International Securities Identifying Number, International Securities Identification Number, United Nations Economic Commission for Europe, Society for Worldwide Interbank Financial Telecommunication, International Standard Identifier for Libraries and Related Organizations, 1974 Ellice Islands self-determination referendum. ES, Spain GG, Guernsey $countries['NL'] = ['name' => 'Netherlands',]; Current ISO 3166 country codes. EE, Estonia VG, Virgin Islands, British The list @roydejong posted doesn't use all correct ISO 3166-1 alpha-2 codes. $countries['LV'] = ['name' => 'Latvia',]; For the company I work for, we have decided to consider Switzerland as a GDPR country because there is not a compelling reason not to. BE, Belgium Codici attuali Lista dei codici assegnati ufficialmente VA, Vatican City, Other (Not sure how these fit in) "AT,BE,HR,BG,CY,CZ,DK,EE,FI,FR,DE,GR,HU,IE,IT,LV,LT,LU,MT,NL,PL,PT,RO,SK,SI,ES,SE,GB". ISO 3166-1 alpha-2 codes are used in different environments and are also part of other standards. BG, Bulgaria Codes for the representation of names of countries and their subdivisions — Part 1: Country codes Codes pour la représentation des noms de pays et de leurs subdivisions — Partie 1: Codes de pays This standard has been replaced by ISO/DIS 3166-1 , ISO 3166-1:2020 Even after five years nobody has noticed that Greece is missing (EL). $countries['BE'] = ['name' => 'Belgium',]; $countries['DE'] = ['name' => 'Germany',]; If you want include them: "Special Cases" similarly may depend on your use case: Here is the list of EU countries with country codes and names in PHP. https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Outermost_regions, GF, French Guiana Espero que les sirva. PL, Poland For each deleted alpha-2 code, an entry for the corresponding former country name is included in ISO 3166-3. So for instance, the United Kingdom has the code GB. (This Gist is from 2012. This what I have so far. .ie is the country code top-level domain (ccTLD) which corresponds with the ISO 3166-1 alpha-2 code for the Republic of Ireland. The ISO 3166-1 alpha-2 code for Greece is GR not EL (which is used by the EU VAT) as is noted (at least now) in the comment. # Note: VAT identification numbers for Greece use "EL", not "GR". They are otherwise in agreement. Common mistake is "UK" for United Kingdom, the correct code is "GB" (Great Brittan). I believe this is missing Croatia which joined in 2013. IE, Ireland, Republic of (EIRE) The Gilbert and Ellice Islands were formerly designated an ISO 3166-1 alpha-2 country code "GE" until 1977. https://en.wikipedia.org/wiki/List_of_legal_entity_types_by_country#European_Economic_Area_(including_the_European_Union). Here is the list in JSON with ISO 3166-1 alpha-2 codes in alphabetic order: Per https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union there are additional countries/territories/regions to include as well: "Outermost regions" that have their own ISO-1366-1 country code: Overseas countries and territories (OCT), seem to have varying relationships with the EU, its laws, citizenship, etc. GB, United Kingdom (Great Britain), Outermost Regions (OMR) Creation and delegation of ccTLDs is described in RFC 1591, corresponding to ISO 3166-1 alpha-2 country codes. Here it is the EU country on a JSON with the ISO 3166 1 alpha2 Is the idea that you want to be able to tell from the code whether a jurisdiction is "in" the EU?, and where, for example, "Ceuta and Melilla" == "EA" $countries['GB'] = ['name' => 'United Kingdom',]; Se un codice nazionale non si trova nella lista, è probabilmente obsoleto: in questo caso, si può trovare nella lista dei codici riservati o obsoleti. The first two letters of the code are the two letters of the ISO 3166-1 alpha-2 country codes (which are also used as the basis for national top-level domains on the Internet) and the third is usually the initial of the currency itself. Be aware that Switzerland is generally pretty in sync with the rest of Europe in things like data privacy and they are expected to come out with their own version of the GDPR in the near future. No Code, Ceuta and Melilla ["al","ad","at","az","by","be","ba","bg","hr","cy","cz","dk","ee","fi","fr","ge","de","gr","hu","is","ie", "it","kz","xk","lv","li","lt","lu","mk","mt","md","mc","me","nl","no","pl","pt","ro","ru","sm","rs","sk", "si","es","se","ch","tr","ua","gb","va"], Why isn't this discussion just referenceing ISO-3166 alpha-2? The array I provided are all the countries that are in Europe. This is the list I'm using (the list above with Switzerland added then formatted as a compact javascript array): const EUCountries = [ 'AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'GB', 'GF', 'GP', 'MQ', 'ME', 'YT', 'RE', 'MF', 'GI', 'AX', 'PM', 'GL', 'BL', 'SX', 'AW', 'CW', 'WF', 'PF', 'NC', 'TF', 'AI', 'BM', 'IO', 'VG', 'KY', 'FK', 'MS', 'PN', 'SH', 'GS', 'TC', 'AD', 'LI', 'MC', 'SM', 'VA', 'JE', 'GG', 'GI', 'CH', ]; Is there a reason that no one's including the Isle of Man in these lists? It was created following the decision on December 15, 2010 by the ISO 3166 Maintenance Agency to allocate CW as the ISO 3166-1 alpha-2 code for Curaçao. PF, French Polynesia GI, Gibraltar. The term country code frequently refers to ISO 3166-1 alpha-2 or international dialing codes, the E.164 country calling codes. CY, Cyprus IT, Italy Image: kk nationsonline.org ISO Alpha-2, Alpha-3, and Numeric Country Codes. Lista de paises de la unión europea. GS, South Georgia and the South Sandwich Islands There are three sets of country codes: ISO 3166-1 alpha-2, a two-letter system, used in many applications, for example internet country code top-level domains (ccTLDs). MF, Saint Martin, No Code, Azores GP, Guadeloupe ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. There may be something that I'm missing, but I'd imagine that if we're including Jersey and Guernsey, we should also be including the Isle of Man (code IM). MS, Montserrat WF, Wallis and Futuna https://en.wikipedia.org/wiki/Microstates_and_the_European_Union, AD, Andorra $countries['PL'] = ['name' => 'Poland',]; A list of European countries (within and outside the EU) with their alpha-2 codes (Kosovo is only partially recognised, its country code is temporarily set to XK). As a general rule, maintenance agencies will not define country codes for the geographical areas which are not a … SK, Slovakia AI, Anguilla PN, Pitcairn The link above is to the EU VAT codes. All two letter prefixes are reserved for the ISO 3166-1 alpha-2 country code, followed by an identifier assigned by that country's national library authority. No Code, Helgoland $countries['FI'] = ['name' => 'Finland',]; I ask because I'd be using this list to identify "jurisdiction of incorporation" and the EU now allows pan-European incorporation. Country Codes Alpha-2 & Alpha-3 This is a complete list of all country ISO codes as … Guess the ISO 3166-1 alpha-2 two letter country codes for all of the countries of the world! … DE, Germany @glesperance's list looked most complete, so here it is as a PHP array: Based on hussainrmdxb's post, here's one for a shortcode for example: @ArminCoder that list includes non EU countries as well, which is not what the original gist is about. Similarly the EU VAT uses UK instead of the ISO 3166-1 alpha-2GB for Great Britain. NL, Netherlands EurLex-2 fr Les États membres utilisent les codes «États membres» selon la norme de l'ISO 3166 - 1 alpha - 2 . can sign up for notifications to be informed when changes are made by clicking on the follow function in the top right hand corner I'm trying to piece together the comments here but I'm getting a bit lost. here is my array in PHP $countries['LU'] = ['name' => 'Luxembourg',]; They are the most widely used of the country codes published by ISO, and are used most prominently for country code top-level domains (with a few changes). Please see comments for updates.). IT LV LT LU MT NL PL PT RO SK SI ES SE GB Apparently, Switzerland is not subject to GDPR, as it is not an EEA state (https://planit.legal/blog/en/the-applicability-of-the-gdpr-within-the-eea/). The ISO 3166-1 alpha-2 country code of West Germany was "DE" (for Deutschland, Germany), which has remained the country code of Germany after reunification. SM, San Marino $countries['SI'] = ['name' => 'Slovenia',]; Try this: https://www.gov.uk/guidance/vat-eu-country-codes-vat-numbers-and-vat-in-other-languages. $countries['SE'] = ['name' => 'Sweden',]; Countries with their (ISO 3166-1) Alpha-2 code, Alpha-3 code, UN M49, average latitude and longitude coordinates - countries_codes_and_coordinates.csv .bl is an assigned Internet country code top-level domain (ccTLD) that was to be created for Saint Barthélemy, following the decision on 21 September 2007 by the ISO 3166 Maintenance Agency to allocate BL as the ISO 3166-1 alpha-2 code for Saint Barthélemy. KY, Cayman Islands Clauses 4 to 7 of ISO 3166-2:2013 provide the structure for a code for the representation of names of principal administrative divisions, or similar areas, of the countries and geopolitical entities included in ISO 3166-1. The sortable table below contains the three sets of ISO … The link above is to the EU VAT codes. $countries['FR'] = ['name' => 'France',]; ISO 3166-1 alpha-2 codes are two-letter country codes in the ISO 3166-1 standard to represent countries and dependent territories.They are published by the International Organization for Standardization (ISO) as part of its ISO 3166 standard. https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Special_cases_in_Europe, No Code, Büsingen am Hochrhein The ISO 3166-1 alphabetic codes (alpha-2 and alpha-3) use letters from the 26-letter English alphabet and are suitable for languages based on the Latin alphabet. $countries = []; $countries['AT'] = ['name' => 'Austria',]; This standard has been revised by ISO 3166-1:2020. PT, Portugal This is nice, a list that is immediately wrong, not in alphabetical order for easy checking, and not maintained. You signed in with another tab or window. SH, Saint Helena https://en.wikipedia.org/wiki/Special_member_state_territories_and_the_European_Union#Overseas_countries_and_territories, PM, Saint Pierre and Miquelon
standard iso 3166 1 alpha 2 code 2021