Skip to main content

Is There A 2 Letter Country Code?

by
Last updated on 5 min read

Quick Fact

Yes, there is a global system of two-letter country codes.

They’re called ISO 3166-1 alpha-2, and they’re the worldwide standard for labeling countries and subdivisions. The system covers every one of the 195 sovereign nations recognized by the United Nations—think US for the United States, IN for India, or CH for Switzerland.

Geographic Context

These two-letter codes are the backbone of global communication.

They’re not just abbreviations. They power country code top-level domains (.de, .jp), keep shipping labels consistent, and help banks process transactions across borders. By giving every nation a short, machine-readable tag, they turn geography into a tidy digital map—no surprises, no mismatches.

Key Details

The ISO 3166-1 alpha-2 codes are maintained by the International Organization for Standardization (ISO).

Here’s a quick look at some major nations, their official codes, and the internet domains most people actually use—sometimes they don’t match.

CountryISO Alpha-2 CodeCommon ccTLD
United StatesUS.us
United KingdomGB.uk
ChinaCN.cn
IndiaIN.in
GermanyDE.de
SwitzerlandCH.ch

Interesting Background

The codes often hide quirky historical or linguistic stories.

Switzerland’s CH comes from “Confoederatio Helvetica,” the old Latin name for the Swiss Confederation (a tip of the hat to the ancient Helvetii tribe). The UK’s official code is GB for Great Britain, yet its web domain is .uk—an oddball exception baked into the system. The logic isn’t always obvious; Germany uses DE (short for “Deutschland”) instead of GE. As of 2026, the standard covers all 193 UN member states plus two observer states, the Holy See and the State of Palestine ISO.

Practical Information

You bump into these codes constantly, even if you don’t notice.

That .fr in a web address? It’s the ccTLD tied to this ISO standard. Your passport’s machine-readable strip? It uses the same codes. When you dial internationally, the numeric prefix (+44 for the UK) pairs with the two-letter ISO tag (GB). Just remember: these two-letter codes aren’t the same as the three-letter ISO alpha-3 codes or the phone-number prefixes. Always double-check against the official ISO 3166-1 list or a trusted source like Britannica—some quick-reference pages online still list outdated or wrong codes.

Who Uses Them?

Governments, businesses, and tech platforms rely on these codes every day.

Post offices need them to route mail correctly. Airlines print them on luggage tags. E-commerce sites filter products by country using them. Even sports federations use the codes when assigning team rosters for international tournaments. Honestly, this is one of those quiet systems that quietly makes the modern world run.

Where Can You Find the Full List?

The official list lives on the ISO website.

Head to ISO’s online portal—it’s free, searchable, and updated in real time. Most reference sites copy from this source, so if you need to verify a code, that’s the place to go.

How Are New Codes Added?

New codes appear when a new country is recognized by the UN.

Once the United Nations admits a new nation, ISO adds its two-letter tag within months. The process is methodical: the country submits a formal request, ISO checks for conflicts with existing codes, and then the new pair is published. It’s not a fast track—diplomacy moves slowly, and so does the standard.

What About Territories?

The standard covers sovereign states, not dependent territories.

Places like Puerto Rico or Greenland don’t get their own ISO codes. Instead, they’re usually tagged under their parent country (US or DK). That said, some systems create unofficial codes for territories—just don’t expect them to match the official ISO list.

Can a Code Change?

Codes rarely change, but it does happen.

Burma became Myanmar, so its code flipped from BU to MM in 1989. The Netherlands Antilles dissolved in 2010, and its code AN vanished overnight. Changes are rare, but when they occur, they ripple through databases, customs systems, and airline booking engines. Always confirm the current code before you rely on it.

How Do They Compare to Three-Letter Codes?

The two-letter codes are shorter and more common in digital systems.

ISO also publishes three-letter codes (ISO alpha-3). They’re useful for printed documents or when you need a more descriptive tag—like USA instead of US. In most cases, though, the two-letter version is what you’ll see in URLs, APIs, and shipping labels.

What’s the Difference Between ccTLD and ISO Code?

A ccTLD is the internet domain suffix; the ISO code is the country identifier.

They’re usually the same (DE for Germany, .de for the domain), but not always. The UK is a famous exception: its ISO code is GB, yet its domain is .uk. That mismatch trips up newcomers every time.

Are There Any Exceptions?

Yes—some codes don’t match common names or expectations.

Liechtenstein uses LI instead of LIE. South Korea uses KR instead of KO. These quirks exist to prevent collisions and keep the system airtight. The rule of thumb: trust the official list, not your gut.

How Do I Look Up a Code Quickly?

Use an ISO lookup tool or a reputable search engine.

Type “ISO 3166-1 alpha-2 [country name]” into any search bar and you’ll get the answer in seconds. If you’re writing code, most programming languages have libraries that include the full list—no need to memorize anything.

Why Should I Care?

Because these tiny two-letter tags power huge parts of daily life.

They keep your online orders from getting lost. They let your bank flag suspicious foreign transactions. They help researchers map global health data. Next time you see a .br on a website, you’ll know it’s quietly doing its job—connecting you, without fanfare, to another corner of the planet.

James Cartwright
Author

James Cartwright is a geography writer and former high school geography teacher who has spent 20 years making maps and distances interesting. He can name every capital city from memory and insists that geography is the most underrated subject in school.

Is There A 3 Letter Country Code?Is New York A Capital City?