Country Codes

ISO 3166-1 country codes with dialling code, capital, continent, currency and flag.

About Country Codes

A searchable table of countries with their ISO 3166-1 alpha-2 and alpha-3 codes, dialling code, capital, continent, currency and flag emoji.

How to use

  1. Type in the filter: a name (India), an alpha-2 code (DE), an alpha-3 code (GBR), a dialling code (+81 or 81), a capital, a continent or a currency code (EUR). An exact code match is listed first.
  2. Click any code to copy it: alpha-2, alpha-3, dialling code or currency.

What it does

Column Contents
Country Flag emoji, English name and, where it differs, the name in the local language
Alpha-2 The two-letter ISO 3166-1 code: IN, US, GB
Alpha-3 The three-letter ISO 3166-1 code: IND, USA, GBR
Dialling code The international calling code with its plus sign: +91
Capital The capital city in English
Continent One of Africa, Antarctica, Asia, Europe, North America, Oceania, South America
Currency The ISO 4217 code or codes: INR
  • The rows come from the open-source countries-list package: about 250 countries and territories. Nothing in the table is typed by hand.
  • Territories with their own ISO code are listed separately from the state they belong to, for example Guernsey, Puerto Rico and Hong Kong.
  • A few rows have more than one dialling code or currency; all of them are shown. A dash means the package has no value, as for the capital of Antarctica.
  • Kosovo is listed under XK, a user-assigned code that is not part of the official ISO list, and is labelled as such.

What it does not do:

  • It has no ISO 3166-1 numeric codes, no ISO 3166-2 subdivision codes, no time zones and no population figures.
  • It does not validate or format phone numbers. The dialling code is the country prefix only.
  • It does not draw the flags. They are emoji, so they depend on your system: Windows has no flag emoji, and Chrome and Edge there show the two letters instead.

Example

Filter: +81
→ 🇯🇵 Japan (日本)   JP   JPN   +81   Tokyo   Asia   JPY

Privacy

The table is part of the page. Filtering and copying run in the browser; no request is made and nothing is stored.

Frequently asked questions

What is the difference between alpha-2 and alpha-3 country codes?
Both come from ISO 3166-1 and identify the same countries. Alpha-2 codes have two letters (IN, DE) and are the ones used in locale tags such as en-GB and in most country domains; alpha-3 codes have three letters (IND, DEU) and are easier to recognise at a glance.
Why is the country code for the United Kingdom GB and not UK?
ISO 3166-1 assigns GB, from Great Britain, with GBR as the three-letter form. UK is reserved at the request of the United Kingdom and is used for the .uk domain, but it is not the official code.
What is the country code for India?
India is IN in alpha-2 and IND in alpha-3. Its dialling code is +91 and its currency code is INR.
Is the dialling code the same as the ISO country code?
No. ISO codes are letters assigned by ISO 3166; dialling codes are numbers assigned by the ITU. A dialling code can be shared: +1 covers the United States, Canada and much of the Caribbean, and +7 covers Russia and Kazakhstan.