Country Code Lookup

Search every ISO 3166-1 country code, with alpha-3, numeric, dialling code and ccTLD side by side.

The Country Code Lookup ships the whole table with the page, so every search and conversion happens on your device.

Convert coordinates

About Country Code Lookup

Country codes come in at least four flavours and no two systems agree on which to use. An HTML lang attribute and a ccTLD want the two-letter alpha-2, a passport or a football scoreboard uses alpha-3, a UN dataset uses the three-digit numeric code, and a phone field wants the ITU dialling code. This table carries all of them for every officially assigned ISO 3166-1 entry, searchable by any one of them or by name. Paste a column of codes from a spreadsheet and it converts the lot in one pass, flagging anything it cannot match, and the whole table exports as CSV or JSON.

Features

How to use the Country Code Lookup

  1. Type a country name or any of its codes into the search box
  2. Or switch to the convert tab and paste a list of codes
  3. Filter by region to narrow a long table
  4. Copy the rows you need, or download them as CSV or JSON

Example

Input

DE

Output

DE · DEU · 276 · +49 · .de · Germany

One row carries every identifier a form, an API or a dataset is likely to ask for.

Common errors & troubleshooting

Frequently asked questions

What is the difference between alpha-2 and alpha-3 country codes?
Alpha-2 is the two-letter code used by ccTLDs, HTML lang attributes and most web APIs. Alpha-3 is the three-letter form, which is more readable to a person and is used by the UN, FIFA, ICAO and many financial file formats.
What are the numeric country codes for?
They are language-independent, so they survive translation and script changes, and they suit systems that store codes as numbers. UN statistical datasets and several customs formats use them as the primary key.
Is XK a valid code for Kosovo?
Not officially. Kosovo has no ISO 3166-1 assignment, so XK is a user-assigned code that the European Commission and several payment networks adopted by convention. It is not in this table for that reason.
Why is the ccTLD usually the same as the alpha-2 code?
Because ccTLDs were assigned from the ISO list in the first place. The handful of exceptions come from domains that predate the assignment or from territories with no delegated domain at all.
Do these codes cover territories as well as countries?
Yes. ISO 3166-1 covers dependent territories and areas of special interest, which is why Guernsey, Réunion, Antarctica and the British Indian Ocean Territory all have their own entries.

Related tools

All ArrayKit tools