Cyrillic Unicode Block: How to Check Whether a Character Belongs to It

What the Cyrillic Unicode block covers, how it differs from the Cyrillic script, and how to check step by step whether a character falls inside it.

The Cyrillic Unicode block is a fixed range of code points, U+0400 to U+04FF, set aside in the Unicode Standard for Cyrillic characters. Checking whether a character belongs to this block helps you spot Cyrillic letters hidden in Latin-looking text, validate input, or filter characters by origin. This guide explains what a block check tells you, where it falls short, and how to run the check and verify the result.

What a block check does for your text

A block check is an inspection, not a transformation. It takes a single character, reads its code point (the unique number Unicode assigns to that character), and reports whether that number falls inside the block's range. Your text is not changed. The output is a yes-or-no answer, often shown with the code point and the official character name.

Its scope is narrow. A block is only a numeric neighborhood in the Unicode code chart. It does not tell you which language a word is in, and it does not cover every Cyrillic character Unicode defines, because some were placed in other blocks.

Block versus script: the distinction that matters

Unicode tracks two separate properties that are easy to confuse. The Block property says which code chart range a character sits in. The Script property says which writing system the character is used with. Most characters in the Cyrillic block have Script=Cyrillic, but the two do not line up perfectly.

  • Cyrillic-script characters outside the main block: additional Cyrillic letters, such as those used for Komi, Abkhaz and historical texts, live in separate supplement and extension blocks.
  • Characters inside the block with a different script value: a few combining marks in the block, such as U+0485 COMBINING CYRILLIC DASIA PNEUMATA and U+0486 COMBINING CYRILLIC PSILI PNEUMATA, are assigned Script=Inherited because they take the script of the letter they attach to.
  • Diacritics used with Cyrillic but stored elsewhere: the combining breve (U+0306) and combining diaeresis (U+0308) belong to the Combining Diacritical Marks block, even when they form parts of "й" or "ё".

Practical rule: if your goal is to answer the literal question "Is this code point in the Cyrillic block?", compare against U+0400–U+04FF. If your goal is "Is this a Cyrillic character?", test the Script property instead.

Cyrillic-related blocks in Unicode

The ranges below come from the Unicode block list. Blocks are occasionally added in new Unicode versions, so confirm against the version your software implements if completeness matters.

Block name | Range | Typical contents
Cyrillic | U+0400–U+04FF | Russian, Ukrainian, Belarusian, Bulgarian, Serbian, Macedonian and many other modern letters, plus some historical letters and marks
Cyrillic Supplement | U+0500–U+052F | Extra letters for minority languages such as Komi and Abkhaz
Cyrillic Extended-A | U+2DE0–U+2DFF | Combining letters used in Old Church Slavonic texts
Cyrillic Extended-B | U+A640–U+A69F | Historical and Old Cyrillic letters
Cyrillic Extended-C | U+1C80–U+1C8F | Historical letter variants
Cyrillic Extended-D | U+1E030–U+1E08F | Modifier letters used in phonetic transcription

Step by step: check whether a character is in the Cyrillic block

  • 1. Isolate one character. If the text came from a document or web page, copy just the character, not surrounding spaces or invisible formatting marks.
  • 2. Normalize if the text may contain decomposed letters. Apply NFC normalization so that a base letter plus combining mark becomes one precomposed character where one exists. Without this, "й" may arrive as U+0438 followed by U+0306, and the second part will fail the block check.
  • 3. Get the code point. Use a Unicode inspector tool, your editor's character info feature, or a short script.
  • 4. Compare the number. A code point from 0x0400 through 0x04FF (decimal 1024 through 1279) is inside the Cyrillic block. Anything else is outside it.
  • 5. Verify with the character name. The official name of a character in this block usually begins with "CYRILLIC", which is a quick sanity check, though the name alone is not the definition of block membership.

Worked examples

The table below is illustrative. The code points and names are taken from the Unicode character data; the block column follows directly from the range comparison.

Character | Code point | Name | In Cyrillic block?
а | U+0430 | CYRILLIC SMALL LETTER A | Yes
a | U+0061 | LATIN SMALL LETTER A | No
Ё | U+0401 | CYRILLIC CAPITAL LETTER IO | Yes
ї | U+0457 | CYRILLIC SMALL LETTER YI | Yes
ґ | U+0491 | CYRILLIC SMALL LETTER GHE WITH UPTURN | Yes
Ԁ | U+0500 | CYRILLIC CAPITAL LETTER KOMI DE | No (Cyrillic Supplement)
̆ | U+0306 | COMBINING BREVE | No (Combining Diacritical Marks)

The first two rows show why this check is useful: "а" and "a" usually look identical on screen, yet only one of them is Cyrillic. Mixed-script look-alikes like this can break searches, cause duplicate usernames or be used to imitate legitimate text.

Checking in code

The snippets below are examples written to show the approach. They have not been run as part of this article, so test them in your own environment.

Python: compare the code point directly, and use the standard unicodedata module to read the name and normalize.

import unicodedata

def in_cyrillic_block(ch):
    cp = ord(ch)
    return 0x0400 <= cp <= 0x04FF

text = unicodedata.normalize("NFC", "Привет")
for ch in text:
    print(ch, f"U+{ord(ch):04X}", unicodedata.name(ch, "?"), in_cyrillic_block(ch))

JavaScript: codePointAt returns the full code point. JavaScript regular expressions support Script property escapes with the u flag but not Block escapes, so a block check needs an explicit range.

const inCyrillicBlock = (ch) => {
  const cp = ch.codePointAt(0);
  return cp >= 0x0400 && cp <= 0x04FF;
};

// Script check, a different question:
const isCyrillicScript = (ch) => /\p{Script=Cyrillic}/u.test(ch);

Regex flavors differ in how they name these properties. In Java, \p{InCyrillic} matches the block and \p{IsCyrillic} matches the script. In .NET, \p{IsCyrillic} refers to the named block, not the script. Check your engine's documentation before relying on a property name, because the same spelling can mean different things in different engines.

Common mistakes

  • Using a range like [а-яА-Я] as a Cyrillic test. It skips Ё and ё, which sit outside that span, and omits Ukrainian, Belarusian, Serbian and other letters.
  • Assuming the block covers all Cyrillic. Letters in the supplement and extension blocks will fail a U+0400–U+04FF check.
  • Skipping normalization. Decomposed letters produce combining marks that are outside the block.
  • Treating block membership as language detection. A Cyrillic letter tells you the script, not whether the text is Russian, Serbian, Kazakh or something else.

Gaps in this guide

No specific inspection tools, product features or test results were supplied for this article, so it does not recommend or compare particular utilities. The block ranges reflect the Unicode block list as generally published; later Unicode versions may add further Cyrillic-related blocks, so confirm against the version your software uses.