Language Code Converter

Paste names or codes in any form and get the standard language, country and locale codes, with the mistakes called out.

639-1 and 639-2Alpha-2 and alpha-3Locale normalizerCommon mistake finder

About this tool

International SEO depends on small codes being exactly right. Spreadsheets arrive with "Deutsch", "jp", "en_UK" and "iw" side by side, and each one needs translating to the value a tag, a sitemap or a CMS expects.

This tool reads a mixed list, works out whether each entry is a language, a country or a locale, and returns the proper codes with names, native names, currency and region. Entries that look right but are not, like en-UK, jp for Japanese or the deprecated iw for Hebrew, are marked with the correct replacement. A searchable reference of the supported languages and countries is included.

Why use this tool

Mixed input

Names, two-letter codes, three-letter codes and locale tags can sit in the same list.

Mistake detection

Spots country codes used as languages and deprecated codes, and suggests the right one.

Built-in reference

Browse and export the language and country lists as CSV.

How it works

  1. Paste your codes or names, one per line.
  2. Leave the mode on auto, or force language or country for ambiguous two-letter codes.
  3. Copy the results or export them as CSV.

Frequently asked questions

What is the difference between ISO 639-1 and 639-2?
ISO 639-1 has two-letter codes for the major languages (en, de, ja) and is what hreflang uses. ISO 639-2 has three-letter codes (eng, deu, jpn) and covers more languages.
Why is "uk" ambiguous?
As a language code, uk is Ukrainian. As an informal country abbreviation it is the United Kingdom, whose official code is GB. In hreflang, use uk only for Ukrainian and GB for the country.
Which Chinese code should I use?
Use zh-Hans for Simplified and zh-Hant for Traditional characters, optionally with a region such as zh-Hans-CN or zh-Hant-TW. Google also understands zh-CN and zh-TW.
Are underscores allowed in locale codes?
Many systems write en_GB, but web standards, including hreflang and the html lang attribute, use a hyphen: en-GB. The tool converts underscores for you.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser. What you type or paste is processed on your device and is not sent to our servers.

More free tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.