Antpact Toolbox
中文
Home › Utilities & Developer › UTF-8 Inspector

UTF-8 Inspector

Inspect each character's code point, UTF-8 bytes and UTF-16.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Type or paste text.
  2. Table shows code point, UTF-8 bytes and UTF-16 per char.

FAQ

Why is Chinese 3 bytes?

Common Han chars sit in U+0800–U+FFFF, which UTF-8 encodes in 3 bytes.

What is a surrogate pair?

Chars beyond BMP (e.g. emoji) use two UTF-16 code units.

About this UTF-8 Inspector

Computed locally; correctly handles emoji surrogate pairs.