Word Counter
Count words, characters, sentences, lines, and paragraphs in your text instantly.
How the Word Counter works
Use the word counter to get statistics for any text. Type or paste your content into the "Text" input field. The tool automatically updates the counts as you type or paste.
The word counter displays the total number of characters, characters without spaces, words, lines, sentences, and paragraphs. A word is defined as any sequence of non-whitespace characters. Sentences are identified by periods, exclamation marks, and question marks. Lines are counted based on line breaks. Paragraphs are separated by double line breaks.
Formula used
words = runs of non-whitespace; sentences split on . ! ?
| Symbol | Meaning |
|---|---|
| input | any text, typed or pasted |
Counts update as you type. Academic and platform limits are word-based, so this is the number for essays, assignments, meta descriptions and captions — the raw character count lives in a separate tool.
Inputs used: Text.
Worked example
Here is an example of how to use the Word Counter with a specific text.
- Enter the following text into the "Text" input field: "ToolFactory makes free online tools that run entirely in your browser. No signup, no tracking, no waiting."
- The tool will immediately display the results.
- The output shows: chars: 106, charsNoSpaces: 90, words: 17, lines: 2, sentences: 2, paragraphs: 1.
Result:
- chars: 106
- charsNoSpaces: 90
- words: 17
- lines: 2
- sentences: 2
- paragraphs: 1
Frequently asked questions
- How do I count words in a document?
- Paste your document's text into the "Text" field of this word counter. The tool will automatically display the word count and other statistics.
- What is considered a word by this tool?
- This tool defines a word as any sequence of characters separated by spaces or other whitespace. Punctuation attached to words is included in the word count.
- Can this tool count sentences?
- Yes, this tool counts sentences. It identifies sentences based on the presence of periods, exclamation marks, or question marks at the end of a sequence of words.
- Does this tool work offline?
- This tool runs entirely in your browser. Once loaded, it can function without an active internet connection for counting text.
- What formula does the Word Counter use?
- It uses words = runs of non-whitespace; sentences split on . ! ?, where input is the any text, typed or pasted.
- How do I read the result?
- Counts update as you type. Academic and platform limits are word-based, so this is the number for essays, assignments, meta descriptions and captions — the raw character count lives in a separate tool.