What counts as a word in a word counter?
Most word counters use a simple definition: a word is a run of characters separated from the next by whitespace. That rule is quick and predictable, but it means some things that look like several words count as one, and the reverse. It is also the same rule every time, so you can always work out why a count came out the way it did.
How the counting works
The counter splits the text wherever there is a space, a tab or a line break, then counts the pieces. Several spaces in a row do not add words. Punctuation attached to a word stays part of it.
Examples of what counts as a word
| Text | Words counted |
|---|---|
| well-known | 1 |
| don't | 1 |
| 3.14 | 1 |
| New York | 2 |
| state-of-the-art design | 2 |
| one two three four (extra spaces and a tab) | 4 |
Where the edge cases come from
- A hyphenated word counts as one, even when it is made of three or four short words.
- A dash with spaces around it, like a - b, counts the dash as a word because it stands alone between spaces.
- A dash with no spaces, like a—b, joins the two sides into one word.
- A number with a decimal point or a comma is a single word.
Why two tools can disagree
Different tools make different choices about dashes, slashes and symbols, and some editors count differently again. If a limit matters, such as an application or an assignment, count with the same tool the recipient will use, or leave a small margin.
Word Counter: Paste any text to see its word count, character count, sentences and reading time.