ISO 639 Language Code Lookup

Find 2- and 3-letter language codes used in APIs and localization

Search ISO 639-1 (two-letter) and ISO 639-2 (three-letter) language codes by language name or by code. See native names and the codes used in HTML lang attributes, locale strings, and translation APIs.

What is the difference between ISO 639-1 and ISO 639-2?

ISO 639-1 assigns two-letter codes to about 184 major languages, while ISO 639-2 assigns three-letter codes that cover several hundred languages, including many with no two-letter code. Use 639-1 where it exists for brevity and fall back to 639-2 for full coverage.

What this tool is for

This reference lets you find the standard language codes that software, web pages, and translation APIs use to identify a language. It covers both ISO 639-1 two-letter codes and ISO 639-2 three-letter codes, with native names so you can confirm you have the right language.

How it works

Each language carries two codes. ISO 639-1 is a compact two-letter set covering the most widely used languages, and it is what HTML lang attributes and most browser and translation APIs expect. ISO 639-2 is a broader three-letter set that includes languages with no two-letter code, so it is the fallback when 639-1 falls short.

The tool matches your query against the English name, the native name, and both codes. Typing fr, fra, French, or Français all resolve to the same row. Where a language has no two-letter code, the 639-1 column shows a dash and you should use the three-letter code instead.

Tips and notes

For web markup, prefer the shortest valid code: use the two-letter 639-1 code when one exists and append a region subtag only when you need to distinguish variants, as in en-GB versus en-US. The three-letter codes shown here are the 639-2/T (terminology) variants, which line up with ISO 639-3 and avoid the older bibliographic codes like ger and fre.