Word counter
Type or paste, and every number updates as you go. Your text never leaves this browser.
Your text stays in your browser.
Structure and length of what you wrote.
Your text at a glance
Reading and speaking times are estimates.
Most of the time you want a word count for a reason: a teacher set a range, an editor set a ceiling, or you want to know whether a section has drifted longer than the rest of the piece. This page gives you the count, and the structure behind it — sentence length, paragraph length, and which words you are leaning on.
It works offline once loaded, it needs no account, and it does not have an opinion about your writing.
Every number here has a rule behind it, and the rules are written out below. That matters more than it sounds: two counters can read the same paragraph and report different totals, and the only way to know which total your deadline cares about is to know what each of them counted.
How this tool counts
A word is a run of characters with no spaces in it that contains at least one letter or digit. That is the whole rule, and it is what makes the counting predictable.
Because of that rule, "don't" is one word, "well-known" is one word, "3.14" is one word, and "https://example.com/page" is one word. A line of dashes is zero words, and so is a lone emoji, because neither contains a letter or a digit.
Word processors differ on the hyphen case in particular — some count "well-known" as two. If you are checking against a specific submission system, count once here and once there before you trust either near a hard limit.
There is no universal definition of a word
Ask ten people to count the words in "a half-baked compromise that won't survive the week" and you will not get one answer. Is "half-baked" one word or two? Is "won't" one or two? Nothing outside the sentence settles it — the language has no committee that ruled on the question.
So every counting tool picks a rule and lives with the consequences. There are two families of rule. One breaks the text at spaces and calls each surviving chunk a word. The other breaks at anything that is not a letter, which pulls hyphenated compounds and contractions apart. Word processors mostly sit somewhere between the two, carrying special cases accumulated over decades.
This page uses the space rule with nothing bolted on. The advantage is not that it is more correct than the alternative — neither is. The advantage is that it is predictable. You can look at any string in your document and know how it will be treated before the number appears.
The cases where two tools give two answers
The disagreements are concentrated in a handful of constructions, and they are the same handful every time. Here is what this page reports for each, and what a tool that breaks on non-letters would report instead.
| Input | Counted here | Under a letters-only rule | Why it matters |
|---|---|---|---|
| well-known | 1 word | 2 words | A 3,000-word essay with 40 compounds moves by over 1 per cent |
| mother-in-law | 1 word | 3 words | Same effect, larger per instance |
| isn't | 1 word | 2 words | Contractions are dense in informal prose and dialogue |
| 3.14 and 1,240 | 1 word each | 2 words each | Data-heavy text can shift by several per cent |
| https://example.com/page | 1 word | 4 or more | One long URL becomes a paragraph's worth of words |
| student@school.edu | 1 word | 3 words | The same problem in contact details and citations |
| — on its own | 0 words | 0 words | No letter or digit, so neither rule calls it a word |
| 🎉 on its own | 0 words | 0 words | Measured as a character, never as a word |
Where sentence counting surprises people
A sentence ends at a full stop, question mark, exclamation mark or ellipsis — but only when the next thing along is a space or the end of the text. Closing quotes and brackets are allowed in between, so He said "stop!" closes a sentence rather than leaving one hanging open.
That single condition does most of the work. The dot in 3.14 has a digit after it. The dots in example.com and in .co.uk have letters after them. None of them ends a sentence, and no list of exceptions was needed to get there.
Where the rule fails is the abbreviation that ends in a dot and is followed by a space. "Dr. Okonkwo arrived at 9 a.m. sharp." is one sentence to a reader and three to this counter, because "Dr." and "a.m." both look exactly like endings. Any tool without a dictionary of abbreviations behaves this way, and every such dictionary is incomplete. If your text is thick with them, treat the sentence count — and the average sentence length that depends on it — as approximate rather than exact.
- A run of terminators is one ending. "Really?!" and "wait..." each close a single sentence, not two or three.
- Text with no terminator at all counts as one sentence. That is why a headline or a bare list item reports 1 rather than 0.
- A line of nothing but punctuation counts as nothing, because a sentence has to contain a word to exist.
Paragraphs are blank-line blocks, not line breaks
Press Enter once and you begin a new line. Press it twice and you begin a new paragraph. This page follows that convention, and it is by far the most common reason a paragraph count comes out lower than expected.
The reason for the rule is pasted text. Copy a page out of a PDF and it usually arrives hard-wrapped, with a real line break at the end of every visual line whether the sentence ended there or not. Treating each of those as a paragraph would turn one page of prose into forty paragraphs and make the paragraph average meaningless. The line count is reported separately for anyone who wants the other number.
Two consequences follow. A bulleted list written on consecutive lines is one paragraph rather than six, so add blank lines between items if you want them counted apart. And a block holding no letters or digits — a row of asterisks used as a scene break, say — is not counted as a paragraph at all.
What the structural numbers are for
Words per sentence and words per paragraph are not scores. Nothing is being graded, and there is no target the page wants you to hit. They are here because they make a shape visible that is genuinely hard to see from inside a draft.
Prose written for a general audience tends to average somewhere from the mid-teens to the low twenties. Academic writing, legal drafting and technical documentation commonly run higher, and that is a property of the genre rather than a fault to correct. The figure is worth attention mainly when it moves: a section averaging 34 words per sentence inside a draft that otherwise sits near 18 is usually the section you wrote fast and have not reread.
An average also hides its own distribution. A page alternating four-word sentences with forty-word ones averages twenty-two, and reads nothing like a page of steady twenty-two-word sentences. If the average looks reasonable and the writing still feels heavy, the variation is where to look, not the mean.
Paragraph balance behaves the same way, which is why the longest and shortest paragraph appear next to the average — the distance between them says more than the average does. A single 280-word paragraph among paragraphs of 70 usually holds two ideas that have not been separated yet, or one idea that arrived with everything you know about it still attached.
Counting in a second language, or a script without spaces
The space rule assumes spaces. Chinese, Japanese, Thai, Lao, Khmer and Burmese do not put them between words, and a space rule would report an entire paragraph as one word. Where those scripts appear, the page hands the run to the browser's own word segmentation instead, which knows where the boundaries fall.
That gives a defensible word count, but be careful what you do with it. Length in Chinese and Japanese is conventionally stated in characters rather than words, so a limit expressed in words for a Japanese text was usually written with English in mind. If a submission system asks for 2,000 words and your text is in Japanese, that is a question for whoever set the limit, not for a counter.
Between two spaced languages the arithmetic differs but the caution is identical. The same argument written in Portuguese and in English does not come out at the same length; Portuguese generally needs more words to say it. A draft that fits a 2,000-word ceiling in one language may need cutting in the other, and translating is not a way to make a word count go down.
A worked example
Take this two-sentence paragraph: "The deadline is 12 March. I have written 1,240 words so far — about half of what the brief asks for."
- Words
- 20
- Characters (with spaces)
- 100
- Sentences
- 2
- Words per sentence
- 10.0
"12", "1,240" and the em dash behave the way you would expect: the numbers count as words, the standalone dash does not.
Frequently asked questions
Is my text uploaded anywhere?
No. The analysis runs in JavaScript in your browser. There is no request that carries your text, and no server that could store it. You can confirm this by opening your browser's network panel and typing.
Do hyphenated words count as one word or two?
One. "Mother-in-law" is a single word here because it is a single run of characters with no space in it. Some word processors split on the hyphen, so expect a small difference if you compare.
How are contractions counted?
As one word. "Don't", "it's" and "y'all" each count once, whether you use a straight apostrophe or a typographic one.
What counts as a sentence?
A full stop, question mark or exclamation mark followed by a space or the end of the text. A decimal point inside a number and a dot inside a domain name are not followed by a space, so they do not end a sentence.
Is there a size limit?
Not a hard one. Very large documents (over a million characters) switch the word-frequency table to sampling the first million so the page stays responsive; the word, character and sentence counts are always computed on the whole text.
Why is my paragraph count lower than the number of lines I typed?
Because a paragraph here is a block separated by a blank line. Text where every line ends with a single break — a pasted PDF page, a bulleted list, a poem — reads as one paragraph. Put an empty line between blocks to have them counted separately, or read the line count instead, which is reported alongside.
Does the count include the title, headings and the reference list?
It counts everything you put in the box, those included. Whether your marker or editor counts them is a different question, and the answer varies by institution and by brief, so the document you were given is the only reliable source. Where the rules exclude a section, paste the body text on its own rather than trying to subtract afterwards.
Can it count words in Chinese, Japanese or Thai?
Yes. Those scripts do not put spaces between words, so the page uses the browser's built-in word segmentation for runs written in them rather than splitting on spaces. The result is a reasonable word count, though length in those languages is more usually stated in characters, which is reported too.
Will it rewrite, expand or shorten my text?
No. This page measures text you have already written. It does not generate, rewrite, paraphrase or expand anything, and there is no button that would. Cutting a draft to length is an editorial judgement about meaning, and a counter has no access to meaning.
Why did the average sentence length jump after I added one sentence?
Averages move quickly when the denominator is small. A 200-word text with eight sentences averages 25; add a single 45-word sentence and it becomes 27. The figure steadies as the document grows, so below a few hundred words treat it as an impression rather than a measurement.