Identify a character’s Unicode code point
How to check Unicode code points for any character, why one visible symbol can hide several code points, and when a code point lookup is the right tool.
When a character looks odd, will not match a search, or breaks a form, the fastest way to find out what it really is comes from its Unicode code point. A code point is the number Unicode assigns to a character, written as U+ followed by hexadecimal digits. For example, U+0041 is the Latin capital letter A. This review covers what a code point check tells you, where it can mislead you, and how to run one reliably.
Is a code point check the right tool for your task?
For diagnosis, a code point check is usually the right tool. Its main benefit is precision. Two characters that look the same on screen can have different code points. The Latin letter A (U+0041), the Greek capital Alpha (U+0391) and the Cyrillic capital A (U+0410) look alike in many fonts, but software treats them as unrelated. A code point check is often the only quick way to tell them apart.
The key tradeoff is that code points do not map one-to-one to what a reader sees as a single character. Accented letters, flags and many emoji are built from several code points. A tool that reports only the first code point, or that splits a sequence in the wrong place, gives an answer that is accurate but incomplete. Choose a method that lists every code point in the selection.
A code point is not a good way to share text with readers. If you need to communicate a word or phrase, send the plain text itself. Use code point notation such as U+00E9 only when the exact identity of a character matters, for example in bug reports, data cleaning, font troubleshooting or documentation for developers.
What a code point lookup changes, and what it doesn’t
Inspecting a character changes nothing about the text. It only reports what is already stored. This sets it apart from reversal tools, mirror-text generators and so-called font generators, which do change the stored characters or how they are displayed. Changes only happen if you convert the text into another notation, such as U+ codes, programming escapes like \u00E9, or HTML numeric references like é. These are different ways of writing the same code point. They are not the character itself, and most destinations will show them as literal text unless the destination interprets that notation.
Keep the code point separate from its encoding. The code point is the abstract number. An encoding sets the bytes used to store it. The character é (U+00E9) is stored as the two bytes C3 A9 in UTF-8. The emoji 😀 (U+1F600) is stored in UTF-16 as the surrogate pair D83D DE00. Some tools show bytes or UTF-16 units instead of code points, so check which one a tool reports before you rely on its output.
One visible character, several code points
Most surprises come from what Unicode calls grapheme clusters: sequences of code points that display as a single unit. These examples are standard Unicode sequences:
| What you see | Code points | Notes |
| é (precomposed) | U+00E9 | A single code point: LATIN SMALL LETTER E WITH ACUTE |
| é (decomposed) | U+0065 U+0301 | A plain e followed by COMBINING ACUTE ACCENT; looks identical to the precomposed form |
| ❤️ | U+2764 U+FE0F | Heavy black heart plus VARIATION SELECTOR-16, which requests emoji-style display |
| 🇺🇸 | U+1F1FA U+1F1F8 | Two regional indicator symbols that combine into a flag |
| 👨👩👧 | U+1F468 U+200D U+1F469 U+200D U+1F467 | Three people emoji joined by ZERO WIDTH JOINER (U+200D) |
| 𝐀 | U+1D400 | MATHEMATICAL BOLD CAPITAL A, a separate character, not bold formatting applied to A |
The two forms of é explain why text that looks identical can fail to match. Unicode normalization (NFC composes, NFD decomposes) resolves this. Whether a given app normalizes text when you paste or search varies by app and is not something to assume.
This matters for anyone checking text reversal. Reversing code points one by one will separate a combining accent from its base letter, and it will break emoji sequences and flags apart. A trustworthy reversal tool reverses grapheme clusters, not individual code points. A code point check is the way to confirm whether a reversed sample kept those sequences intact.
Invisible characters a check will reveal
Some code points have no visible glyph but still affect behavior. Common ones to look for:
- U+00A0 NO-BREAK SPACE: looks like a normal space but can break exact-match searches and data imports
- U+200B ZERO WIDTH SPACE: invisible, can split words for search and validation
- U+200D ZERO WIDTH JOINER: joins emoji sequences; stray copies can be hard to spot
- U+FEFF ZERO WIDTH NO-BREAK SPACE: often appears at the start of files as a byte order mark
- U+202E RIGHT-TO-LEFT OVERRIDE: a bidirectional control that reverses the display order of the following text without changing the stored order
The last item draws a useful line between display and storage. Text that appears reversed on screen may be stored in normal order with a directional control in front of it. Text that has been actually reversed has had its stored characters reordered. A code point listing shows you which of the two you have.
Will the result stay usable after copying or sharing?
The characters you inspect copy as they are, invisible ones included. This is why a code point check is helpful before pasting text into a system that is sensitive to exact characters, such as usernames, passwords, code, spreadsheets or search fields. Copying the U+ notation itself only gives you descriptive text. It does not recreate the character elsewhere.
For styled Unicode, such as the Mathematical Alphanumeric Symbols used by many fancy-text generators, a code point check confirms that the letters are not ordinary Latin letters. In practice, searches for the plain word may not find them, spell checkers may not recognize them, and editing can behave differently. How screen readers handle them depends on the software and its settings. Some may read character names or skip the characters, so the result has to be tested with the specific assistive technology and platform your audience uses. One reader's results do not apply to all of them. When the meaning has to reach everyone, provide plain text as the main version.
How text displays also depends on fonts. If a font lacks a character, you may see an empty box or a substitute glyph, while the code point stays unchanged. A code point check tells you whether the problem lies in the data or in the font.
How to identify a character’s code point
Useful search terms for this capability include Unicode code point lookup, Unicode character inspector, character to Unicode converter and grapheme cluster breakdown. If you are investigating lookalike letters, add Unicode confusables. Whatever tool you find, check that it lists every code point in the selection and shows the official character name, not just a single number.
Code points can be inspected locally with standard features of common programming languages, so no text has to be sent to a website. In Python, ord() returns a character's code point, and the unicodedata module provides its name:
import unicodedata
text = "e\u0301"
for ch in text:
print(f"U+{ord(ch):04X}", unicodedata.name(ch, "<unnamed>"))
# U+0065 LATIN SMALL LETTER E
# U+0301 COMBINING ACUTE ACCENT
In JavaScript, iterate with for...of so each code point is handled whole. Indexing the string directly works on UTF-16 units, which split characters outside the Basic Multilingual Plane, such as most emoji:
for (const ch of "😀é") {
const hex = ch.codePointAt(0).toString(16).toUpperCase().padStart(4, "0");
console.log("U+" + hex);
}
// U+1F600
// U+00E9
"😀".length; // 2, because length counts UTF-16 units, not code points
Many operating systems and word processors also offer character viewers or key commands that show or insert code points. Menu names and shortcuts differ by version and were not verified for this article, so check your software's current documentation before relying on any of them.
Gaps in this review
This article covers the documented behavior of Unicode and standard language features. It does not evaluate or rank any online code point tools. It makes no claims about how such tools handle the text you enter or whether they keep it. It does not report test results for particular apps, platforms or screen readers. For sensitive text, use a local method. For accessibility-critical content, test in the actual destination.