How it works
The tool looks for sentence-ending punctuation (. ! ? … ‽), possibly repeated and possibly followed by a closing quote or bracket, that is followed by a space or the end of the text. It then applies exceptions to avoid the most common false breaks.
Blank lines always end a sentence, so a heading without a period is counted separately from the paragraph below it. Any text after the last punctuation mark also counts as a sentence.
Rules this tool follows
- Decimals: 3.14 never splits, because no space follows the period.
- Abbreviations: titles and short forms such as Mr., Mrs., Dr., Prof., St., vs., e.g., i.e., approx., No. and Fig. do not end a sentence.
- Initials: a single capital letter followed by a period (as in “J. R. R. Tolkien”) does not end a sentence.
- Lowercase continuation: if the next word starts with a lowercase letter, the sentence continues, as in “Really?” she asked.
- Repeated punctuation such as ?! or ... counts as a single ending.
Example
Input
Dr. Lee measured 3.5 cm. Was that right?! "Yes," she said.
Output
1. Dr. Lee measured 3.5 cm. 2. Was that right?! 3. "Yes," she said.
Common uses
- Calculating average sentence length for readability work.
- Checking assignments that specify a number of sentences.
- Splitting text into sentences for review or translation.
Limitations and notes
- Abbreviations outside the built-in list, such as “Inc.” followed by a capitalized name, may be treated as sentence ends.
- A sentence that ends with an abbreviation like “etc.” and is followed by a capitalized word is split correctly, but one followed by a lowercase word is not.
- Text without any punctuation, such as a list of lines, counts as one sentence per blank-line-separated block.