Developer tools · Unicode · text length

Unicode Grapheme Inspector

See text the way people read it. Every user-visible character becomes a tile you can open to see the code points inside, next to the four different “lengths” the same text has in code, in UTF-16 and in bytes.

  • Cluster anatomy
  • Four lengths compared
  • Invisible character alerts
  • Safe vs naive truncation
  • JSON · CSV · MD · GIF · video
  • Runs in your browser
What people see
–graphemes
Inspecting…––
  • Graphemes–
  • Code points–
  • UTF-16 units–
  • UTF-8 bytes–
  • Multi-code-point–
  • Invisible–

Text

0 / 50,000 UTF-16 units

Ready.

Four lengths of the same text

Truncate & reverse safely

str.slice(0, n)–
Grapheme-safe–

Selected cluster

–
–

JavaScript
HTML
URL
Code pointCharacterNameFlags

Clusters

No results

Copy & download

Segmentation uses this browser’s Unicode data; glyphs depend on your fonts. The GIF and videos show each cluster splitting into its code points.

Using Unicode Grapheme Inspector

Understand why visible characters, code points, UTF-16 units and UTF-8 bytes can have different counts.

  1. Load text and inspect its grapheme segmentation.
  2. Select a cluster to examine its code points, controls and byte offsets.
  3. Preview cluster-aware truncation or reversal and download the text or full report.

Example

The sample includes decomposed accents, an emoji family, skin-tone modifier, flag and keycap.

Questions & answers

Is a grapheme always one visible glyph?

No. Grapheme boundaries approximate user-perceived characters. Fonts, shaping and neighboring text can affect how clusters render.

Does reversal preserve emoji sequences?

Each original grapheme cluster remains intact internally. New neighbors may still affect rendering or segmentation after reversal.

Why can results differ between browsers?

Intl.Segmenter uses the browser Unicode implementation and data version. Some newer emoji or script sequences can segment differently across versions.

What are the limits?

50,000 UTF-16 units, UTF-8 imports up to 250 KB and a 15-second worker limit. Cluster tiles are paged by 100 and detail previews show 200 code points; JSON contains all results.

Are all Unicode character names included?

No. Only a small common-control name table and diagnostic flags are bundled. Unnamed characters still have their code point and exact text shown.

What can I download or copy?

From the page: Download JSON report, CSV of clusters, Markdown report, PNG card, PDF, Animated GIF, WebM video, MP4 video, ZIP of everything. Everything is created in your browser.

Help improve this tool

Report a problem or suggest an improvement

Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

Find another tool · Read practical guides