Unicode Inspector — Code Points, UTF-8 and UTF-16 Bytes

Developer

A Unicode inspector is a developer tool that decomposes a string into code points and shows each character's U+ code, UTF-8 bytes, UTF-16 units, and name (or block).

What is it

Unicode assigns every character a unique number (code point, U+0000–U+10FFFF), while UTF-8 and UTF-16 are encodings that store those numbers as bytes. The same character can take 1–4 bytes in UTF-8 and 2 or 4 bytes in UTF-16 (surrogate pairs), which is a common source of string-length bugs. This tool computes standard names for Hangul syllables and CJK ideographs and shows the Unicode block for other characters. Analysis runs entirely in your browser.

UTF-8 length: U+0000–007F 1 byte · U+0080–07FF 2 bytes · U+0800–FFFF 3 bytes · U+10000–10FFFF 4 bytes (UTF-16 surrogate pair)

How to use

  1. 1Paste the string to inspect (emoji and any script welcome).
  2. 2Press inspect.
  3. 3Read each character's code point, UTF-8/UTF-16 bytes, and name, then copy the report.

Reference

Unicode Inspector — Code Points, UTF-8 and UTF-16 Bytes Reference
CharacterCode pointUTF-8UTF-16
AU+0041410041
U+D55CED 95 9CD55C
U+20ACE2 82 AC20AC
😀U+1F600F0 9F 98 80D83D DE00

Sources & standards

FAQ

Why does one emoji count as length 2 in JavaScript?

Because string length counts UTF-16 units. Emoji above U+FFFF are stored as a surrogate pair (two units), so length is 2. The UTF-16 column in this tool shows the actual units.

Does it show the official name of every character?

No. ASCII, Hangul syllables, and CJK ideographs get algorithmically computed standard names; other characters show their Unicode block name. See the Unicode Character Database (UCD) for full official names.

Is my string sent to a server?

No. Inspection happens in your browser and the input is never transmitted.

Related tools