The search query “2 letter country code” indicates a user is looking for the official two-letter abbreviation system used to represent countries, which is a fundamental component of global data, digital media, and internet infrastructure.
The 2-letter country code is officially known as the ISO 3166-1 Alpha-2 code. This two-letter combination is the most widely used standard for representing countries, dependent territories, and special areas of geographical interest, and it forms the basis for nearly all internet country code top-level domains (ccTLDs), such as .us (United States) or .ca (Canada).
This article details the standard that governs these codes, their primary applications, and provides a short list of examples to illustrate their function.

-
The Defining Standard: ISO 3166
The two-letter country codes are maintained by the International Organization for Standardization (ISO) under the ISO 3166 standard, which defines codes for the names of countries and their subdivisions.
Three Parts of ISO 3166-1
The standard defines three unique codes for every country, but the Alpha-2 code is the most commonly used in digital applications:
| Code Name | Format | Primary Use | Example (United States) |
| Alpha-2 | Two letters | Internet domains (ccTLDs), language tags, currency codes (as a prefix). | US |
| Alpha-3 | Three letters | Better visual recognition in reports and lists. | USA |
| Numeric | Three digits | Used in systems where language or alphabet independence is required. | 840 |
Applications of the Alpha-2 Code
The two-letter country code is crucial because it acts as a universal, machine-readable identifier across numerous systems:
- Internet: Forms the domain ending (ccTLD), like .fr (France) or .de (Germany).
- Financial: Used in SWIFT Codes (BIC) and IBANs to identify the country of a bank or financial institution.
- Currency: Forms the first two letters of the three-letter currency code (e.g., USD, CAD, EUR).
- Data Processing: Essential for sorting and filtering data in databases, software, and international shipping documents.
-
Examples of Common 2-Letter Country Codes
The list includes every sovereign nation and dependent territory, providing a concise identity for each.
| Code | Country Name | Code | Country Name |
| US | United States | CA | Canada |
| GB | United Kingdom | DE | Germany |
| FR | France | IT | Italy |
| MX | Mexico | BR | Brazil |
| AU | Australia | JP | Japan |
| IN | India | CN | China |
| EG | Egypt | ZA | South Africa |
| PH | Philippines | AD | Andorra |
-
Exceptions and Important Notes
While the system is highly standardized, there are a few exceptions that often confuse users.
- United Kingdom (GB vs. UK): The official ISO 3166-1 Alpha-2 code is GB (Great Britain), but the internet ccTLD is .uk. The code UK is listed as an “exceptionally reserved” code element.
- Greece (GR vs. EL): The official code is GR, but the European Union sometimes uses EL (derived from the Greek name Ellas).
- Telephone Codes (A Separate Standard): The 2-letter codes should not be confused with the 1- to 3-digit Country Calling Codes (e.g., +1, +44, +63) used for making international phone calls. These are governed by a different ITU standard (E.164).
Frequently Asked Questions (FAQ)
Is a 2-letter country code the same as a dialing code?
No.
- 2-Letter Codes (ISO 3166): Used for written data, internet domains, and currency. (e.g., US)
- Dialing Codes (ITU E.164): Used for telephone calls. (e.g., +1)
Where is the 2-letter country code most prominently used?
The ISO 3166-1 Alpha-2 codes are most prominently used for Internet Country Code Top-Level Domains (ccTLDs). Every country has the option of using its 2-letter code as its web domain ending.
Who maintains the list of these codes?
The official list is maintained and regularly updated by the ISO 3166 Maintenance Agency (ISO 3166/MA), which operates under the International Organization for Standardization (ISO).
