
Two-Letter Country Codes and Their Global Roles
Dear friends, below is a list of the two-letter country codes in the world, which I post mainly because I found myself searching for them on the internet quite frequently, but which I also make available here for you.
The Importance of the ISO 3166-1 Alpha-2 Standard in Computer Science

In an increasingly globalised and interconnected world, the correct management and interpretation of information is essential to ensure the efficiency and consistency of information systems. In this context, international standards play a crucial role, as they allow common and universal conventions to be defined. One such standard is ISO 3166-1 alpha-2, a standard that defines two-letter codes to represent countries and geographical regions of the world. Although this code may seem like a simple technical detail, its importance in the IT field is far from marginal. Let us therefore analyse its significance and impact in the field of computing.
What is ISO 3166-1 Alpha-2?
ISO 3166-1 alpha-2 is a part of the international standard ISO 3166, which concerns the encoding of country names and their subdivisions. Specifically, the alpha-2 section establishes a two-letter code (e.g. IT for Italy, FR for France, US for the United States) representing each country in the world. These codes are used to uniquely identify countries in a form that is both compact and easily understood globally.
This system was developed by the ISO (International Organisation for Standardisation), with the aim of creating a uniform, standardised format for countries and regions that would be easily applicable in various international contexts.
The Crucial Role in Information Technology

In computer science, the use of ISO 3166-1 alpha-2 codes is crucial for a number of reasons:
- Uniformity and Standardisation: The alpha-2 code provides a universal system for identifying countries, eliminating confusion resulting from the use of language variants or national formats. In a global environment, where computer systems must be able to communicate with each other without misunderstandings, this standard avoids conflicts in data interpretation.
- Communication and System Integration: In a context of interconnectedness between software, online services and business systems, the ISO 3166-1 alpha-2 code is widely used to represent countries in databases, websites, applications and software of all kinds. For example, when a user registers on an international website, the system can request to select their country via a list based on these codes, ensuring consistency and uniformity throughout the system.
- Geolocation and Web Services: In many IT services, such as geolocation, web traffic data analysis or customisation of content based on user location, the ISO 3166-1 alpha-2 code is used to determine the country of origin of users. This is crucial to offer customised experiences, such as automatic language selection or the display of specific content for a certain geographic region.
- Networks andCommunication Protocols: In networking and telecommunications, ISO 3166-1 alpha-2 codes are used in communication protocols to identify countries in network requests, system authentication and connection management. For example, in the Internet domain management system, country code top-level domains (ccTLDs), such as .it for Italy or .uk for the United Kingdom, are based directly on ISO 3166-1 alpha-2 codes.
- Data Analysis and Reporting: When dealing with data from different parts of the world, the use of the alpha-2 code becomes essential to correctly identify the geographical origin of information. In business reports, market analyses and user databases, this standard allows data to be organised in a homogeneous and easily interpretable way.
- Simplification in Identification Systems: Many systems, from online banking transactions to the management of orders and shipments, require precise identification of the country of origin. Using ISO 3166-1 alpha-2 codes reduces the risk of data entry errors, improving the reliability of the system as a whole. A two-letter code is easier to use and memorise than the full country name, avoiding possible ambiguities or transcription errors.
Adaptability and Evolution of the Standard
One of the most appreciable aspects of the ISO 3166-1 alpha-2 standard is its flexibility and ability to adapt to a changing world. For example, over the years, new codes have been added to represent new states or territories, as in the case of the separation of South Sudan in 2011, which was given the SS code. This shows how the ISO 3166-1 standard is always ready to respond to geopolitical needs and the ever-changing reality.
Moreover, alpha-2 codes are not only used for countries, but also for certain special entities, such as territories and autonomous regions, ensuring that all political subdivisions can be represented with an easily recognisable code globally.
Conclusions: The Impact and Need for Standards such as ISO 3166-1 Alpha-2

