ISO Language Codes (639-1 and 693-2) and IETF Language Types

8,367
0
Updated:
Files:4
Size:58.8 kB
Formats:csv
License:ODC-PDDL-1.0

Comprehensive language code information, consisting of ISO 639-1, ISO 639-2 and IETF language types. Data is taken from the Library of Congress as the ISO 639-2 Registration Authority, and from the...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/language-codes/
https://datahub.io/core/language-codes/_r/-/.gitattributes
https://datahub.io/core/language-codes/_r/-/.gitignore
https://datahub.io/core/language-codes/_r/-/README.md
https://datahub.io/core/language-codes/_r/-/data/ietf-language-tags.csv
https://datahub.io/core/language-codes/_r/-/data/language-codes-3b2.csv
https://datahub.io/core/language-codes/_r/-/data/language-codes-full.csv
https://datahub.io/core/language-codes/_r/-/data/language-codes.csv
https://datahub.io/core/language-codes/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/language-codes/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/language-codes/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Files

Explore with AI

language-codes

Download

Download CSV

About

ISO 639-1 two-letter language codes and their English names (184 languages).
Last updated
4 March 2026
Total rows
...
Format
CSV
File size
3.24 kB

language-codes-3b2

Download

Download CSV

About

Languages with both ISO 639-2 bibliographic (three-letter) and ISO 639-1 (two-letter) codes, limited to the 184 languages that have an alpha-2 code.
Last updated
4 March 2026
Total rows
...
Format
CSV
File size
4.35 kB

language-codes-full

Download

Download CSV

About

All ISO 639-2 languages with bibliographic and terminologic three-letter codes, optional two-letter alpha-2 code, and English and French names (487 entries).
Last updated
4 March 2026
Total rows
...
Format
CSV
File size
20.9 kB

ietf-language-tags

Download

Download CSV

About

IETF language tags derived from the Unicode CLDR core.zip (main/ folder at http://www.unicode.org/Public/cldr/latest/core.zip), with language type, territory, revision date, definition count, and default-language flag.
Last updated
4 March 2026
Total rows
...
Format
CSV
File size
30.3 kB

About this dataset

badge

Description

Comprehensive language code information, consisting of ISO 639-1, ISO 639-2 and IETF language types.

Data

Data is taken from the Library of Congress as the ISO 639-2 Registration Authority, and from the Unicode Common Locale Data Repository.

data/language-codes.csv

This file contains the 184 languages with ISO 639-1 (alpha 2 / two letter) codes and their English names.

data/language-codes-3b2.csv

This file contains the 184 languages with both ISO 639-2 (alpha 3 / three letter) bibliographic codes and ISO 639-1 codes, and their English names.

data/language-codes-full.csv

This file is more exhaustive.

It contains all languages with ISO 639-2 (alpha 3 / three letter) codes, the respective ISO 639-1 codes (if present), as well as the English and French name of each language.

There are two versions of the three letter codes: bibliographic and terminologic. Each language has a bibliographic code but only a few languages have terminologic codes. Terminologic codes are chosen to be similar to the corresponding ISO 639-1 two letter codes.

Example from Wikipedia:

[…] the German language (Part 1: de) has two codes in Part 2: ger (T code) and deu (B code), whereas there is only one code in Part 2, eng, for the English language.

There are four special codes: mul, und, mis, zxx; and a reserved range qaa-qtz.

data/ietf-language-tags.csv

This file lists all IETF language tags sourced from the Unicode CLDR core distribution.

Preparation

This dataset is automatically updated via GitHub Actions, running scripts to gather ietf-language-tags.csv and the various language-codes files.

License

This material is licensed by its maintainers under the Public Domain Dedication and License (PDDL).

Nevertheless, it should be noted that this material is ultimately sourced from the Library of Congress as a Registration Authority for ISO and their licensing policies are somewhat unclear. As this is a short, simple database of facts, there is a strong argument that no rights can subsist in this collection.

However, if you intend to use these data in a public or commercial product, please check the original sources for any specific restrictions.