Count characters

Surrogate pairs affect counts.

FAQ

What do the two length numbers mean?

UTF-16 code units equal JavaScript string .length (surrogate pairs count as two). Unicode code points count extended grapheme clusters approximately as spread-operator iteration over scalars (astral symbols count as one code point each).

Does the decimal separator matter?

This calculator uses plain decimal numbers. If a result looks wrong, check whether you used a comma instead of a dot (or vice versa) where the field expects one.