Language Code to Name Converter

Enter a language code or name and pick a direction to convert.

How it is calculated

The tool is a lookup in a table of all 183 ISO 639-1 languages, not a calculation. In code to name mode it trims spaces, ignores letter case and looks for the two-letter code in the table, so TR and tr give the same answer. In name to code mode it compares the text with the English language names, again ignoring case, so german finds de; on a page in another language the name in that language works too. The result field returns the answer and the matched field returns the entry that was found. If the value is not an ISO 639-1 code or name, nothing is returned. Longer tags such as pt-BR and three-letter codes are not supported.

Worked example

You find the code ka in a CSV export and want to know the language. With the direction set to code to name, the tool looks up ka and returns Georgian, with the matched code shown as ka. In the other direction, entering the English name Georgian with name to code returns ka. Entering ka with name to code finds nothing, because ka is a code, not a name.

Try this example →

Common mistakes

  • Leaving the direction on code to name while typing a language name: German is not a code, so no result is returned. Switch the direction.
  • Typing a regional tag such as pt-BR or en-US: only the two-letter base code is in the table, so enter pt or en.
  • Typing a language's own name, such as Deutsch, in name to code mode: use the English name or the name in the language of the page.
  • Expecting every language to have a two-letter code: ISO 639-1 has only 183, so a smaller language such as Hawaiian gives no result here and needs a three-letter ISO 639-3 code.

About this calculator

ISO 639-1 is the two-letter language code standard behind the “lang” attribute in HTML, browser locale settings, and most translation and localization software — “en” for English, “tr” for Turkish, “ja” for Japanese, and so on for 183 languages. This tool covers all 183 of them and looks the codes up in both directions: type a code to get the language name, or type the name of a language to find its code.

It's a quick reference for web developers and localization engineers setting the lang attribute correctly for accessibility and SEO, and for anyone working with CSV exports, API responses, or config files that store languages as two-letter codes instead of full names.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Beware of codes that look like ordinary words. In this table no means Norwegian, is means Icelandic and id means Indonesian, which can surprise you when you scan a data column where those strings meant something else. In name mode the match must be exact: Persian works but Farsi does not, and Tagalog works but Filipino does not. Which languages or names are missing from your data?

Popular calculators

All Calculators