Word Counter and Character Counter

The counts change as you type.

A word is a run of characters with no space in it that contains at least one letter or number, so state-of-the-art is one word, don't is one word, and a comma standing on its own is not a word. A word broken across two lines by a hyphen, as in infor- at the end of one line and mation at the start of the next, is counted once: a letter, a hyphen, a line break and a lowercase letter are read as one word.

words 32

characters 188 Unicode code points, spaces included
characters without spaces 156
sentences 4 found by rule, so an abbreviation ending in a stop adds one
paragraphs 2 blocks split by a blank line
lines 4
reading time 10 sec at 200 words a minute
speaking time 15 sec at 130 words a minute
UTF-16 code units 188 what a length property in a browser would report
grapheme clusters 188 what a reader would point at and call one character
most-used words no word is used twice words used twice or more, as a share of all the words; common ones such as "the" are left out
words runs of non-space text carrying a letter or a number 32
characters Unicode code points, spaces included 188
characters without spaces the same count less every space, tab and line break 156
sentences stops, question marks and exclamation marks followed by a space 4
paragraphs blocks with a blank line between them 2
lines line breaks plus one 4
reading time 32 ÷ 200 words a minute 10 sec
speaking time 32 ÷ 130 words a minute 15 sec

How do you count words in a text?

A word count is the number of words in a piece of text. This page prints it beside the character, sentence, paragraph and line counts, with the rule behind each one.

  1. Paste or type your text into the box above. Every count changes as you type, and nothing is uploaded.
  2. Read the word count first, then the rule printed under the box, because that rule is what makes the number what it is.
  3. Read the two character counts beside it. The count including spaces counts every character in the box, and the count excluding spaces drops every space, tab and line break and nothing else, so punctuation and symbols stay in both figures.
  4. Take the sentence, paragraph and line counts as a description of the text's shape. Sentence detection here is a rule rather than an understanding of the text: a stop, question mark or exclamation mark followed by a space ends a sentence, so an abbreviation such as Dr. is counted as the end of one.
  5. Read the two times last. Reading time is the word count divided by 200 words a minute and speaking time is the word count divided by 130 words a minute; both rates are divisors this page states rather than measurements of how fast you read or speak.

This page counts the words in text you have; for placeholder text of a set length before the copy exists, the lorem ipsum generator writes it.

Six short strings, and what these rules make of them

Each row is one string put through the counts above. The first four show the word rule: a hyphen, an apostrophe and a slash never split a run, and a lone comma is a token but not a word. The last row is an e with a combining accent, which looks like one letter and counts as two.

Six short strings, and what these rules make of them
TextWordsCharactersUTF-16 code unitsGrapheme clusters
hello , world2131313
state-of-the-art1161616
don't1555
and/or1666
😀0121
é1221

Worked Example: 32 Words and 188 Characters

The box holds 32 words. The sample in the box is 32 words and 188 characters, and this page's rule finds 4 sentences in it where a reader would find 3: the full stop in Dr. ends a sentence as far as the rule can tell.

words runs of non-space text carrying a letter or a number 32
characters Unicode code points, spaces included 188
characters without spaces the same count less every space, tab and line break 156
sentences stops, question marks and exclamation marks followed by a space 4
paragraphs blocks with a blank line between them 2
lines line breaks plus one 4
reading time 32 ÷ 200 words a minute 10 sec
speaking time 32 ÷ 130 words a minute 15 sec

32 words, 188 characters, 156 without spaces, 4 sentences, 2 paragraphs, 4 lines

Under the box is the rest of the working: 156 characters once the spaces come out, 2 paragraphs, 4 lines, 10 sec of reading and 15 sec of speaking.

Why Do Two Word Counters Disagree?

Where the disagreement starts

A word processor counts a document and this page counts a box of text, so headers, footers, footnotes, captions and text boxes are settled by a setting inside the word processor before any rule about words is applied. After that it is the tokens: a bare comma is a token here and not a word.

Three ways to count a character

This page counts a character as one Unicode code point and prints the UTF-16 code unit count and the grapheme cluster count beside it, because an emoji and a letter written with a combining accent give three different answers. They agree for plain English and part company the moment an emoji or an accent turns up.

Paragraphs, lines and hard returns

A paragraph here is a block of text with a blank line around it, and a line is one more than the number of line breaks; a word processor calls every hard return a paragraph, so its paragraph figure usually matches this page's line figure. Two figures under one name is the commonest reason a structure count looks wrong.

Frequently Asked Questions

What counts as a word?

Anything with a letter or a number in it, however it is punctuated. Chinese and Japanese put no space between words, so this page counts each Han, Hiragana or Katakana character as one word; Korean puts spaces between words and follows the space rule.

Does the character count include spaces?

Both are printed, side by side. The one with spaces is what most character limits mean; the one without is what a design brief means. Neither drops punctuation.

Why is my word count different in Microsoft Word?

Two reasons, and they compound. The document held text the box does not, and the two draw the line between a word and a token in different places.

What counts as one character?

One of three answers, and this page prints all three. It leads with Unicode code points; the table above shows a string where the three disagree.

How many pages is 500 words?

There is no figure this page can give you: a page is a product of the typeface, the point size, the line spacing and the margins.

The tool index shows what else this site does.