Text and writing

Why an emoji can contain more than one Unicode code point

A visual symbol does not always correspond to one code point. Some sequences combine elements into one grapheme.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter only 👩‍💻 in Grapheme Counter and run the count.

  2. Check graphemes, code points and UTF-16 units.

  3. Enter the same sequence in Unicode Inspector to see the individual code points.

Grapheme Cluster Counter

Worked example

The sequence combines U+1F469, U+200D and U+1F4BB; U+200D is the zero-width joiner.

In the tested browser: 1 grapheme, 3 code points and 5 UTF-16 units.

Unicode UAX #29 · Unicode UTS #51

Limits and checks

Appearance and segmentation can vary with browser support and version; a destination may count bytes or UTF-16 units instead of graphemes. The counter requires Intl.Segmenter; the inspector shows code points but does not validate the sequence’s meaning.

Next step

Use Unicode Inspector to examine each code point and its category.

Unicode Inspector
Back to the blog