Country Codes Table

–click a code to copy it
CodeCountry
USUnited States
CNChina
JPJapan
DEGermany
INIndia
GBUnited Kingdom
FRFrance
ITItaly
BRBrazil
CACanada
RURussia
KRSouth Korea
AUAustralia
MXMexico
ESSpain
IDIndonesia
NLNetherlands
SASaudi Arabia
TRTurkey
CHSwitzerland
PLPoland
SESweden
BEBelgium
THThailand
IEIreland
ARArgentina
ATAustria
NONorway
AEUnited Arab Emirates
ILIsrael
MYMalaysia
SGSingapore
ZASouth Africa
DKDenmark
PHPhilippines
EGEgypt
VNVietnam
BDBangladesh
CLChile
FIFinland
COColombia
PTPortugal
PEPeru
GRGreece
NZNew Zealand
CZCzech Republic
RORomania
HUHungary
UAUkraine
NGNigeria
PKPakistan
IRIran
DZAlgeria
LKSri Lanka
KEKenya
The two-letter codes are ISO 3166-1 alpha-2, the same vocabulary used in W3C language tags (en-US), domain names (.us, .de) and shipping addresses. The table covers the 50+ most common codes; the full ISO standard has 249 officially assigned entries. Click any code to copy it. Bottom line: the same two letters appear in three contexts - domain TLD, shipping country code and locale identifier (en-US) - and getting them wrong in shipping is the most expensive two-letter typo in e-commerce. Locale context: HTML lang codes table, Unicode character inspector, ASCII table.

Two-letter country codes are the most-travelled abbreviations in computing: the same US, DE, JP appear in domain names (.us, .de, .jp), shipping addresses, locale identifiers (en-US, de-DE) and payment systems. This table covers the 50+ most common codes from ISO 3166-1 alpha-2, filterable and click-to-copy.

The standard is maintained by the ISO 3166 Maintenance Agency, and the codes are deliberately assigned so that the two-letter code often matches the country name in its own language: DE for Deutschland, ES for España, JP for Nihon.

How to use

  1. Type a country name or code to filter - the search covers both the full name and the two-letter code.
  2. Click any code to copy the two-letter abbreviation.
  3. Use the letter chips to browse alphabetically by first letter.

Frequently asked questions

What is the difference between ISO 3166-1 alpha-2 and alpha-3?

Alpha-2 uses two letters (US, DE, JP) and is the internet standard for TLDs and locale tags. Alpha-3 uses three letters (USA, DEU, JPN) and is preferred in contexts where two letters are ambiguous - both are ISO 3166-1, but alpha-2 is by far the more commonly used.

Why do some codes not match the English name?

Codes are assigned based on the country’s own name in its own language: DE for Deutschland, ES for España, CH for Confoederatio Helvetica (Latin, avoiding French/German/Italian favouritism). JP for Nihon follows the English convention Japan rather than the native Nihon, showing the system is not perfectly consistent.

Is there a code for every country?

ISO 3166-1 has 249 officially assigned codes covering every UN-recognised country plus several territories (HK, TW, PR). Some territories have codes even without UN membership, and a few codes are exceptionally reserved for transitional periods after country name changes.

Related tools