Does Word Count Include Spaces? Formatting Rules
Does Word Count Include Spaces? The Direct Answer
No. Word count does not include spaces. Word count counts words, not the spaces between them. A 500-word document with 50 spaces is still a 500-word document.
Here's what actually happens when you write "Hello world" (no quotes):
- Characters: 10 (including the space)
- Characters with spaces: 11
- Words: 2
- Spaces: 1
The space is a separator, not a word. Most word processors and writing tools count words by identifying sequences of characters separated by whitespace.
Why This Confusion Exists
People get tripped up because character counts often include or exclude spaces as an option. When you see "1,234 characters," you might wonder if that counts the gaps too.
Most tools give you both numbers:
- Character count with spaces — the raw total
- Character count without spaces — just the letters and punctuation
Word count is simpler. Spaces don't count. End of story.
How Different Tools Handle Word Count
Not all word counters are created equal. Some tools have quirks that can throw off your count by a few words here and there.
Microsoft Word
Word counts words based on language detection. It treats hyphenated terms differently depending on your settings. Sometimes "state-of-the-art" counts as one word, sometimes three. Word's hyphenation settings control this behavior.
Google Docs
Google Docs is more straightforward. It counts hyphenated compounds as one word. It ignores most formatting marks and only counts actual text content.
Online Word Counters
Free online tools vary wildly. Some count headers and footers. Some don't. Some include footnotes, some don't. Always verify against your actual submission requirements.
Content Management Systems
Platforms like WordPress, Medium, and Substack count words based on their own algorithms. They usually ignore HTML tags and only count visible text, but the exact rules differ.
Formatting Rules That Actually Affect Word Count
Spaces themselves don't matter, but how you format your document can change what counts as a "word."
Hyphens and Dashes
En dashes (–) and em dashes (—) usually break words. A hyphenated phrase might count as one word or several, depending on the tool. To be safe, write out compound terms if word count precision matters.
Numbers and Dates
"2024" counts as one word. "January 1, 2024" counts as three words in most counters. Some tools count "2024" as two words if they treat digits as separate tokens.
URLs and Email Addresses
This is where things get messy. Most word counters will count "www.example.com" as one word. Some might count it as three or more segments. If you're pasting in URLs, expect discrepancies between tools.
Footnotes and Endnotes
Word processors typically count footnote text. Some online tools ignore them entirely. Check your tool's documentation if footnotes are part of your submission.
Word Count Comparison by Tool
| Tool | Spaces Counted? | Hyphenated Terms | URLs |
|---|---|---|---|
| Microsoft Word | No (word count only) | Varies by settings | 1 word |
| Google Docs | No (word count only) | 1 word | 1 word |
| Grammarly | No | 1 word | 1 word |
| Hemingway App | No | 1 word | 1 word |
| Scrivener | No | 1 word | 1 word |
| Most online counters | No (separate option) | Varies | Varies |
How to Get Accurate Word Counts
If your word count needs to be precise, here's what to do:
- Use your submission platform's counter — If you're submitting to a journal, use their counter, not yours. Different tools will give different numbers.
- Check mid-document, not just at the end — Some tools update counts in real-time, others lag.
- Copy to a plain text editor — Remove all formatting before counting to eliminate hidden characters that might throw off your count.
- Count twice with different tools — If the numbers match, you're probably good. If they don't, investigate the discrepancy.
The Bottom Line
Word count does not include spaces. It never has. If you need to know character count with spaces, use the character counter option in your tool of choice.
The real issue isn't spaces — it's which words count. Hyphenated terms, numbers, URLs, and special characters create the discrepancies you see between tools.
Pick one reliable tool, use it consistently, and verify against the destination platform before you submit.