Guide
How to Count Words and Characters
Why word and character counts differ between tools, and how to choose a count that matches your purpose.
A word count is a convention, not a property of text. Tools disagree because they define what separates a word — whitespace, punctuation, or Unicode word boundaries — and character counts disagree at the code-unit level.
01Definitions to pin down
- Whitespace words: split on runs of spaces, tabs, and newlines.
- Unicode words: split on the boundaries defined by Unicode Standard Annex #29.
- Characters: UTF-16 code units, Unicode code points, and grapheme clusters are three different numbers.
Pick one and label it
A reading-time estimate is only reproducible if the word definition and the words-per-minute assumption are both stated.
02Limitations
Counts are language-sensitive: scripts written without spaces and texts that use combining marks can be counted differently even by tools that claim the same rule.
Frequently asked questions
- Why do two word counters show different totals for the same text?
- They use different word-boundary rules, most often whitespace splitting versus Unicode segmentation.
Sources
- Unicode Standard Annex #29: Unicode Text Segmentation — Unicode Consortium (accessed 2026-09-27)
Test this in your browser
The tool runs entirely in your browser; the input you use never leaves it.
About the author
Gampangin builds and maintains free, browser-based developer tools and the documentation that makes them trustworthy. The organization is accountable for every page published on this site.