Language and region code lookup
Look up BCP 47 language tags with ISO 639-1 language codes, ISO 3166-1 region codes and ISO 15924 script codes: search zh-CN, ja, en_GB or "Japanese" and get both Chinese and English names, entirely offline.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Matches
Each line is tag / kind / Chinese name / English name separated by tabs, ready to paste into a spreadsheet.
Enter a tag or name to look it up
Includes 113 language subtags (common ISO 639-1 entries), 78 region subtags (ISO 3166-1 alpha-2), 14 script subtags (ISO 15924) and 71 language-region tags.
What this tool does
- Check language tag spellings when building a multilingual page or app: what zh-CN, zh-Hant-TW or en_GB actually mean.
- Decode an unfamiliar two- or four-letter code (nb, fil, Jpan) into its Chinese and English names.
- Reverse-search by name: type "Japanese", "Chinese" or "Sri Lanka" and get a ready-to-use BCP 47 tag.
Example
Input
zh-CN
Output
tag: zh-CN zh-CN locale 中文(简体,中国大陆) Chinese (Simplified, China) zh language 中文 Chinese CN region 中国大陆 China
A combined tag first returns the whole entry, then its language and region subtags; each line has four tab-separated columns.
Frequently asked questions
How much data is built in? Is it the complete ISO list?
The tables hold 113 common ISO 639-1 language subtags, 78 ISO 3166-1 alpha-2 region subtags, 14 ISO 15924 script subtags and 71 language-region tags — not the full ISO lists. The counts shown on the page are read from the code, so the description cannot drift from the data.
In zh-CN, is CN a language or a region?
Tags are parsed in BCP 47 order: the first subtag is the language (zh), a four-letter subtag is the script (Hans, Hant), and a two-letter or three-digit subtag is the region (CN, TW, 419). Each subtag is matched against the built-in tables; unknown subtags are reported as unresolved instead of being guessed.
Which input forms are accepted?
Matching is case-insensitive and accepts hyphens or underscores: zh-cn, zh_CN and en-GB are equivalent. You can also search a single subtag (zh, Hans, CN) or part of a Chinese or English name.
Why does searching "ja" return only ja and ja-JP?
When the query is exactly a subtag, only that subtag and the tags built from it are returned, so "ja" no longer drags in languages whose English names merely contain those letters (Azerbaijani, Gujarati). Name-based fuzzy matching is only used when nothing matches a subtag exactly.
Does it upload input or read my browser language?
No. Lookups only read the built-in tables: no network, no navigator.language, no system clock. The same input always produces the same output.
Keywords:BCP 47ISO 639-1ISO 3166-1language code lookupregion codeinfo-lang