Word and character counter
Count words, characters and lines.
How it works
Words use browser word segmentation where available; character counts distinguish code points from UTF-16 units. Blank input has zero lines.
Copy word and character counts
Use Copy displayed statistics to copy the current counts as tab-separated Metric and Value columns, ready to paste into a spreadsheet or text editor. For example, Hello world has 2 words, 11 code points, 11 UTF-16 units and 1 line. Extended statistics are included only when enabled, and unavailable grapheme counts are copied as Unavailable. Empty input produces zero counts rather than an empty report.
Count characters in more detail
Enable Extended character statistics to count grapheme clusters and Unicode code points excluding whitespace. Grapheme clusters approximate user-perceived characters, not visual glyphs; the count uses native browser segmentation and is unavailable if the browser does not support it.
For example, é (e plus a combining acute accent) contains two code points but one grapheme cluster. The joined emoji 👩💻 contains three code points but one grapheme cluster. The sample combines these with an ordinary space, a nonbreaking space and A: eight code points, six excluding whitespace and five grapheme clusters. Unicode White_Space includes tabs, line breaks and nonbreaking spaces; zero-width space and the byte order mark are not included. No normalization is applied. Browser text fields can normalize line endings before counting.
See Unicode text segmentation and inspect individual code points.