Word & Character Counter
Five live counts for your own text. Check words, characters, whitespace-free characters and sentences, plus a rough token estimate, without sending your text anywhere.
Counts update as you type, in this tab. No text is sent or saved. The limit counts UTF-16 units; an astral emoji uses two. Long pastes are never cut.
Enter text to see live counts. All five counts are zero at empty input.
- Words
- 0
- Characters
- 0
- Characters without spaces
- 0
- Sentences
- 0
- Estimated tokens
- 0
Estimated tokens = ceil(Unicode code points / 4). A rough, model-independent estimate; language and content can change actual token use substantially.
What these numbers mean
- Words
- Runs of non-whitespace, using the same definition as the GenPolish editor. Apostrophes and punctuation do not split a run; CJK text without whitespace counts as one word.
- Characters
- Unicode code points, not visible symbols or UTF-16 units. Combining accents and joined emoji can contain multiple code points. The 20,000-unit input limit is a separate technical measure.
- Characters without spaces
- Code points after excluding ECMAScript whitespace (\s), including ordinary spaces, tabs, line breaks and non-breaking spaces. This is not just a count without ASCII spaces.
- Sentences
- The editor’s heuristic: a period, exclamation mark or question mark followed by an ordinary space, CR, LF or the end of the text. Common abbreviations such as Dr., e.g. and vs. are protected, and a final non-empty fragment counts. A tab or non-breaking space alone does not end a sentence. This is not universal linguistic segmentation.
- Estimated tokens
- ceil(Unicode code points / 4), rounded up. This local approximation is not a tokenizer or tied to a model. Actual counts depend on the language and content.
Frequently asked questions
How are words and sentences counted?
A word is a consecutive run of non-whitespace characters, so punctuation on its own can count as a word. Sentences split after a period, exclamation mark or question mark followed by a space, line break or the end of the text, with some common abbreviations protected. A remaining non-empty fragment also counts as a sentence.
How are Unicode characters and spaces handled?
Characters are Unicode code points, not UTF-16 units or visible symbols. A combined emoji or a letter with a combining accent can contain several code points. Characters without spaces excludes JavaScript whitespace, including tabs and line breaks; it does not remove every invisible character.
Why might another counter or tokenizer show a different result?
Other tools may use language-aware word boundaries, visible-character clusters or different sentence rules. This tool uses whitespace-based words, so languages without spaces can produce very different totals. Estimated tokens is the character count divided by four, rounded up, not an actual model tokenizer or a billing calculation.
Related tools
Want to polish a draft?
Open the editor to review writing suggestions. Your text is not transferred.