Overview: ISO 3166-1 is the part of the broader ISO 3166 standard that assigns short, standardized codes to the names of countries and dependent territories. Published by the International Organization for Standardization, the standard is intended to provide a consistent set of labels for use in data exchange, shipping, statistics, machine-readable lists and other applications where compact, unambiguous country identifiers are useful. The list covers independent states as well as a number of non‑sovereign and special territories often treated separately in international contexts, sometimes described as dependent territories.

Code sets and their purposes

ISO 3166-1 defines three parallel code sets, each designed for particular uses:

  • Alpha‑2 — two‑letter codes (for example, FR, GB, JP). Alpha‑2 is widely used because of its brevity: it forms the basis for many applications including national abbreviations and internet country code top-level domains (ccTLDs).
  • Alpha‑3 — three‑letter codes (for example, FRA, GBR, JPN). Alpha‑3 codes are often clearer to humans because they more closely resemble the country name in Latin letters.
  • Numeric — three‑digit codes that use only digits. Numeric codes are useful when Latin alphabet letters cannot be reliably processed; these numeric values correspond to the United Nations statistical numeric codes and aid in international statistical work.

How the list is maintained and changed

The ISO 3166-1 entries are kept under the responsibility of the ISO 3166 Maintenance Agency (often referred to as ISO 3166/MA). The maintenance agency receives requests and decisions from national authorities and international bodies and publishes updates to reflect geopolitical changes, such as new states, name changes, changes in status of territories, or merges and splits. Certain codes are reserved for special applications or temporarily withdrawn from active use to avoid confusion.

Common uses and examples

ISO 3166-1 codes appear throughout computing, transport and commerce. Examples include: as identifiers in international trade and shipping documentation; in databases where a short, fixed-length country field is required; on vehicle registration codes in some contexts; and as the basis for national internet top-level domains where ccTLDs use the alpha‑2 codes. Because the alpha‑2 and alpha‑3 sets are compact and standardized, they are commonly embedded in file formats, APIs and geocoding systems that must interoperate across languages and scripts.

ISO 3166-1 is not the only scheme for referencing countries. Many organizations maintain their own country code lists or use extended conventions that map closely to the ISO set. For statistical work the numeric codes are often preferred because they match the United Nations' numeric designations; at the same time, some international organizations adopt bespoke codes for internal needs. The standard includes mechanisms for "user-assigned" codes and for reserving codes to reduce the risk of future conflict.

Further reading and resources

To explore the formal definitions or to check the current list and recent changes, consult resources about the ISO 3166 series and documentation maintained by the ISO and the maintenance agency. For introductions to the concepts and examples of application, see general treatments of country names, lists of dependent territories, summaries of the different code sets, specific notes on ccTLDs, and explanatory material for the alpha‑3 code usage.