Sentence Counter

How to Count Sentences

Online in seconds, or manually in Word, Google Docs and Python. Here are all the methods.

Method 1: Online (fastest)

Go to quicktoolshub.org/sentence-counter. Paste your text and the count appears instantly along with average sentence length and readability stats. No sign-up, nothing sent to a server.

Method 2: Microsoft Word readability stats

Word doesn't show sentence count by default, but its Readability Statistics do:

  1. Go to File > Options > Proofing
  2. Check “Show readability statistics” and click OK
  3. Run a spell check: Review > Spelling & Grammar
  4. The dialog at the end shows Sentences, Average Sentences per Paragraph, and Average Words per Sentence

Method 3: Python

import re

# Simple regex approach
text = "Hello world. How are you? I am fine!"
sentences = [s.strip() for s in re.split(r'[.!?]+', text) if s.strip()]
print(len(sentences))  # → 3

# More accurate: NLTK
import nltk
nltk.download('punkt_tab')
sentences = nltk.sent_tokenize(text)
print(len(sentences))  # → 3

Method 4: JavaScript

const text = "Hello world. How are you? I am fine!";
const sentences = text.match(/[^.!?]*[.!?]+/g) || [];
console.log(sentences.length);  // → 3

Count sentences now — free, instant

Paste any text and see sentence count, average length and readability breakdown.

Use Sentence Counter →

Frequently asked questions

How do I count sentences online?

Use the free Sentence Counter at quicktoolshub.org/sentence-counter. Paste your text and the sentence count updates instantly, along with average sentence length and a readability distribution. No sign-up required.

Does Microsoft Word count sentences?

Not directly, but Word's Readability Statistics show sentence count. Go to File > Options > Proofing, check 'Show readability statistics', then run a spell check (Review > Spelling & Grammar). When complete, a dialog shows sentence count, average sentences per paragraph and average words per sentence.

How do I count sentences in Python?

Use regex to split on sentence-ending punctuation: import re; sentences = re.split(r'[.!?]+', text); count = len([s for s in sentences if s.strip()]). For more accurate results use the NLTK library: import nltk; nltk.download('punkt'); sentences = nltk.sent_tokenize(text); count = len(sentences).

How does a sentence counter work?

A sentence counter detects sentence boundaries by looking for terminal punctuation marks (period, exclamation mark, question mark) followed by whitespace or end of text. It counts each terminated unit as one sentence. Fragments without terminal punctuation are typically counted as one additional sentence. Different tools handle edge cases (abbreviations like Mr., decimal numbers, ellipses) differently.

Why would I need to count sentences?

Common reasons: checking readability (average sentence length is a key readability metric), meeting assignment requirements (some teachers specify sentence count), calculating Flesch-Kincaid or Gunning Fog readability scores (both require sentence count), proofreading to find run-on sentences, and measuring writing complexity for different audiences.

Do online sentence counters give accurate results?

They are accurate for standard prose. Edge cases that can confuse counters include: abbreviations with periods (Dr., Mr., e.g.), decimal numbers (3.14), quotations ending in punctuation inside quotes, and ellipses (...). For typical writing, online counters are accurate enough for all practical purposes.