The ISO 3166-1 alpha-2 standard is not just a set of codes, but an essential element in building a coherent, efficient and integrated global information infrastructure. Its universal adoption ensures that every system, from software to telecommunication networks, from databases to web applications, can operate smoothly when dealing with geographic information.
In a world that is becoming increasingly digitised, where communication between countries and between systems is vital to the economy and everyday life, standardisation of country codes is essential to ensure data consistency and reliability. ISO 3166-1 alpha-2, therefore, provides a solid foundation on which to build global interoperability and communication, enabling growth and technological development in an increasingly interconnected world.
- AD = ANDORRA
- AE = ARAB EMIRATES (FEDERATION OF)
- AF = AFGHANISTAN
- AG = ANTIGUA AND BARBUDA
- AI = ANGUILLA
- AL = ALBANIA
- AM = ARMENIA
- AN = DUTCH ANTILLES
- AO = ANGOLA
- AQ = ANTARCTICA
- AR = ARGENTINA
- AS = AMERICAN SAMOA
- AT = AUSTRIA
- AU = AUSTRALIA
- AW = ARUBA
- AZ = AZERBAIJAN
- BA = BOSNIA AND HERZEGOVINA
- BB = BARBADOS
- BD = BANGLA DESH
- BE = BELGIUM
- BF = BURKINA FASO (HIGH TIME)
- BG = BULGARIA
- BH = BAHREIN
- BI = BURUNDI
- BJ = BENIN
- BM = BERMUDE
- BN = BRUNEI DARUSSALAM
- BO = BOLIVIA
- BR = BRAZIL
- BS = BAHAMAS
- BT = BHUTAN
- BU = BIRMANIA
- BV = BOUVET (ISLAND)
- BW = BOTSWANA
- BY = BELARUS (BELARUS)
- BZ = BELIZE
- CA = CANADA
- CC = COCOSKEELING ISLANDS
- CF = CENTRAL AFRICAN REPUBLIC
- CG = CONGO
- CH = SWITZERLAND
- CI = IVORY COAST
- CK = COOK (ISLAND)
- CL = CHILE
- CM = CAMEROON
- CN = CHINA
- CO = COLOMBIA
- CR = COSTA RICA
- CS = CZ = CZECHOSLOVAKIA
- CU = CUBA
- CV = CAPE VERDE (ISLANDS OF)
- CX = CHRISTMAS (ISLAND)
- CY = CYPRUS
- CZ = CZECH REPUBLIC
- DD = EASTERN GERMANY
- DE = GERMANY
- DJ = GIBUTS
- DK = DENMARK
- DM = DOMINIQUE
- DO = DOMINICAN REPUBLIC
- DZ = ALGERIA
- EC = EQUADOR
- EE = ESTONIA
- EG = EGYPT
- EH = WESTERN SAHARA
- ER = ERITREA
- ES = SPAIN
- ET = ETHIOPIA
- FI = FINLAND
- FJ = FIJI
- FK = FALKLAND (ISLANDS)
- FM = MICRONESIA
- FO = FAEROER (ISLANDS)
- FR = FRANCE
- GA = GABON
- GB = GREAT BRITAIN
- GD = GRENADE
- GE = GEORGIA
- GF = FRENCH GUYANA
- GH = GHANA
- GI = GIBRALTAR
- GL = GREENLAND
- GM = GAMBIA
- GN = GUINEA
- GP = GUADALOUPE
- GQ = EQUATORIAL GUINEA
- GR = GREECE
- GS = SOUTH GEORGIA
- GT = GUATEMALA
- GU = GUAM
- GW = GUINEA BISSAU
- GY = GUYANA
- HK = HONG KONG
- HM = HEART AND MAC DONALD (ISLANDS)
- HN = HONDURAS
- HR = CROATIA
- HT = HAITI
- HU = HUNGARY
- ID = INDONESIA
- IE = IRELAND
- IL = ISRAEL
- IN = INDIA
- IO = INDIAN OCEAN (BRITISH TERR. DELL)
- IQ = IRAQ
- IR = IRAN
- IS = ICELAND
- IT = ITALY
- JM = JAMAICA
- JO = JORDAN
- JP = JAPAN
- KE = KENYA
- KG = KYRGYZSTAN
- KH = CAMBODIA
- KI = KIRIBATI
- KM = COMOROS
- KN = ST. KITTS-NEVIS
- KP = KOREA REPUBBL. DEMOCR. POPULAR
- KR = KOREA REPUBLIC
- KW = KUWAIT
- KY = CAIMAN (ISLANDS)
- KZ = KAZAKHSTAN
- LA = LAOS
- LB = LEBANON
- LC = SAINTE LUCIE
- LI = LIECHTENSTEIN
- LK = SRI LANKA
- LR = LIBERIA
- LS = LESOTHOUSE
- LT = LITHUANIA
- LU = LUXEMBOURG
- LV = LATVIA
- LY = LIBYA
- MA = MOROCCO
- MC = MONACO
- MD = MOLDOVA
- MG = MADAGASCAR
- MH = MARSHALL (ISLANDS)
- MK = MACEDONIA
- ML = MALI
- MM = MYANMAR
- MN = MONGOLIA
- MO = MACAO
- MP = NORTHERN MARIANA ISLANDS
- MQ = MARTINICA
- MR = MAURITANIA
- MS = MONTSERRAT
- MT = MALTA
- MU = MAURITANIA
- MV = MALDIVES
- MW = MALAWI
- MX = MEXICO
- MY = MALAYSIA
- MZ = MOZAMBIQUE
- NA = NAMIBIA
- NC = NEW CALEDONIA
- NE = NIGER
- NF = NORFOLK (ISLAND)
- NG = NIGERIA
- NI = NICARAGUA
- NL = NETHERLANDS
- NN = UNKNOWN
- NO = NORWAY
- NP = NEPAL
- NR = NAURU
- NT = NEUTRAL ZONE
- NU = NIOUE (ISLAND)
- NZ = NEW ZEALAND
- OM = OMAN
- PA = PANAMA
- PE = PERU
- PF = FRENCH POLYNESIA
- PG = PAPUA NEW GUINEA
- PH = PHILIPPINES
- PK = PAKISTAN
- PL = POLAND
- PM = SAINT PIERRE AND MIQUELON
- PN = PITCAIRN (ISLANDS)
- PR = PORTUGAL
- PT = PORTUGAL
- PW = PALAU
- PY = PARAGUAY
- QA = QATAR
- RE = REUNION
- RO = ROMANIA
- RU = RUSSIA FEDERATION OF
- RW = RWANDA
- SA = SAUDI ARABIA
- SB = SOLOMON ISLANDS
- SC = SEYCHELLES
- SD = SOUTH AFRICA
- SE = SWEDEN
- SG = SINGAPORE
- SH = SAINTE HELENE
- SI = SLOVENIA
- SJ = SVALBARD AND JAN MAYEN (ISLANDS)
- SK = SLOVAKIA
- SL = SIERRA LEONE
- SM = SAN MARINO
- SN = SENEGAL
- SO = SOMALIA
- SR = SURINAME
- ST = SAINT THOMAS AND PRINCE
- SU = USSR
- SV = EL SALVADOR
- SY = SYRIA
- SZ = SWAZILAND
- TC = TURKS AND CAIQUES (ISLANDS)
- TD = CHAD
- TF = FRENCH SOUTHERN LANDS
- TG = TOGO
- TH = TAILAND
- TJ = TAJIKISTAN
- TK = TOKELAU
- TM = TURKMENISTAN
- TN = TUNISIA
- TO = TONGA
- TP = EAST TIMOR
- TR = TURKEY
- TT = TRINIDAD AND TOBAGO
- TV = TUVALU (ELLICE) (ISLAND)
- TW = TAIWAN
- TZ = TANZANIA
- UA = UKRAINE
- UG = UGANDA
- UM = UNITED STATES (MINOR OUTLYING ISLANDS OF)
- UN = UNDEFINED COUNTRY
- US = UNITED STATES
- UY = URUGUAY
- UZ = USBEKISTAN
- VA = VATICAN CITY
- VC = SAINT VINCENT AND GRANADINE
- VE = VENEZUELA
- VG = BRITISH VIRGINS (ISLANDS)
- VI = VIRGIN AMERICAN ISLANDS
- VN = VIETNAM
- VU = VANAUTU
- WF = WALLIS AND FORTUNA (ISLANDS)
- WS = SAMOA
- YD = SOUTH YEMEN
- YE = YEMEN
- YT = MAYOTTE
- YU = YUGOSLAVIA
- ZA = SOUTH AFRICA
- ZM = ZAMBIA
- ZR = ZAIRE
- ZW = ZIMBABWE
Hoping to have done you a favour, I would like to take this opportunity to send you a dear virtual greeting.