Word Counter
Count words in real time — 100% local, nothing uploaded.
What counts as a word
The counter splits text on whitespace — any run of spaces, tabs, or newlines creates a boundary. "Hello-world" counts as one word. "it's" counts as one word. A lone hyphen between spaces counts as one word. Punctuation attached to a word doesn't separate it.
| Input | Word count | Why |
|---|---|---|
| "Hello, world!" | 2 | Comma and exclamation are attached to words |
| "test-driven development" | 2 | Hyphen within a token = one word |
| "foo bar" | 2 | Multiple spaces collapse to one boundary |
| " hello " | 1 | Leading/trailing whitespace is ignored |
| "---" | 1 | Non-space token still counts as a word |
The full stats panel
Word count is highlighted in the analysis sidebar, but the panel also shows character count, sentence count, paragraph count, syllable count, estimated reading time (at 200 wpm), and speaking time (at 130 wpm). All update in real time as you type.
File upload and drag-and-drop
Click Upload or drag any plain-text file onto the editor to load it. Accepted formats: .txt, .md, .html, .htm, .csv. Binary files (PDF, DOCX) are not supported — copy and paste the text content instead.
Frequently Asked Questions
Your files stay on your computer. Dad promised.