ISO Language Codes Reference

Look up ISO 639-1 and 639-2 language codes and native names.

Free ISO 639 language code reference — search two-letter (639-1) and three-letter (639-2) codes plus native names for every major language. Runs in your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

When should I use 639-1 versus 639-2?

Use the two-letter 639-1 code (such as en) for HTML lang attributes, hreflang tags and most web APIs. Use the three-letter 639-2 code (eng) for libraries, bibliographic data and languages that have no two-letter code.

ISO 639 is the international standard that assigns short codes to human languages so software, web pages and library systems can label content unambiguously. This reference lets developers, translators and content editors search every major language by English name, native name, two-letter ISO 639-1 code or three-letter ISO 639-2 code, and copy the right one.

How it works

The full language list ships with the page. As you type, every row is matched against four fields at once — English name, native name (endonym), the 639-1 code and the 639-2/T code — and the table filters to the rows that contain your text. There is no lookup request and no API call; filtering is a plain client-side string match.

Each row gives you both code forms so you can pick the one your platform expects:

FieldExample (German)Where it is used
English nameGermanHuman-readable UI labels
Native nameDeutschLanguage pickers shown to native speakers
ISO 639-1 (2-letter)deHTML lang, hreflang, most web APIs
ISO 639-2/T (3-letter)deuLibraries, MARC records, terminology systems

Common use cases and which code to pick

HTML and web development

<!-- 639-1 for the lang attribute -->
<html lang="fr">
<p lang="de">Auf Wiedersehen</p>

<!-- hreflang in SEO for alternate pages -->
<link rel="alternate" hreflang="es" href="https://example.com/es/" />

Use the two-letter 639-1 code for virtually all web contexts. Append a region subtag (hyphen + ISO 3166-1 alpha-2) only when the dialect distinction genuinely matters: pt-BR for Brazilian Portuguese versus pt-PT for European Portuguese, or zh-Hans (simplified) versus zh-Hant (traditional Chinese).

Library and cataloguing systems

MARC 21 bibliographic records use 639-2/B (bibliographic) codes. Most software uses 639-2/T (terminology) codes, which align with 639-3. When in doubt, the 639-2/T form shown in this reference is the safer choice for modern systems.

Quick reference — frequently looked-up codes

Language639-1639-2/TNotes
EnglishenengUniversal default fallback
Spanishesspa20 regional variants; es alone is fine for most
Mandarin ChinesezhzhoUse zh-Hans / zh-Hant for script distinction
Frenchfrfra
ArabicararaRTL; include dir="rtl" on the element
Hindihihin
PortugueseptporDistinguish pt-BR and pt-PT in hreflang
RussianrurusCyrillic script
Japanesejajpn
Germandedeu
Koreankokor
Turkishtrtur

Languages with no 639-1 code

ISO 639-1 covers roughly 180 of the most-used languages. Many widely spoken languages — including Hausa, Yoruba, Zulu, and Tibetan — have a 639-2 or 639-3 code but no two-letter code. For HTML, use the shortest available code: if 639-1 exists, use it; otherwise fall back to the 639-2 or 639-3 three-letter code.

All searches run entirely in your browser — nothing you type is uploaded or stored.