TEXT & WRITING

Word & Character Counter

Paste or type text to see its counts update. The counter runs in this page and does not send your text to a RandomTools application server.

Counts update as you type. Use Clear text to remove the current text and reset the totals.

Words
0
Characters (including spaces)
0
Characters (excluding whitespace)
0
Sentences
0
Paragraphs
0
Lines
0

Your text is processed in the browser. This page does not save it or include it in a network request.

How the counts work

  • Words: each run of non-whitespace characters counts as one word. Punctuation stays attached to the word.
  • Characters: the first total includes spaces and line breaks; the second removes whitespace. Both use JavaScript string length, so a supplementary Unicode symbol such as many emoji counts as two UTF-16 code units, not one displayed grapheme.
  • Sentences: a run of ., ?, or ! counts when followed by whitespace or the end of the text. This simple rule is predictable, but it does not parse abbreviations or natural language perfectly.
  • Paragraphs: non-empty text blocks count as paragraphs; one or more blank lines separate blocks. Blank lines at the beginning or end do not add paragraphs.
  • Lines: each newline starts another line. Empty input has zero lines, while a trailing newline adds an empty final line.