Word counter

Count words, characters, lines, and paragraphs locally.

Up to 100,000 characters. Text stays on your device.

RESULT
Result updated.

Up to 100,000 input characters. Empty input has zero counts; a trailing newline adds an empty line. Unicode segmentation may vary with browser language-data versions.

How it works

Count words, visible characters, characters excluding whitespace, lines, and paragraphs as you type.

Word boundaries use the browser’s English Intl.Segmenter rules. Characters are grapheme clusters; paragraphs are blocks separated by blank lines.

A worked example

Hello world has 2 words and 11 characters, including the space. An emoji sequence can count as one visible character.

A few useful answers

Will this match every editor?

Not necessarily. Editors can differ on apostrophes, hyphens, emoji, and non-English boundaries. This tool states its counting rules.

Back to calculator ↑