How to Read Decimal Unicode Code Point Values

Learn what decimal Unicode code point values mean, how they map to U+ hex notation, and how to check characters, invisible spaces and emoji without errors.

Every character in Unicode has a numeric identity called a code point. Most references write that number in hexadecimal with a U+ prefix, such as U+00E9. Many inspection tools, programming functions and HTML entities also show the same number in decimal, such as 233. This guide explains what those decimal numbers tell you, how to convert them to the familiar U+ form, and how to avoid confusing them with other numbers that look similar.

What a decimal code point inspection does for your text

A code point inspector takes a piece of text as input and reports the number assigned to each character. When the output is decimal, you get base-10 integers instead of hex values. The text itself is not changed. The inspection only reveals what is actually stored, which matters when two strings look identical but behave differently in search, comparison or validation.

Typical reasons to read decimal values include identifying a character you cannot type or recognize, finding hidden characters such as non-breaking or zero-width spaces, checking whether an accented letter is one character or two, and decoding numeric HTML references like é.

No specific tool was supplied for this guide, so the steps below describe general Unicode behavior. Check your own tool's documentation for its exact output format, especially whether it reports code points, UTF-16 code units or encoded bytes.

Decimal and hexadecimal are the same number

A decimal value and a U+ value are two ways of writing one code point. U+ notation uses base 16, padded to at least four hex digits. Decimal uses base 10 with no prefix and no padding. The following values are standard Unicode assignments.

Character | Name | U+ notation | Decimal
A | LATIN CAPITAL LETTER A | U+0041 | 65
a | LATIN SMALL LETTER A | U+0061 | 97
é | LATIN SMALL LETTER E WITH ACUTE | U+00E9 | 233
€ | EURO SIGN | U+20AC | 8364
😀 | GRINNING FACE | U+1F600 | 128512
(invisible) | NO-BREAK SPACE | U+00A0 | 160
(invisible) | ZERO WIDTH SPACE | U+200B | 8203
(invisible) | ZERO WIDTH NO-BREAK SPACE (BOM) | U+FEFF | 65279

Step by step: reading a decimal value

  • 1. Note the exact integer the tool reports for one character, for example 233.
  • 2. Confirm it is within the valid range of 0 to 1114111. Anything larger is not a Unicode code point.
  • 3. Convert it to hexadecimal. 233 divided by 16 is 14 remainder 9; 14 is E in hex, so the result is E9.
  • 4. Pad to at least four hex digits and add the prefix: U+00E9.
  • 5. Look up U+00E9 in a Unicode character reference to get its official name: LATIN SMALL LETTER E WITH ACUTE.
  • 6. Compare the name with what you expected. If you expected a plain letter e and got something else, the text contains a different character than it appears to.

Larger numbers work the same way. For example, 8364 equals 0x20AC, so it is U+20AC, the euro sign. Values above 65535 need five or six hex digits: 128512 equals 0x1F600, written U+1F600.

Finding invisible characters

Decimal inspection is especially useful for characters that render as blank space or nothing at all. An ordinary space is 32. If a gap between two words reports 160 instead, it is a no-break space. A value of 8203 is a zero-width space, and 65279 at the very start of a file usually indicates a byte order mark. These characters can make string comparisons fail or break parsing even though the text looks normal on screen.

Example: the two strings below look the same when displayed, but their code points differ at the fifth position.

"New York"   ->  78 101 119 32 89 111 114 107
"New York"   ->  78 101 119 160 89 111 114 107

In the second line, 160 marks a no-break space where the first line has a regular space (32). The visible text does not show the difference; only the numbers do.

One visible character, several numbers

What looks like a single character can be stored as more than one code point. The letter é may be the single code point 233, or the plain letter e (101) followed by COMBINING ACUTE ACCENT, U+0301 (769). Both display the same way, but an inspector will report one number in the first case and two in the second. If you see a value in the combining range followed or preceded by a base letter, treat them as a pair when interpreting the text.

Converting between these forms is called Unicode normalization. NFC generally prefers the single composed code point, while NFD splits it into base letter plus combining mark. Normalizing changes the stored code points, so do it deliberately and only when matching or comparison requires it.

Numbers that are not code points

Some tools and functions output decimal numbers that represent encoding units rather than code points. Mixing them up is the most common reading error.

  • UTF-16 code units: characters above 65535 are stored as two units called a surrogate pair. The emoji 😀 (code point 128512) becomes 55357 and 56832. Values between 55296 and 57343 are surrogate halves, not standalone characters.
  • UTF-8 bytes: each byte is a number from 0 to 255. The letter é (code point 233) is stored as the two bytes 195 and 169.
  • Legacy code pages: older encodings assign their own numbers, which may not match Unicode above 127.

If your tool reports several numbers for one emoji, or values that fall in the 55296 to 57343 range, it is probably showing UTF-16 units. If every number is 255 or less and non-English characters produce two to four numbers each, it is probably showing UTF-8 bytes.

Decimal values in HTML

HTML numeric character references use the code point directly. A reference of the form &# followed by a decimal number and a semicolon is decimal, while &#x followed by hex digits is hexadecimal. So é and é both produce é. When decoding a decimal reference, read the number between &# and the semicolon and apply the same steps as above.

Verifying the result in code

If you have Python available, you can check code points yourself. The snippet below is an illustrative example; the expected values in the comments follow from the standard assignments listed earlier. In Python 3, ord returns the code point and chr converts it back.

text = "Café 😀"
for ch in text:
    cp = ord(ch)
    print(cp, f"U+{cp:04X}")

# Expected:
# 67 U+0043
# 97 U+0061
# 102 U+0066
# 233 U+00E9
# 32 U+0020
# 128512 U+1F600

print(chr(233))   # é

In JavaScript, codePointAt returns the full code point, while charCodeAt returns a UTF-16 code unit. For the emoji above, codePointAt(0) gives 128512 and charCodeAt(0) gives 55357. Use codePointAt when you want values that match U+ notation.

Quick checklist

  • The value is between 0 and 1114111.
  • The value is not in the surrogate range 55296 to 57343.
  • You converted to hex and added U+ with at least four digits before looking up the name.
  • You know whether your tool reports code points, UTF-16 units or bytes.
  • You checked for combining marks when a single visible character produced more than one number.
  • You compared suspicious spaces against 32 to spot no-break, zero-width or BOM characters.