U+0000–U+10FFFF · UTF-8/16/32

Unicode inspector

Shows each character's Unicode code point (U+XXXX), UTF-8 byte sequence, UTF-16 code units, and UTF-32 value. The modern default for text interchange across all languages and scripts.

0 chars

How to use this tool

  1. Type or paste text into the Type or paste text box — emoji, CJK, and math symbols all work.
  2. The report updates live, showing each character's code point (U+XXXX), UTF-8 bytes, UTF-16, and UTF-32 values.
  3. Check the counter to see both the character count and the total code point count.
  4. Click Copy report to copy the whole inspection to your clipboard.
  5. Use Clear to reset the box and start over.

Why this tool is helpful

Debug encoding bugs

See the exact UTF-8 bytes behind any character to pinpoint where mojibake or an extra byte came from.

Understand emoji & astral characters

Code points above U+FFFF need surrogate pairs in UTF-16 and 4 bytes in UTF-8 — the report flags these as SURROGATE PAIR.

Verify code points against specs

Look up the exact U+XXXX and decimal value you need for regex ranges, HTML entities, or CSS escapes.

Work with non-Latin scripts

CJK, math symbols, and other scripts inspect cleanly, which helps when building i18n, search, or validation features.

Compare storage cost

See at a glance how many bytes each character needs in UTF-8 versus UTF-16 versus UTF-32.

Stay private

Everything runs in your browser. Nothing is uploaded, logged, or sent to a server.

FAQ

What is a code point?

A code point is the number Unicode assigns to each character, written as U+XXXX (for example, "A" is U+0041). This tool shows it in hex, decimal, and its UTF-8/16/32 encodings.

Why does an emoji show "SURROGATE PAIR" under UTF-16?

UTF-16 stores code points above U+FFFF as two 16-bit code units called a surrogate pair. The tool flags these instead of printing the two raw units, so you can spot non-BMP characters at a glance.

Why do characters use different numbers of UTF-8 bytes?

UTF-8 is variable-width: 1 byte for ASCII, 2 for U+0080U+07FF, 3 for up to U+FFFF, and 4 for U+10000U+10FFFF. The report shows the exact bytes for each character.

What's the difference between UTF-8, UTF-16, and UTF-32?

They're three ways to encode the same code points. UTF-8 uses 1–4 bytes, UTF-16 uses 2 or 4 bytes (surrogate pairs), and UTF-32 always uses 4 bytes. This tool shows all three side by side.

Does it merge accents or emoji into one entry?

No. The report lists one entry per code point, not per grapheme. A flag emoji or an "e" with a combining accent appears as multiple code points.

What's the highest possible code point?

Unicode spans U+0000 to U+10FFFF — just over 1.1 million possible code points.

Does my text leave my browser?

Never. All inspection runs locally in JavaScript. Your input is not sent to, stored on, or logged by any server.