Skip to main content

Encode text as Unicode code points or decode U+ notation, \u escapes and numeric HTML entities to text. Supports emoji and displays UTF-8 bytes; raw UTF-8 bytes are not supported as decoder input.

Unicode text conversion

View the code points and escape representations behind characters.

Supports Chinese, emoji and supplementary flat characters, up to 4,000 code points.

Example4 code points

Conversion result

original text
你好 👋
Unicode code point
U+4F60 U+597D U+0020 U+1F44B
UTF-16 escape
\u4F60\u597D\u0020\uD83D\uDC4B
HTML decimal entity
你好 👋
UTF-8 bytes (hex)
E4 BD A0 E5 A5 BD 20 F0 9F 91 8B
View character by characterThe number of code points is not equal to the number of visual characters.
charactercode pointUTF-16HTML entities
你U+4F60\u4F60你
好U+597D\u597D好
␠U+0020\u0020 
👋U+1F44B\uD83D\uDC4B👋

Instructions for use

  1. Select Text → Unicode or Unicode → Text.
  2. Enter original text, U+ code points, \u escapes, or HTML numeric entities.
  3. Copy a representation by use, or copy all control results at once.

Input and output examples

Example input
😀
Example output
Code point: U+1F600 UTF-16: \uD83D\uDE00 HTML: 😀

A code point can use two UTF-16 code units. A visual emoji may also be composed of multiple code points.

FAQ

No. Decoding restores the original characters; it does not translate languages. For example, U+4F60 still decodes to the original Chinese character.

Unicode assigns code points to characters; UTF-8 and UTF-16 are ways of encoding these code points. Code points, UTF-16 escapes, and UTF-8 bytes are shown here to avoid confusion.

Combining phonetic symbols, skin tone modifiers, family emojis, etc. may be composed of multiple code points. This tool counts code points and does not treat them as visual character counts.

Currently, the UTF-8 column only displays bytes. Decoding input supports code points, UTF-16 escapes, and HTML numeric entities; no automatic guessing of the original byte encoding is performed. Convert up to 4,000 code points.

Calculation basis and reference materials

Distinguishes Unicode code points, UTF-16 code units, and UTF-8 bytes, converting according to the selected representation; valid surrogate pairs form a code point. The code point by code result is not equivalent to the number of glyphs seen by the human eye.

Content check: · About this site and content description

Related tools