Unicode Encoding Rules

Enter a short text to view Unicode code points, decimal values, the corresponding plane, and UTF-8 bytes character by character, while retaining the code point range quick reference.

Local browser processing
This page has passed the public directory check; full functionality is available after enabling JavaScript.
User Guide

How to use the Unicode encoding rules

The results for Unicode and UTF-8 are calculated only in the current browser; text is not uploaded or saved.

  1. Enter short text

    The input may contain up to 64 Unicode scalar values; whitespace, duplicate characters, and the original order are preserved.

  2. View code point information

    View U+ notation, decimal code points, the Unicode plane, and uppercase hexadecimal UTF-8 bytes character by character.

  3. Check range

    A single-character query links to the corresponding code point range; you can also copy TSV or clear the results.

Limitations and Notes

  • The tool splits input by Unicode scalar value and does not perform normalization such as NFC or NFD; combining sequences are preserved as multiple lines.
  • Surrogates U+D800–U+DFFF are not Unicode scalar values; isolated surrogates are not encoded as valid characters.
  • A code point and UTF-8 bytes do not guarantee that a font contains a glyph, nor can they replace lookups for legacy encodings such as GBK and Big5.

FAQ

Why does an emoji occupy only one line but have four UTF-8 bytes?

This Emoji is a supplementary-plane Unicode scalar, UTF-8 represents it using a four-byte sequence.

Why can characters that look identical produce different results?

Precomposed characters and base characters with combining marks may appear as similar glyphs, but they consist of different Unicode scalar sequences; this tool does not normalize them automatically.

What base are the numbers after U+ in?

U+ notation uses hexadecimal; the page also provides decimal code points for cross-checking.

Page feedbackFound an issue or have suggestions for improvement?
Feedback features need to be used in the online version

Please enable JavaScript in the online version before submitting; local features of the current tool or example are not affected.

Go to the online version for feedback