Word counter
Type or paste text for live word, character, sentence and reading-time counts.
This tool runs in your browser. We never send what you type or paste to a server.
Common limits
| Where | Limit |
|---|---|
| Meta description (Google) | about 155–160 characters before truncation |
| Page title (Google) | about 50–60 characters |
| X (Twitter) post | 280 characters (standard accounts) |
| SMS message | 160 characters (GSM), 70 with emoji or some accents |
| UCAS personal statement | 4,000 characters |
Platform limits change; check the current rules for anything important.
How counts are calculated
Words are runs of letters or numbers, so "don't" and "e-mail" count as one word. Reading time assumes 238 words per minute (a typical adult silent reading speed) and speaking time 150 words per minute.
Example
The quick brown fox jumps over the lazy dog. is 9 words, 44 characters including spaces, and one sentence. Reading time is based on 238 words a minute; speaking time on 150.
Useful limits: a meta description shows about 155 characters in search results, a tweet allows 280, and an SMS segment is 160 plain characters.
What counts as a word here
A word is a run of letters or digits in any alphabet, which may contain an apostrophe, a full stop or a hyphen between letters. Some results that surprise people:
Text Words
e-mail 1
state-of-the-art 1
U.S.A. 3.14 2
well—known 2 an em dash separates words
a – b 2 a dash on its own is not a word
1,000 words 2 a comma between digits stays inside the number
https://example.com/a 3
#launch @team 2 symbols are ignored
Word processors use slightly different rules, so expect counts to differ by a few words on long texts. If a limit is strict, check in the tool the reader will use.
Characters are harder than they look
The character count is the number of Unicode code points, which matches what you see for nearly all text. Emoji are the exception: a flag such as 🇬🇧 is two code points, and a family emoji built from several people joined by invisible characters counts as five. Other software counts differently again: JavaScript's .length counts UTF-16 units, so 👍 has a length of 2, and databases and HTTP limits often count bytes, where é takes 2 bytes in UTF-8 and most emoji take 4.
SMS shows why this matters: one message holds 160 characters only if every character is in the GSM 7-bit alphabet. One emoji or certain accented letters switch the whole message to UCS-2, which allows 70.
Languages without spaces
Chinese, Japanese and Thai are written without spaces between words, so a whole phrase between punctuation marks counts as a single word here. For those languages the character count is the useful measure, and it is what most publishers and translators quote. In code, Intl.Segmenter splits such text into dictionary words (see below).
Counting in code and on the command line
JavaScript: splitting on whitespace is the quick version; Intl.Segmenter handles emoji and languages without spaces.
const text = 'The quick brown fox jumps over the lazy dog.';
console.log(text.trim().split(/\s+/).length); // → 9
console.log('a – b'.trim().split(/\s+/).length); // → 3 a lone dash counts as a word when splitting on spaces
console.log('👍'.length, [...'👍'].length); // → 2 1 .length counts UTF-16 units, not characters
console.log(new TextEncoder().encode('café').length); // → 5 bytes in UTF-8
const seg = new Intl.Segmenter('en', { granularity: 'grapheme' });
console.log([...seg.segment('🇬🇧')].length, [...'🇬🇧'].length); // → 1 2 a flag is two code points but one visible symbol
const words = new Intl.Segmenter('ja', { granularity: 'word' });
console.log([...words.segment('日本語のテキスト')].filter((s) => s.isWordLike).length > 1); // → true splits text written without spaces
Python:
text = "The quick brown fox jumps over the lazy dog. Don't panic."
print(len(text.split())) # → 11 split() with no argument splits on any run of whitespace
print(len(re.findall(r"\w+(?:['-]\w+)*", text))) # → 11 words as runs of letters and digits
print(len(text), len(text.replace(' ', ''))) # → 57 47 characters with and without spaces
Shell: wc counts words as runs of non-space characters, so a dash with spaces round it is a word.
wc -w < essay.txt # → 9 words (runs of non-space characters)
wc -l < essay.txt # → 2 counts line breaks, so a last line without one is not counted
wc -m < essay.txt # → 45 characters, including the two line breaks
PowerShell:
$m = 'The quick brown fox jumps over the lazy dog.' | Measure-Object -Word -Character -Line
"$($m.Words) words, $($m.Characters) characters, $($m.Lines) line" # → 9 words, 44 characters, 1 line
# Get-Content essay.txt -Raw | Measure-Object -Word for a fileQuestions
Does it count spaces as characters?
Both are shown: characters with spaces and without.
How long does it take to read 1,000 words?
About 4 minutes at an average reading speed, and about 7 minutes to say aloud.
Is my text saved?
It is kept in your own browser so it survives a reload, and is never sent anywhere. Clearing the box removes it. Very long texts are not saved.
Why is my word count different from Microsoft Word or Google Docs?
Each program draws word boundaries a little differently, for example around dashes, numbers with commas, URLs and symbols. The difference is usually a handful of words in a long document. When a deadline or submission system has a limit, its own count is the one that matters.
Why does the sentence count look too high?
A sentence ends at a full stop, question mark, exclamation mark or ellipsis followed by a space or the end of the text. So a decimal such as 2.5 does not end one, but an abbreviation followed by a space, such as Dr. Smith or e.g. this, does. Treat the count as an estimate for text full of abbreviations.
How many pages is 1,000 words?
About two pages single-spaced or four double-spaced, in a 12-point font with normal margins. Font, spacing and headings change this a lot, so use the word count rather than pages when a limit is given in words.