ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization, and defines codes for identifying the principal subdivisions of all countries coded in ISO 3166-1. The official name of the standard is Codes for the representation of names of countries and their subdivisions – Part 2: Country subdivision code. It was first published in 1998. The purpose of ISO 3166-2 is to establish an international standard of short and unique alphanumeric codes ...
ISO 3166-2:BY: Code taken from previous ISO country name: Byelorussian SSR (now assigned ISO 3166-3 code BYAA) Code assigned as the country was already a UN member since 1945: BZ: Belize: 1974.bz: ISO 3166-2:BZ: CA: Canada: 1974.ca: ISO 3166-2:CA: CC: Cocos (Keeling) Islands: 1974.cc: ISO 3166-2:CC: CD: Congo, the Democratic Republic of the: 1997.cd: ISO 3166-2:CDCodeCountry NameYearCctldADAndorra1974.adAEUnited Arab Emirates1974.aeAFAfghanistan1974.afAGAntigua and Barbuda1974.ag
It contains the codes from Parts 1, 2 and 3 of ISO 3166 in three different formats (.xml, .csv, and .xls) for easy integration into your own systems. You will be notified when changes are made so you can download the latest versions. In this way, you can be sure that your database is always using the most up-to-date information from ISO.
Below is a full table of the ISO 3166-2 codes for each country, with three columns: Entry — ISO 3166-2 entry for the country, indexed by its ISO 3166-1 alpha-2 code. Country name — English short country name used by the ISO 3166 Maintenance Agency (ISO 3166/MA)  Subdivisions assigned codes — Subdivisions currently given codes in ISO 3166-2; if there are more than one level of subdivisions, the first-level subdivisions are shown in italics.
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. 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).
ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1. The official name of the standard is Codes for the representation of names of countries and their subdivisions – Part 2: Country subdivision code.
The following is a complete ISO 3166-1 encoding list of the countries which are assigned official codes. It is listed in alphabetical order by the country’s English short name used by the ISO 3166/MA. Note: Each country’s alpha-2 code is linked to more information about the assignment of its code elements. English short name (using title case)