Text Counter

Count characters, words, lines, sentences, and paragraphs, and estimate reading time.

  • Runs locally in your browser
  • No upload required

Try it

Characters
28
Characters (no spaces)
23
Words
6
Lines
1
Sentences
2
Paragraphs
1
Reading time
1 minute(s)

Supported formats

Input
text
Output
number, text

Privacy

Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.

Processing
In your browser
Privacy level
Browser only

Counted 6 words across 1 paragraph(s) and 2 sentence(s).

How it works

  • Counted every character and every non-whitespace character.
  • Split on whitespace for words and on line terminators for lines.
  • Split on sentence terminators and blank lines for sentences and paragraphs.
  • Estimated reading time at 200 words per minute.
  • Estimated reading time: 1 minute(s).

Methodology

  1. Treat the text as an ECMAScript string: the character count is the number of UTF-16 code units in that string.
  2. Split on Unicode whitespace to count words and on line terminators to count lines.
  3. Derive sentences and paragraphs from punctuation and blank-line heuristics; the reading-time estimate assumes 200 words per minute.

Usage

  1. Paste or type your text.
  2. Read the character, word, line, sentence, and paragraph counts.
  3. Use the reading-time estimate to size the content.

Examples

These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.

Two short sentences

jsonSelect to copy
{
  "text": "Hello world. This is a test."
}

Two paragraphs

jsonSelect to copy
{
  "text": "First paragraph with five words.\n\nSecond paragraph."
}

Limitations

Which count should you trust?

Word counts vary by tool because word boundaries differ. This counter uses whitespace-delimited tokens, which matches prose and most editorial desk checks. Technical text with long identifiers can differ from a writing tool's count.

Frequently asked questions

Do spaces count as characters?
Yes. The character count is the raw length; the 'no spaces' figure excludes all whitespace.

Sources

  1. ECMAScript Language Specification, String type — TC39