What is an ISO 15924 script code?

ISO 15924 gives each writing system a four-letter code that starts with a capital letter: Latn for the Latin alphabet, Cyrl for Cyrillic, Grek for Greek, Arab for Arabic, Deva for Devanagari, and Hans and Hant for simplified and traditional Chinese characters. The Unicode Consortium keeps the list as the standard's registration authority. Script codes appear in locale codes for languages written in more than one script, such as sr-Latn for Serbian in Latin letters, and in Unicode data, font tools and typesetting software.

Developers, translators and font designers check script codes when they build locale codes, tag text in documents or apps, or set up fonts for several writing systems.

Tool description

Type or paste a code into the ISO 15924 script code field, and the result shows as you type: "ISO 15924 script code is valid" or "ISO 15924 script code is not valid". Spaces and line breaks around the code are ignored. The page has no settings.

What passes and what fails

  • Four letters written the way the list writes them, capital first and the rest small: Latn, Hebr, Thai
  • Any other capitalization fails: latn and LATN don't pass, even though locale codes ignore case
  • The standard's three-digit numbers, such as 215 for Latin, fail: the page checks the letter codes only
  • Script names and shorter forms fail: Latin, Lat

Special codes that pass

  • Jpan for Japanese (Han characters with hiragana and katakana) and Kore for Korean (Hangul with Han characters)
  • Zyyy for characters many scripts share, such as digits and punctuation, and Zinh for marks that take the script of the letter before them
  • Zmth for mathematical notation, Zsye for emoji and Zsym for other symbols
  • Zxxx for unwritten material and Zzzz for a script that has no code
  • The private-use codes from Qaaa to Qabx, which you can agree on for scripts of your own

Good to know

  • A code that passes is in the copy of the list that comes with validator.js. Unicode adds scripts from time to time, so a code added very recently may fail until the library catches up.
  • For whole locale codes such as sr-Latn-RS, use the Locale Code Validator, and for the language part, the ISO 639-1 Language Code Validator.

Features

  • Checks four-letter ISO 15924 codes against the list
  • Special and private-use codes included
  • Results as you type, with no button to press
  • Runs in your browser, so nothing you type is sent anywhere