How to use
- Type or paste text.
- 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.