How to Find a Unicode Character by Name, Code Point, or Block
unicodecode pointscharacter referencedeveloper toolstext processing

How to Find a Unicode Character by Name, Code Point, or Block

UUnicode.live Editorial Team
2026-11-28
6 min read

Learn a repeatable workflow to identify Unicode characters by name, code point, or block and verify them in web and code contexts.

When an unfamiliar symbol appears in a document, log file, interface, or test fixture, visual inspection is not enough. This workflow shows how to find a Unicode character by its name, code point, or block, then verify the result across the formats developers commonly use.

Overview

A Unicode character lookup should answer more than “what symbol is this?” A useful result identifies the character’s exact code point, official name, block, and whether the visible text is one character or a sequence of multiple code points.

The most reliable identifier is the code point written in hexadecimal with a U+ prefix. For example, the Latin capital letter A is U+0041, while the euro sign is U+20AC. The code point is a number assigned to a position in the Unicode codespace; it is not the same thing as a UTF-8 byte sequence, a JavaScript string length, or the number of visible glyphs on screen.

Use this distinction throughout the lookup process:

  • Code point: the Unicode number, such as U+1F600.
  • Character name: the standardized name associated with an assigned character, such as GRINNING FACE.
  • Block: a named range of code points, such as Basic Latin or Emoticons. A block provides location context, not necessarily the exact identity or language use of every character in it.
  • Encoding: the representation of a code point as bytes or escape sequences, such as UTF-8 or \u20AC.
  • Grapheme cluster: what a user may perceive as one displayed character. It can contain multiple code points, as with many emoji sequences and letters followed by combining marks.

For a quick reference, the Unicode codespace is commonly described as follows:

TermWhat it tells youExample notation
Code pointExact Unicode positionU+0041
BlockNamed range containing code pointsBasic Latin
PlaneLarge division of the codespacePlane 0, BMP
Scalar valueA code point excluding surrogate code pointsU+1F600
UTF-8Variable-length byte encodingF0 9F 98 80
EscapeLanguage or data-format notation\u{1F600}

Step-by-step workflow

1. Preserve the original text

Copy the symbol from its source without retyping it. Keep a small context window because adjacent characters may be significant. A displayed family emoji, flag, accented letter, or joined-script sequence may consist of several code points even though it looks like one character.

Record whether the source is HTML, JSON, a database field, a URL, a terminal, or a JavaScript string. The same character can appear literally in one context and as an escape in another.

2. Identify the code point

Paste the text into a Unicode character inspector or character lookup utility. Look for a result containing the hexadecimal code point, official name, and Unicode category. If the tool lists several code points, do not reduce the result to the first one. Capture the full sequence and its order.

For a single character, verify the result by copying the reported value in U+XXXX form. Leading zeroes are normally retained for readability in shorter values, so U+0041 is clearer than simply U+41.

3. Search by name when the symbol is unknown

If you know part of the official name, search a Unicode character database by that text. Use distinctive words rather than a visual description such as “small star.” Official names are generally written in uppercase and use spaces or hyphens according to the naming conventions of the data.

Check for related results, including compatibility characters, punctuation variants, mathematical symbols, and characters with similar shapes. A look-alike is not necessarily the same character. Latin A, Greek Alpha, and Cyrillic А can appear similar while having different code points and names.

4. Search by block or range

When you only know the broad writing system or symbol family, use a Unicode blocks reference. A block gives you a range to inspect. For example, a block may cover a family of punctuation, currency, arrows, or script characters.

Do not treat the block name as a complete semantic classification. Blocks can include reserved positions, characters with different functions, and code points that are not assigned. Once you find a candidate, confirm its exact name and status in the character data.

5. Verify the value in code

Use a second representation to catch copy-and-paste or encoding mistakes. In JavaScript, a code point can be written with a code point escape such as \u{1F600}, provided the syntax is supported by the intended environment. JavaScript also supports UTF-16 code units, so str.length may not equal the number of Unicode code points. Iterating with Array.from(str) or a for...of loop is often more appropriate for code-point-level inspection.

const text = "😀";
console.log([...text].map(ch => `U+${ch.codePointAt(0).toString(16).toUpperCase()}`));

For a single code point, the expected result is U+1F600. For an emoji sequence or combining-mark sequence, inspect every item and separately decide whether you need code-point, code-unit, or grapheme-cluster behavior.

Tools and handoffs

A browser-based Unicode character lookup is useful for exploration: paste text, copy the reported name and code point, and export the result into a ticket or test case. For repeatable engineering work, hand the result to the appropriate format-specific tool or language runtime.

  • HTML: use the literal UTF-8 character when the document encoding is configured correctly, or use a numeric character reference such as €. See How to Use Unicode Symbols and Emoji Safely in HTML, CSS, JavaScript, and JSON.
  • CSS: a string escape uses a backslash followed by hexadecimal digits, such as \20AC. Check font coverage and fallback if the code point is correct but the glyph is missing. The guide to CSS unicode-range and font fallback covers this handoff.
  • JavaScript: distinguish UTF-16 code units from Unicode code points, especially outside the Basic Multilingual Plane.
  • JSON: use valid JSON string escapes and remember that JSON escape syntax is not identical to every programming language’s escape syntax. See Unicode in HTML, CSS, JavaScript, and JSON.
  • Test fixtures: store the literal sample, its code-point sequence, expected normalization behavior, and the intended display or processing result. A Unicode test corpus makes these assumptions reviewable.

If the character renders as a replacement box, verify the code point before changing fonts. A missing glyph is a display problem; an incorrect code point is a data problem, and the remedies are different.

Quality checks

  1. Compare two identifiers. Confirm that the copied symbol and the reported hexadecimal value round-trip to the same text.
  2. Check the complete sequence. Inspect variation selectors, zero-width joiners, combining marks, and regional indicators rather than documenting only the first visible symbol. The Unicode emoji sequences guide explains common sequence components.
  3. Confirm assignment status. Do not document a reserved or unassigned position as though it were a character with a stable name.
  4. Check normalization requirements. Some visually equivalent text can have different underlying sequences. Decide whether your application needs canonical normalization, exact preservation, or display-only comparison.
  5. Test the target environment. Character data, fonts, regex behavior, and internationalization features can depend on the platform’s Unicode data version. Review Unicode version compatibility in web apps before making version-sensitive assumptions.
  6. Separate identity from appearance. Similar glyphs do not prove identical characters, and different fonts can make the same code point look very different.

When to revisit

Revisit this lookup workflow whenever the Unicode Standard adds new assigned characters, changes the available data files, or your runtime and font stack moves to a different Unicode data version. New assignments can affect search indexes, validation rules, regex tests, rendering tests, and documentation.

Also repeat the checks when a platform upgrade changes JavaScript internationalization behavior, a database migration changes encoding, a font package is replaced, or a previously unknown symbol begins appearing in production data. Keep a small record containing the original sample, code-point sequence, official name, block, normalization decision, and environment used for verification.

For a practical final pass, copy the original text into a Unicode lookup tool, record every code point, verify the official name and assignment status, test the required HTML, CSS, JavaScript, or JSON representation, and add the result to a fixture if the behavior matters. This creates an auditable Unicode symbol identifier instead of relying on a visual guess.

Related Topics

#unicode#code points#character reference#developer tools#text processing
U

Unicode.live Editorial Team

Technical Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.