<>essentialdevtools
Text tools · Free browser tool

Word & character counter

Count words, characters, non-whitespace characters, and lines in a piece of text.

How to use this tool

  1. Paste your text into the input area.
  2. Choose Count text.
  3. Read or copy the counts from Result.

Example

Hello world → 2 words, 11 characters, 1 line

What to know

Words are counted as whitespace-separated groups. Characters are Unicode code points, so a combined emoji may count as several characters. This is not a language-aware word segmenter.

Frequently asked questions

Are spaces counted?

Yes, in the total character count. A separate count excludes whitespace.

How are blank lines handled?

Line breaks separate lines, including blank lines. Empty input produces zero lines.