ISO 3166-1 – Codes for the representation of names of countries and their subdivisions – Part 1: Country codes[2] defines codes for the names of countries, dependent territories, and special areas of geographical interest. It defines three sets of country codes:
ISO 3166-1 alpha-3 – three-letter country codes which may allow a better visual association between the codes and the country names than the 3166-1 alpha-2 codes.
ISO 3166-2 – Codes for the representation of names of countries and their subdivisions – Part 2: Country subdivision code[3] defines codes for the names of the principal subdivisions (e.g., provinces, states, departments, regions) of all countries coded in ISO 3166-1.
ISO 3166-3 – Codes for the representation of names of countries and their subdivisions – Part 3: Code for formerly used names of countries[4] defines codes for country names which have been deleted from ISO 3166-1 since its first publication in 1974.
The ISO 3166-1 standard currently comprises 249 countries, 193 of which are sovereign states that are members of the United Nations. Many dependent territories in the ISO 3166-1 standard are also listed as a subdivision of their administering state in the ISO 3166-2 standard.
Current ISO 3166 country codes
The sortable table below contains the three sets of ISO 3166-1 country codes for each of its 249 countries, links to the ISO 3166-2 country subdivision codes, and the Internet country code top-level domains (ccTLD) which are based on the ISO 3166-1 alpha-2 standard with the few exceptions noted. See the ISO 3166-3 standard for former country codes.
^The full names of countries and areas in ISO 3166 normally with "the" usually match these official state names in the World Factbook normally without "the". Disagreements are separately noted.
^ The Islamic Emirate of Afghanistan de facto rules Afghanistan under the unrecognized government.