Word counter

Count words, visible characters, and normalized lines in text you type or paste. When Intl.Segmenter is available, visible characters are Unicode grapheme clusters.

Local workspace

0 words
0
0 characters
0
0 lines
0

Example

Example: Hello world gives 2 words, 10 non-whitespace visible characters, and 1 line. With Intl.Segmenter, each visible character is a Unicode grapheme cluster.

How to test

Paste Hello world, select Count text, and compare the three displayed results.

Limitations

Visible characters exclude whitespace. By default, Intl.Segmenter counts Unicode grapheme clusters. Without it, a deterministic common-sequence approximation groups combining marks and common emoji sequences, so some writing systems may differ. Word boundaries may also differ from language-specific editorial counts.

Steps

  1. Type or paste text into the input field.
  2. Select Count text.
  3. Read the word, character, and line totals.

Frequently asked questions

Do spaces count as visible characters?

No. Whitespace is excluded. When Intl.Segmenter is available, the remaining visible characters are Unicode grapheme clusters; otherwise the deterministic common-sequence approximation is used.