Sentence Counter screenshot

Sentence Counter

The sentence count, the words per sentence and the longest and shortest sentence, by a stated rule.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the sentence counter does

It counts the sentences in the text you paste and reports the count, the word count, the average words per sentence, and the longest and shortest sentence in words. A sentence ends at a full stop, question mark or exclamation mark followed by whitespace or the end of the text.

That rule is a heuristic. It does not detect abbreviations, so "Dr. Smith" is read as two sentences, and a decimal like 3.5 is not a sentence break because the full stop is not followed by whitespace. Text with no terminal punctuation at all counts as one sentence, which is the honest reading rather than zero.

In the sample the three sentences hold 15 words, so the average is 15 ÷ 3 = 5 words per sentence, with a longest of 6 and a shortest of 4.

The page reads up to 200 000 words in one run and refuses a larger paste by naming the cap. An empty box is refused rather than answered with zero.

How to use it

Paste the text into the text box.

Press Run. The result prints the sentence count, the word count, the average and the two ends of the range, with a basis line naming the rule.

Worked example

Input:

The page counts sentences. It also counts words per sentence. Does it split on abbreviations?

Output:

Sentences:                     3
Words:                         15
Average words per sentence:    5
Longest sentence:              6 words
Shortest sentence:             4 words

Why it runs in your browser

The split and the count run in this tab. Your text is never uploaded.

The page splits the text on the rule it states — a full stop, question mark or exclamation mark followed by whitespace — and reports how many sentences that produces, how many words they hold and the average words per sentence.

The longest and shortest sentence are printed in words, so a lopsided paragraph is visible in the answer rather than only in the average.

The split rule, and what it overcounts

A sentence ends where a terminal punctuation mark is followed by whitespace. That is a heuristic: an abbreviation like "Dr." ends a sentence under it, so "Dr. Smith arrived" is read as two. Text with no terminal punctuation at all counts as one sentence, because zero would be less true.

The page prints the rule in its result. A reader who needs linguistic sentence segmentation is better served by a parser; this page is for a word-count estimate, and it says which estimate it made.

How to use Sentence Counter

Paste the text into the text box.

Press Run. The result prints the sentence count, the word count, the average words per sentence and the two ends of the range.

What to Expect

Best for

  • Estimating the sentences in a draft
  • Spotting one sentence that runs far longer than the rest
  • Checking a word-count claim against the text it describes

Not ideal for

  • Text full of abbreviations, which the rule reads as sentence ends
  • A linguistic analysis that needs a real sentence parser
  • Languages whose sentence punctuation is not a full stop, question mark or exclamation mark

What this tool keeps

  • Every word you pasted, in order
  • The rule the split used, printed in the result

What may need cleanup

  • Abbreviations such as Dr. or e.g., which inflate the count
  • A list with no terminal punctuation, which counts as one sentence

Common errors

  • Reading the count as a linguistic fact rather than a rule-based estimate
  • Expecting a decimal such as 3.5 to end a sentence

Example use cases

  • Trimming a paragraph that runs too long
  • Comparing two drafts on average sentence length
  • Checking a readability claim

Sample input

Three sentences of 4, 6 and 5 words, the last one a question.

Sample output

Three sentences, 15 words, an average of 5 words per sentence, a longest of 6 and a shortest of 4.

Who this is for

  • Writers checking a draft
  • Editors comparing sentence length

Frequently asked questions

Why does the page count three sentences in the sample?

The sample has a full stop, a full stop and a question mark, each followed by a space, so the stated rule finds three. The 15 words divide as 4, 6 and 5.

Does an abbreviation end a sentence here?

Yes. The rule looks at punctuation and whitespace, not at words, so "Dr. Smith" is two sentences. The basis line says abbreviations are not detected, because a count that hides its rule is worse than one that states it.

What happens to text with no full stop at all?

It counts as one sentence. That is the honest reading of a rule that ends sentences at punctuation: with no punctuation the whole text is one unit.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.