Language codes

The following table references language codes used with the lang attribute. The lang attribute sets language for text displayed in a browser. For example,

<html lang="FR">

sets the base language for the web document to French.

Language Language code
Abkhazian AB
Afar AA
Afrikaans AF
Albanian SQ
Amharic AM
Arabic AR
Armenian HY
Assamese AS
Aymara AY
Azerbaijani AZ
Bashkir BA
Basque EU
Bengali; Bangla BN
Bhutani DZ
Bihari BH
Breton BR
Bulgarian BG
Burmese MY
Byelorussian BE
Cambodian KM
Catalan CA
Chinese ZH
Corsican CO
Croatian HR
Czech CS
Danish DA
Dutch NL
English EN
Esperanto EO
Estonian ET
Faroese FO
Fiji FJ
Finnish FI
French FR
Frisian FY
Gaelic GD
Galician GL
Georgian KA
German DE
Greek EL
Greenlandic KL
Guarani GN
Gujarati GU
Hausa HA
Hebrew IW
Hindi HI
Hungarian HU
Icelandic IS
Indonesian IN
Interlingua IA
Interlingue IE
Inupiak IK
Irish GA
Italian IT
Japanese JA
Javanese JW
Kannada KN
Kashmiri KS
Kazakh KK
Kinyarwanda RW
Kirghiz KY
Korean KO
Kurdish KU
Kurundi RN
Laotian LO
Latin LA
Lingala LN
Lithuanian LT
Macedonian MK
Malagasy MG
Malay MS
Malayalam ML
Maltese MT
Maori MI
Marathi MR
Moldavian MO
Nepali NE
Norwegian NO
Occitan OC
Oriya OR
Persian (Farsi) FA
Polish PL
Portuguese PT
Punjabi PA
Pushto; Pashto PS
Quechua QU
Romanian RO
Russian RU
Samoan SM
Sangho SG
Sanskrit SA
Serbian SR
Serbo-Croatian SH
Sesotho ST
Setswana TN
Shona SN
Sindhi SD
Singhalese SI
Siswati SS
Slovak SK
Slovenian SL
Somali SO
Spanish ES
Sudanese SU
Swahili SW
Swedish SV
Tagalog TL
Tajik TG
Tamil TA
Tatar TT
Telugu TE
Thai TH
Tibetan BO
Tigrinya TI
Tonga TO
Tsonga TS
Turkish TR
Turkmen TK
Twi TW
Ukrainian UK
Urdu UR
Uzbek UZ
Vietnamese VI
Volapük VO
Welsh CY
Wolof WO
Xhosa XH
Yiddish JI
Yoruba YO
Zulu ZU