{ Language Code Lookup }

// search language codes by name or identifier

Search and look up ISO 639-1, ISO 639-2, and BCP 47 language codes by name or code. Find language identifiers for HTML, APIs, localization, and i18n projects instantly.

🔍
FILTER:
100 languages
Language Native Name ISO 639-1 ISO 639-2 BCP 47 Family Region Copy

HOW TO USE

  1. 01
    Search

    Type a language name like "French" or a code like "fr" or "fra" in the search box.

  2. 02
    Filter

    Use the family filter chips to narrow results by language family.

  3. 03
    Copy & Use

    Click any row to see full details and copy HTML snippets for immediate use.

FEATURES

ISO 639-1 ISO 639-2 BCP 47 100+ Languages One-click Copy HTML Snippets

USE CASES

  • 🌐 Setting HTML lang attribute
  • 🔧 Configuring i18n / l10n libraries
  • 📡 API locale parameters
  • 📋 Accept-Language headers

WHAT IS THIS?

This tool is a searchable reference for ISO 639 language codes used in web development, APIs, and localization workflows. Find the exact code standard you need — ISO 639-1 (2-letter), ISO 639-2 (3-letter), or BCP 47 tags — instantly.

RELATED TOOLS

FREQUENTLY ASKED QUESTIONS

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

ISO 639-1 uses 2-letter codes (e.g. en for English), while ISO 639-2 uses 3-letter codes (e.g. eng). ISO 639-1 covers ~184 major languages. ISO 639-2 is more comprehensive. Most web standards prefer ISO 639-1 or BCP 47 tags.

What is a BCP 47 language tag?

BCP 47 (Best Current Practice 47) is the IETF standard for language tags used on the web. It combines a language code with optional script and region subtags, e.g. zh-Hans (Chinese Simplified) or pt-BR (Portuguese, Brazil).

Which code should I use for the HTML lang attribute?

Use BCP 47 tags for the HTML lang attribute — e.g. <html lang="en"> or <html lang="zh-Hans">. This is the W3C recommendation and supported by all modern browsers and screen readers.

What language code should I use for Chinese?

Use zh-Hans for Simplified Chinese (Mainland China, Singapore) and zh-Hant for Traditional Chinese (Taiwan, Hong Kong). The ISO 639-1 code for both is zh, but BCP 47 subtags distinguish the script.

How do I add regional variants like Canadian French?

Append an ISO 3166-1 region subtag to the BCP 47 code: fr-CA for Canadian French, en-US for American English, pt-BR for Brazilian Portuguese. This tool shows the base codes; combine them as needed.

Are these codes used in the Accept-Language HTTP header?

Yes. The Accept-Language HTTP header uses BCP 47 language tags with optional quality values, e.g. Accept-Language: en-US,en;q=0.9,fr;q=0.8. Use the BCP 47 codes from this tool to build compliant headers.

Language Code Lookup: ISO 639 & BCP 47 Reference for Developers

When building multilingual websites, APIs, or software, picking the right language code is critical. The wrong code can break localization pipelines, confuse search engines, and cause accessibility failures. This tool gives you an instant, searchable reference for ISO 639-1, ISO 639-2, and BCP 47 language identifiers — covering over 100 of the world's most widely used languages.

💡 Looking for premium web development assets? MonsterONE offers unlimited downloads of templates, UI kits, and multilingual themes — worth checking out.

Understanding the ISO 639 Standard

ISO 639 is the international standard for language codes, maintained by the International Organization for Standardization (ISO). It exists in multiple parts:

BCP 47 Language Tags Explained

BCP 47 (IETF Best Current Practice 47) is the recommended standard for language tags on the web and in HTTP. It builds on ISO 639 codes and adds optional subtags for script, region, and variant. Common BCP 47 patterns include:

The W3C recommends BCP 47 tags for the HTML lang attribute, the HTTP Content-Language header, and the Accept-Language request header.

How to Use Language Codes in HTML

The lang attribute is one of the most important accessibility and SEO attributes in HTML. Setting it correctly helps screen readers pronounce content correctly, enables browser spell-checking, and signals language to search engines.

Language Codes in APIs and Localization

REST APIs and localization frameworks each have their own conventions, but most build on ISO 639 or BCP 47:

Common Mistakes with Language Codes

Even experienced developers make these errors. Our lookup tool helps you avoid them:

Language Families Covered

This tool organizes languages by linguistic family, making it easy to find related languages. Major families in our database include Indo-European (the largest, including Romance, Germanic, Slavic, and Indo-Iranian branches), Afro-Asiatic (Arabic, Hebrew, Amharic), Sino-Tibetan (Chinese languages), Austronesian (Malay, Indonesian, Maori), Turkic (Turkish, Uzbek, Kazakh), Dravidian (Tamil, Telugu, Malayalam), Niger-Congo (Swahili, Yoruba, Zulu), and Uralic (Finnish, Hungarian, Estonian).