Free Word counter
Grapheme count uses Intl.Segmenter when your browser supports it — best for emoji and combining marks. “Words” here means tokens split by Unicode whitespace (handy for English; unspaced CJK reads as fewer tokens). Code point count uses JavaScript string iteration and differs from UTF-16 length for astral symbols. Paragraphs are blocks separated by blank lines. Nothing leaves this tab.
How to use this tool
- 1
Open Word counter
Use it for this task: Word, line, paragraph, character, grapheme cluster, UTF-8 byte counts - live and local.
- 2
Paste your text
Add the content in the main text box, adjust any options, and review the live result.
- 3
Copy the finished text
Copy the output into your editor, chat, API request, or document when it looks right.
Quick facts
| Runs offline? | Yes — counting uses only built-in JavaScript and Intl APIs. |
|---|---|
| Same as Word or Google Docs? | No — office suites use proprietary word rules. This page uses simple, transparent metrics you can audit in the source. |
| Is text uploaded? | No. Safe Local Tools is static; your text never leaves this tab. |
| Why can UTF-16 units exceed code points? | Many emoji use two UTF-16 surrogates but one Unicode code point — graphemes reflect what users see. |
Top use cases
- Word, line, paragraph, character, grapheme cluster, UTF-8 byte counts - live and local.
- Runs offline?: Yes — counting uses only built-in JavaScript and Intl APIs.
- Same as Word or Google Docs?: No — office suites use proprietary word rules. This page uses simple, transparent metrics you can audit in the source.
- Is text uploaded?: No. Safe Local Tools is static; your text never leaves this tab.
- Why can UTF-16 units exceed code points?: Many emoji use two UTF-16 surrogates but one Unicode code point — graphemes reflect what users see.
FAQ
Do you estimate reading time?▾
Not here — divide the word count by your own words-per-minute assumption if you need that.
Are tabs and newlines excluded from non-whitespace?▾
Yes — anything matching Unicode white space is excluded from that total.
Can I count only a selection?▾
Paste just the selection; the tool always counts the entire box.
Why is my PDF paste so large?▾
Some PDFs paste invisible control characters — counts reflect the exact string your editor pasted.
Do you match AI tokenizer counts?▾
Switch to the AI tokens tab for quick estimates on popular models, or open the dedicated Token Counter for the full model picker.
Are counts logged server-side?▾
No — everything runs client-side in your browser.