Text

Word and character counter

Count words, visible characters and lines in your text.

Use your own or authorized text. Results are escaped text; their content is not executed.

Up to 100,000 UTF-16 units per input. Nothing is saved or sent. CRLF/CR line breaks are interpreted as LF. Visible characters are graphemes including spaces, excluding line breaks. Empty input means zero lines.

Words
0
Visible characters
0
Characters without spaces
0
Lines
0

What this tool does

Count words, visible graphemes, characters without spaces and lines as you enter text.

How to use it

  1. Paste or type text within the limit.
  2. Read the four metrics and their definitions.
  3. Reset to clear the input and its results.

Verifiable example

Input
The text “Hello world” on one line.
Expected result
2 words, 11 visible characters and 1 line.

Limitations to review

  • Graphemes differ from UTF-16 units: an emoji or combined letter may span several units. Line breaks are excluded from visible characters.
  • Up to 100,000 UTF-16 units. Requires Intl.Segmenter; CRLF and CR are treated as LF.

Read the full tutorial

Related tools

Browse all guides. Local processing: the page downloads HTTP resources but does not send files or input data to a server for these functions.