Country Code to Name Lookup

Enter an ISO country code to find its country name.

Result

Turkey
TR

How it is calculated

You type an ISO 3166-1 code and the tool returns the country name plus the matching two-letter code. It trims spaces and ignores case, so tur, TUR and TUR are equal. A two-letter entry is looked up directly as an alpha-2 code; a three-letter entry is first mapped to its alpha-2 code and then to the name. Any other length gives no result. The table holds all 249 ISO codes and the name appears in the page language. Unofficial codes like UK, whose ISO code is GB, give no result. There is no search by name, only code to name.

Worked example

Enter the three-letter code TUR. The tool upper-cases it and sees three characters, so it looks in the alpha-3 list, where TUR maps to the alpha-2 code TR. It then reads the name for TR from the main table and shows the country Turkey together with the alpha-2 code TR. Entering TR directly gives the same pair, while a code that is not an ISO code gives no result.

Try this example →

Common mistakes

  • Typing UK for the United Kingdom. The ISO code is GB, and UK gives no result.
  • Typing a common abbreviation instead of the ISO code. UK, EL or UAE give no result, because the ISO codes are GB, GR and AE.
  • Entering a numeric code (such as 792) or a country name. Only alpha-2 and alpha-3 letter codes are accepted.
  • Mixing up similar codes: AT is Austria while AU is Australia, and SE is Sweden while SK is Slovakia and SI is Slovenia.
  • Typing a code with extra letters or a language-region tag such as en-US. Only exactly two or three letters work.

About this calculator

ISO 3166-1 is the international standard that assigns every country a two-letter (alpha-2, e.g. TR) and three-letter (alpha-3, e.g. TUR) code, used as the backbone of country fields across the internet — from browser locale strings and phone country dialing codes to database country columns and address forms.

This lookup takes an alpha-2 or alpha-3 code and returns the matching country name. Software developers use it while debugging datasets or APIs that return raw ISO codes instead of readable names, and data analysts use it when cleaning spreadsheets, CRM exports, or shipping records that store countries as codes rather than full names.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Watch the look-alike codes, because the country is often not the one the letters suggest: CH is Switzerland, DE is Germany, AT is Austria and AU is Australia, while GB rather than UK is the ISO code for Britain. Check the three-letter form too if your data mixes the two, since TUR and TR name the same country. Which code surprised you?

Popular calculators

All Calculators