Locale Language Codes
Free online i18n locale and language code reference table.
Tool Guide
Introduction to the Internationalization Locale Language Code Reference Chart
The Online Locale Language Code Tool is a complete internationalization locale language code reference chart (Language Locale Table), suitable for front-end development, website internationalization, multilingual application configuration, and other scenarios.
The table lists the display names of common languages around the world and their corresponding locale codes (such as en_US, zh_CN), and supports quick lookup and copying.
How to Use the Online Locale Language Code Reference
Use the browser shortcut Ctrl+F to quickly search for a language name, language code, or country name;
Click to copy a language code for use in language settings configuration;
Combine it with the HTML <html lang="xx"> attribute to declare a page's primary language.
Frequently Asked Questions About Locale Language Codes (FAQ)
What is a language Locale?
A Locale is a "language_country" combination code—for example, en_US means "English-United States"—used to specify the standard written form of a language in a particular region.
Why set the lang attribute?
It helps search engines understand the page's language, improving SEO ranking; it benefits screen readers and browser internationalization experiences; and it provides a reference for server-side language adaptation decisions.
What are some common language codes?
For example: zh_CN: Simplified Chinese (Mainland China), zh_TW: Traditional Chinese (Taiwan), en_US: English (United States), fr_FR: French (France), ja_JP: Japanese (Japan).
Related Tools
Emoji Reference
Complete emoji reference with online lookup and copy functionality.
Special Symbols
Collection of special symbols including emoji, math symbols, arrows and special text.
HTML Color Code Table
Common HTML color code table for web development with HEX/RGB values and preview.
ASCII Table
Complete ASCII code table with control characters, printable characters and extended ASCII codes.
MIME Type Reference
A comprehensive MIME type (Multipurpose Internet Mail Extensions) reference. Look up the standard Content-Type for any file extension (.json, .pdf, .mp4) along with its transfer format.
HTML Entity Reference
A quick-reference table of common HTML character entities. Look up and copy the named, decimal and hexadecimal codes for special characters (non-breaking space, copyright sign, Greek letters) to avoid markup conflicts.