Illustration of a sentence split into separate word blocks with a hyphenated block and a stray dash left uncounted

Text & writing

How Does a Word Counter Count Words?

Counting words sounds trivial until two tools give you two different numbers for the same paragraph. The difference is almost never a bug — it comes from how each counter decides where one word ends and the next begins. This guide explains the common approaches, the edge cases that cause disagreements, and what the Looty Tools Word Counter does in each case.

Ready to try the tool this guide describes?

The basic approach: splitting on whitespace

Almost every word counter starts the same way: it breaks the text wherever there is whitespace — a space, a tab, or a line break — and treats each piece in between as a candidate word. That handles the vast majority of ordinary prose correctly, and it is why extra spaces or blank lines between paragraphs never change a sensible word count.

The differences between counters come from the next step: deciding which of those pieces actually count. A naive counter that simply splits on a single space character gets this wrong quickly — two spaces in a row produce an empty “word”, and a tab or line break is not recognized as a separator at all.

Edge cases where counters disagree

The rule behind every row is the same: a word is a run of characters between whitespace that contains at least one letter or number. Punctuation attached to a word — a comma, a closing quote, a question mark — never changes the count.

Edge cases where counters disagree comparison
TextCounted asWhy
don’t, it’s, Sam’s1 word eachAn apostrophe does not separate words.
well-known, mother-in-law1 word eachNo whitespace inside the hyphenated word.
this—that (no spaces)1 wordA dash with no spaces joins the two parts.
wait — what (spaced dash)2 wordsThe dash stands alone and contains no letter or number.
3.14, 1,000, $20, 50%1 word eachEach contains a number, so it counts.
e.g., U.S.A.1 word eachPeriods inside an abbreviation do not split it.
name@example.com, https://example.com1 word eachNo whitespace inside the address.
and/or1 wordA slash with no spaces does not split the word.
🎉 or • on its own0 wordsIt contains no letter or number.

Why Word, Google Docs, and online counters differ

Word processors count the document, not just the text you copied. Depending on the program and its settings, footnotes, endnotes, text boxes, headers, and captions may or may not be included, so a count taken inside the document can differ from a count of the same body text pasted elsewhere.

They also make different choices on the edge cases above — especially standalone dashes and symbols, and words joined by slashes or dashes. On ordinary paragraphs the totals usually match exactly; when they differ, it is typically by a handful of words and traceable to one of those cases.

If a teacher, editor, or submission form names a specific tool for the official count, use that tool for the final check. For drafting and trimming, any consistent counter is fine, because what you care about is the change as you edit.

Languages written without spaces

Whitespace-based counting assumes spaces separate words. Chinese and Japanese are normally written without spaces between words, and Thai separates phrases rather than words, so a whitespace counter sees a whole run of characters as one “word”. Accurate word counts for those languages need dictionary-based segmentation, which varies between tools and browsers.

The Looty Tools Word Counter deliberately does not guess: an unbroken run counts as one word, and the character count is the reliable measure for those scripts. Many publishers and translators in those languages quote lengths in characters for the same reason.

Numbers, lists, and headings

  • Numbers count as words, so “Chapter 3” is two words and a year is one word.
  • List markers only count when they contain a letter or number: “1.” and “a)” count as words, but “•” or “-” do not.
  • Headings, captions, and list items you paste are counted like any other text. If a word limit applies only to body text, leave them out before counting.

How Word Counters Count Words FAQ

Does a hyphenated word count as one word or two?
One, as long as there are no spaces around the hyphen. “Well-known” and “state-of-the-art” each count as a single word in the Looty Tools Word Counter.
Are numbers counted as words?
Yes. Any group of characters between spaces that contains a digit counts, so “2026”, “3.14”, and “$20” are one word each.
Do emoji count as words?
Not on their own. An emoji between spaces has no letter or number, so it is not counted. An emoji attached directly to a word does not change that word’s count.
Why did my count change after I removed a dash?
A dash with spaces on both sides is ignored, but deleting the spaces joins the neighboring words into one — “wait — what” is two words, while “wait—what” is one.
Is there a single “correct” word count?
No universal standard exists, so different tools can legitimately disagree on edge cases. What matters is using one consistent counter while you edit, and the tool your teacher or publisher specifies for the final number.

Related guides

Open the tool

Jump into Word Counter when you are ready to process your files.

← Back to all guides

More from Looty

Explore Looty’s Ecosystem

Discover more ways Looty can help you learn, organize, create, and make an impact.