TXT MetricsEN

See what text contains

Unicode character inspector

Break text into grapheme clusters, code points, UTF-16 units, and UTF-8 bytes.

7 grapheme clusters15 code points21 UTF-16 units40 UTF-8 bytes
CharacterCode point(s)UTF-16UTF-8
AU+00411 unit1 byte
␠U+00201 unit1 byte
éU+0065 U+03012 units3 bytes
␠U+00201 unit1 byte
πŸ‘πŸ½U+1F44D U+1F3FD4 units8 bytes
␠U+00201 unit1 byte
πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F46611 units25 bytes

Clear rules, private processing

Built to be useful, not mysterious.

A visible character can contain several code points, and one code point can use two UTF-16 units. This inspector makes those differences explicit.

  • Grapheme clusters
  • Unicode code points
  • UTF-16 units
  • UTF-8 byte size

How to use this tool

A short, repeatable workflow.

  1. Paste or type the text you want to inspect.
  2. Compare the summary totals for graphemes, code points, UTF-16 units, and UTF-8 bytes.
  3. Use the table to identify the exact code point sequence for each visible grapheme.
  4. Replace spaces or invisible characters with a small test input when diagnosing an edge case.

Method and limits

One visible character can have several technical lengths

The emoji πŸ‘πŸ½ combines a base emoji and a skin-tone modifier. A family emoji can combine several people with zero-width joiners. User-facing limits usually need grapheme clusters, while APIs, databases, and encodings may measure code points, UTF-16 units, or bytes.

Which number is the real character count?

It depends on the system. Grapheme clusters best approximate visible characters; code points and encoding units answer different technical questions.

Why can JavaScript string length be larger?

JavaScript string length reports UTF-16 code units, so many emoji occupy more than one unit.