ISO 3166-2

ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of 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. It was first published in 1998.

The purpose of ISO 3166-2 is to establish an international standard of short and unique alphanumeric codes to represent the relevant administrative divisions and dependent territories of all countries in a more convenient and less ambiguous form than their full names. Each complete ISO 3166-2 code consists of two parts, separated by a hyphen:
 * The first part is the ISO 3166-1 alpha-2 code of the country;
 * The second part is a string of up to three alphanumeric characters, which is usually obtained from national sources and stems from coding systems already in use in the country concerned, but may also be developed by the ISO itself.

Each complete ISO 3166-2 code can then be used to uniquely identify a country subdivision in a global context.

Currently more than 4000 codes are defined in ISO 3166-2. For some countries, codes are defined for more than one level of subdivisions.

Current codes
The following is a complete table of the current ISO 3166-2 codes by each country, with three columns: Note: Since ISO 3166-2 is only occasionally updated, this table does not necessarily reflect the latest subdivision changes.
 * Entry &mdash; ISO 3166-2 entry for the country, indexed by its ISO 3166-1 alpha-2 code, click to view all ISO 3166-2 codes for the country
 * Country name &mdash; English short country name officially used by the ISO 3166 Maintenance Agency (ISO 3166/MA)
 * Subdivisions assigned codes &mdash; Subdivisions currently assigned codes in ISO 3166-2; if there are more than one level of subdivisions, the first-level subdivisions are shown in italics

Subdivisions included in ISO 3166-1
For the following countries, a number of their subdivisions in ISO 3166-2, most of them dependent territories, are also officially assigned their own country codes in ISO 3166-1:


 * Notes

Format
The format of the ISO 3166-2 codes is different for each country. The codes may be alphabetic, numeric, or alphanumeric, and they may also be of constant or variable length. The following is a table of the ISO 3166-2 codes of each country (those with codes defined), grouped by their format:

Changes
The ISO 3166/MA updates ISO 3166-2 when necessary, by announcing changes in newsletters which update the currently valid standard, and releasing new editions which comprise a consolidation of newsletter changes. Changes in ISO 3166-2 consist mostly of spelling corrections, addition and deletion of subdivisions, and modification of the administrative structure.

=Resources=

Sources and external links

 * ISO 3166 Maintenance Agency, International Organization for Standardization (ISO)
 * The ISO alpha-2 country lists in Plain Text HTML XML
 * Tracking changes in ISO 3166-2
 * Administrative Divisions of Countries ("Statoids"), Statoids.com

Other lists of ISO 3166-2 codes (not necessarily up-to-date)
Many of the lists below are based on outdated versions of ISO 3166-2 codes. For the latest version, please contact the ISO 3166/MA.


 * ISO 3166-2 State Codes, CommonDataHub
 * , eQuest
 * Country sub-entity name code, GEFEG.FX