Boundary detection uses visible punctuation
A sentence break is recognized when terminal punctuation is followed by whitespace. A line with no terminal punctuation is still counted as one sentence when it contains text.
Count sentences, average sentence length, and identify longest and shortest sentences in your text.
This counter splits text after a period, exclamation mark, or question mark followed by whitespace. It reports sentence count, average words, and the longest and shortest sentence by word total. The rule is transparent and fast, but abbreviations and punctuation conventions can produce different results from a language-aware editor.
A concrete input and expected output from the current implementation.
Input
Be clear. Test the result carefully! Ready?
Expected output
3 sentences, 7 total words, 2.3 average words per sentence
The middle sentence is longest with four words. The final question is shortest with one word.
A sentence break is recognized when terminal punctuation is followed by whitespace. A line with no terminal punctuation is still counted as one sentence when it contains text.
The average and distribution compare word totals, while the interface also records character length for each sentence.
The tool does not maintain a dictionary of abbreviations. It applies one visible rule so the result is predictable.
Not by itself in this implementation. Add terminal punctuation when a line should be counted as a completed sentence.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Count words, characters, sentences, and paragraphs in any text instantly.
Convert text between uppercase, lowercase, title case, sentence case, and more.
Paste text and hear it read aloud using Web Speech API. Adjust voice, speed, and pitch in real time.
Compare two blocks of text side-by-side and highlight differences instantly.
Paste text and instantly remove duplicate lines while preserving order.
Strip extra whitespace, fix line breaks, and normalize text for clean output.