Word Counter
Count words, characters, sentences and paragraphs as you type, with reading time, keyword density and Unicode-correct character counts.
Runs entirely in your browser — nothing is uploadedText
Drop a file or click to browse
Plain text, Markdown, CSV or subtitles. .docx and .pdf are not text files and are refused.Detail
| Words and sentences | |
| Average word length | — |
|---|---|
| Longest word | — |
| Average sentence length | — |
| Longest sentence | — |
| Average paragraph length | — |
| Unique wordsCase-folded, so The and the are one word. | — |
| How the characters are counted | |
| CharactersGrapheme clusters — what you see on screen. | 0 |
| Unicode code pointsWhat a VARCHAR(n) column usually limits. | 0 |
| UTF-16 code unitsWhat JavaScript's String.length reports. | 0 |
| UTF-8 bytesThe size on disk or over the wire. | 0 |
| Length targets | |
| Search result title | 0 / 60nothing to measure yet |
| Meta description | 0 / 160nothing to measure yet |
| SMS, single part | 0 / 160nothing to measure yet |
| X / Twitter post | 0 / 280nothing to measure yet |
Length targets are measured in characters. X counts every link as 23 characters whatever its real length, and an SMS drops from 160 characters to 70 as soon as one character falls outside the GSM-7 set, so treat both as a guide rather than a guarantee.
Keyword density
Type or paste some text to see which words it leans on.
About the Word Counter
Type or paste, and every number updates as you go: words, characters with and without spaces, sentences, paragraphs, lines and unique words, plus reading and speaking time at a pace you set. Underneath that sit the numbers that actually change how you edit — average and longest word, average and longest sentence with the offending sentence quoted back at you, average paragraph length — and a keyword table covering single words, two-word phrases and three-word phrases, with English function words filtered out and a box for the ones specific to your text, like a client name that is bound to top the list and tell you nothing. There is no stemming: run and running are counted separately, which is the honest behaviour for a frequency count even though an SEO tool would merge them. Drop in a .txt, .md, .csv or subtitle file if you would rather not paste, and copy or download the whole report as plain text or the keywords as CSV.
Two word counters will disagree on the same document, and it is always because they draw the boundary between one word and the next differently. This one follows the rules Microsoft Word and Google Docs use, so state-of-the-art is one word, 3.14 and 1,000,000 are one word each, don't is one word whichever apostrophe you typed, and an invisible soft hyphen inside a word is ignored rather than treated as a break. The hyphen rule is a switch, because a style guide occasionally wants the other answer.
The bigger trap is that Chinese and Japanese put no spaces between words at all. A counter that splits on whitespace reports one word for an entire Chinese essay — a confident, wrong number, which is the worst thing a counting tool can produce. Every Han, Hiragana and Katakana character is counted as one word here, the convention Word follows. Korean is deliberately not in that set: Hangul is written with spaces, so counting it per character would inflate it several times over. Thai, Lao, Khmer, Burmese and Tibetan have neither spaces nor a per-character convention and genuinely need a dictionary to segment, which this tool does not ship — so when it sees them it says outright that the word count is an undercount instead of quietly reporting a number you would trust.
Character count is not one number, it is four, and picking the wrong one is how a form that says "280 characters" rejects a post that looked like 240. The family emoji is a single character to a reader, seven Unicode code points, eleven UTF-16 code units — which is what JavaScript's String.length returns — and twenty-five bytes of UTF-8. All four are shown. The headline Characters figure counts grapheme clusters, what you actually see on screen, so an é typed as an e plus a combining accent counts as one and not two. Reach for code points when a database column is declared VARCHAR(n), code units when a JavaScript validator is doing the rejecting, and bytes when the limit is a file size or a network payload.
Sentence counting looks trivial and is not. Splitting on ., ! and ? turns *Dr. Smith paid 3.14, i.e. a bargain.* into five sentences instead of one. The counter here refuses to break on a full stop that sits inside a number, follows a single initial (which also catches U.S. and e.g.), follows one of about ninety known abbreviations, or is followed by a lowercase word on the same line. It is a heuristic and it is tuned to under-split rather than over-split, because merging two sentences nudges the average while a decimal point counted as a full stop wrecks it — expect it to occasionally miss a break after an unusual abbreviation followed by a capitalised name. Two switches cover what rules cannot guess: *every line is a paragraph*, for bullet lists, and *line break ends a sentence*, for headings and list items carrying no punctuation at all.
Word counters get pasted the things people are least willing to hand to somebody else's server: unpublished manuscripts, legal drafts, exam essays, patient notes, copy under embargo. This one is a static page, so there is no server to upload to. Everything runs in your browser through standard web APIs, and the site's Content-Security-Policy sets connect-src 'none', which means the browser itself refuses to let this page make a network request at all. Load it once, switch off your Wi-Fi, and it keeps working — and a file you drop on it is read locally and never sent anywhere.
Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.
Frequently asked questions
Why does my count differ from Microsoft Word or Google Docs?
For plain text it usually matches — hyphenated compounds, decimals and contractions all follow the same rules. Differences almost always come from what is in the document rather than how it is counted: Word includes text boxes, headers, footers and footnotes in its total, and none of that survives a copy and paste. If the gap is large and the text is Chinese or Japanese, check the note about per-character counting; if the text is Thai, the tool is telling you it cannot segment it.
Where does 238 words per minute come from?
It is the mean for silent reading of English non-fiction in Brysbaert's 2019 meta-analysis of 190 studies; 183 wpm is his figure for reading aloud, and 130 wpm is the usual advice for presenting to an audience. Both sliders are adjustable because the average hides a lot: dense technical prose, tables and code read far slower than narrative, so treat the figure as a planning estimate rather than a measurement.
Which character number does a tweet, a meta description or a database column actually use?
Different ones, which is why all four are shown. A Postgres or MySQL VARCHAR(n) limit counts code points. An HTML maxlength attribute and most JavaScript validators count UTF-16 code units, which is why one emoji can eat two of your allowance. A file size or request payload is bytes. X counts weighted code points and charges every link a flat 23 characters whatever its real length, and an SMS drops from 160 characters to 70 the moment one character falls outside the GSM-7 set — the length targets in the tool are measured in plain characters and carry that caveat on the page.
Can it count a .docx or a PDF?
No, and it refuses rather than pretending. A .docx (like .odt, .pptx, .epub and .pages) is a ZIP archive, so reading it as text would count compression noise instead of words; a PDF is a binary container. Both are detected on drop and rejected with a message pointing you at the PDF to Text tool or at simply pasting the text. Files that are text but not UTF-8 are also flagged, because silently decoding Windows-1252 as UTF-8 would count mojibake.
Are "run" and "running" treated as the same keyword?
No. There is no stemming or lemmatisation, so every inflected form is counted separately. Case is folded, so The and the are one word, and curly apostrophes are normalised so don't and don’t merge. Phrases never cross a comma, a full stop or a blank line, so "New York, London" cannot invent the phrase "york london".
What does the density percentage mean?
It is the share of slots of that phrase length. With phrase length set to 1 that is the familiar occurrences-over-total-words figure people mean by keyword density; with 2 or 3 it is the share of adjacent word pairs or triples. The exact denominator is printed under the table so you can check it rather than take it on trust.
Is there a size limit?
There is no upload cap, because nothing is uploaded. Word, character, sentence and paragraph counts stay exact at any size. Three things degrade honestly and say so on screen: past 300,000 characters the character count switches from grapheme clusters to code points, because segmenting a document that long on every keystroke would make typing unusable; past 500,000 characters a warning appears that re-counting on each keystroke will feel slow; and the keyword table is built from the first million words. Dropped files above 20 MB are refused outright rather than locking up the tab.