Sentence Counter
Paste your text to count sentences, words and characters, see every sentence with its length, and find the ones that run too long. Abbreviations like Dr. and Jan. don't end a sentence here.
Words
0
Characters
0
Without spaces
0
Paragraphs
0
Avg words / sentence
0
Longest sentence
0 words
How the counter decides where a sentence ends
The counter starts from your browser's built-in sentence segmenter (Intl.Segmenter), which follows the Unicode sentence-boundary rules in UAX #29. Those rules already handle a lot: a full stop inside example.com, U.S. or $3.50 doesn't end a sentence, and neither does a full stop followed by a lowercase word.
They have no list of abbreviations, though. On its own, the segmenter ends a sentence after every Dr., Mrs. and Jan. followed by a capital or a number. Browsers ship ICU's abbreviation data but don't switch it on. The counter adds a second pass that joins those pieces back together, and does the same after a question or exclamation inside quotes when the next word is lowercase (“Is it?” she asked.).
| Text | Segmenter alone | This counter |
|---|---|---|
| Dr. Smith arrived. Hello world! | 3 | 2 |
| Mr. Smith met Mrs. Jones at 3 p.m. on Jan. 5. They talked. | 5 | 2 |
| J. K. Rowling wrote it. Then she rested. | 4 | 2 |
| “Is it?” she asked. Yes. | 3 | 2 |
| Prof. Dr. Müller kam z. B. um 9 Uhr. Gut. | 5 | 2 |
| The U.S. economy grew. Prices fell. | 2 | 2 |
| Visit example.com today. Email a.b@c.de now. | 2 | 2 |
| He works at Acme Inc. The company is big. | 2 | 2 |
| lowercase start. another one. and more | 1 | 1 (3 with lowercase starts on) |
The abbreviation list is deliberately short. It includes titles (Mr., Mrs., Ms., Dr., Prof., St., Sr., Sra.), reference words (Fig., No., Vol., p., pp., e.g., i.e., cf., vs.) and month abbreviations, plus common German, French and Spanish ones such as z. B., vgl. and Ud. It leaves out etc., Inc. and Ltd. because they often do end a sentence, as in the Acme row. Any single capital letter followed by a full stop is read as an initial, so Plan B. Then go. counts as one sentence. If that matters for your text, turn off "Abbreviations and initials".
Headings, list items and line breaks
Under the Unicode rules a line break always ends a sentence, whatever comes before it. That suits text you typed yourself, where a new line means a new heading, list item or paragraph. It doesn't suit text copied from a PDF or an email, where lines are wrapped at a fixed width and one sentence can run over three lines. In the table, ⏎ marks a line break.
| Text | Default | Changed setting |
|---|---|---|
| Title Line ⏎ First sentence here. Second one. | 3 | 2 with headings left out |
| - bullet one ⏎ - bullet two ⏎ - bullet three | 3 | 0 with headings left out |
| This is a long ⏎ sentence that wraps. ⏎ And another ⏎ one here. | 4 | 2 with wrapped lines joined |
| lowercase start. another one. and more | 1 | 3 with lowercase starts |
"Join wrapped lines" still treats a blank line as a break, so paragraphs stay separate, and it switches the paragraph count to blocks separated by blank lines. "Leave out headings and list items" also skips the last sentence while you're still typing it, until you add the full stop. Skipped lines stay visible in the sentence list, greyed out.
Example: splitting a 36-word sentence
Press Load example to put this paragraph in the counter:
Dr. Patel opened the clinic in Jan. 2019. “Will it last?” her neighbours asked. It did, and within five years the clinic had grown from a single consulting room above a pharmacy into a practice with six doctors, two nurses and a waiting list that stretched into the following spring. Patients still ask for her by name.
The browser's segmenter alone finds 7 sentences, because it breaks after Dr., after Jan. and before her neighbours asked. The counter finds 4, with 57 words and an average of 14.3 words per sentence. That average looks fine, but the list shows one sentence of 36 words carrying most of the paragraph. Splitting it gives:
… It did. Within five years, the clinic grew from a single consulting room above a pharmacy into a practice with six doctors and two nurses. Its waiting list stretched into the following spring. …
| Before | After | |
|---|---|---|
| Sentences | 4 | 6 |
| Words | 57 | 54 |
| Average words per sentence | 14.3 | 9.0 |
| Longest sentence | 36 words | 23 words |
| Sentences over 25 words | 1 | 0 |
Average sentence length hides the problem. Check the longest sentence and the number of flagged sentences as well as the average.
How long should a sentence be?
There is no correct length, but there are well-used yardsticks. Rudolf Flesch graded average sentence length in The Art of Readable Writing (1949), and GOV.UK's content team quoted the same levels when it set 25 words as the point to check a sentence:
| Average words per sentence | Reading difficulty |
|---|---|
| 8 or fewer | Very easy |
| 11 | Easy |
| 14 | Fairly easy |
| 17 | Standard |
| 21 | Fairly difficult |
| 25 | Difficult |
| 29 or more | Very difficult |
GOV.UK's rule is a prompt, not a ban: check any sentence over 25 words, split it if you can, and if you can't, make sure it's in plain language. The flag in the counter defaults to 25 for that reason. Pick 20 for web copy or 30 to 35 for academic writing. Mixing lengths matters too. A run of sentences that are all the same length reads flatly even when each one is short.
Why Word and other tools give different counts
Microsoft Word shows a sentence count only in its Readability Statistics, after a spelling and grammar check, and like every tool it has its own rules for abbreviations, headings and list items. Expect small differences on text with many abbreviations or bullet points, and check this counter's sentence list to see exactly where it split.
Word counts here follow the word-processor convention of counting runs of characters between spaces. A hyphenated word, an email address or a URL is one word. Tokens with no letters or digits, such as a lone dash, aren't counted. The browser's word segmenter would split many of these, which is why the counter doesn't use it for spaced languages:
| Text | This counter | Word segmenter |
|---|---|---|
| well-known e-mail | 2 | 4 |
| hello_world foo@bar.com https://x.com/a-b | 3 | 7 |
| 3.5 million $20 | 3 | 3 |
| 今日は晴れです | 4 | 4 |
Characters are counted as you see them. An emoji such as 👨👩👧👦 is one character even though it is 11 UTF-16 code units, so the count can be lower than a program that uses JavaScript's length.
Languages and browser support
The Unicode rules cover most scripts: Chinese and Japanese full stops (。), Arabic question marks (؟) and Spanish opening marks (¿ ¡) are all handled. For Chinese, Japanese and Thai, which are written without spaces between words, the word count comes from the browser's dictionary-based word segmenter instead. Everything runs in your browser; your text isn't uploaded.
| Browser | Intl.Segmenter since |
|---|---|
| Chrome and Edge | 87 |
| Safari | 14.1 |
| Firefox | 125 |
In an older browser the counter falls back to splitting after ., ! or ? followed by a space, and shows a notice under the tool. The abbreviation pass still runs, but the fallback splits after every full stop followed by a space, including before a lowercase word.
Frequently asked questions
Does a heading count as a sentence?
By default, yes: any line counts. Turn on "Leave out headings and list items" to count only lines that end in a full stop, question mark or exclamation mark.
Do bullet points count as sentences?
Each bullet is its own line, so each one counts unless you leave out unpunctuated lines. Bullets written as full sentences with full stops are always counted.
Is a sentence with a semicolon one sentence or two?
One. Semicolons, colons and dashes join clauses inside a sentence; only a full stop, question mark, exclamation mark or ellipsis followed by a new sentence ends one.
Why does my sentence count differ from Microsoft Word?
Tools disagree on abbreviations, headings and list items. Word shows its count in Readability Statistics after a spelling and grammar check. Use the sentence list here to see each split and adjust the settings.
Does "..." end a sentence?
Only when a capitalised word follows. "Wait... what?" is one sentence; "I waited... Nothing happened." is two.
What is a good average sentence length?
Around 14 to 17 words reads as fairly easy to standard on Flesch's scale. More useful is checking each sentence over 25 words, which is what the flag does by default.
Sources
- Unicode Standard Annex #29: Unicode Text Segmentation: the sentence, word and grapheme boundary rules the browser segmenter follows
- MDN: Intl.Segmenter: API reference and browser compatibility
- Inside GOV.UK: Sentence length, why 25 words is our limit: the 25-word check and the 11/21/25/29-word difficulty levels
- Rudolf Flesch, The Art of Readable Writing (1949): average sentence length scale from very easy to very difficult