Chart the distribution of sentence lengths

Measure average words per sentence while accounting for punctuation traps.

freeworks offlinenothing uploaded
ToolSentence Length Analyser
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Text is segmented into sentences using terminal punctuation and boundary heuristics, then word counts are divided by sentence counts to produce an average length. Abbreviations, decimals, and quoted punctuation require exceptions to avoid false boundaries.

  • Words per sentence is a readability signal, not a complete quality score.

Worked example

Three sentences of very different lengths
A short opener followed by two longer sentences
Input
											Short. This one is a bit longer. And this third sentence is the longest of them all here.
										
Output
												Sentence 1 (1 words): Short.
Sentence 2 (6 words): This one is a bit longer.
Sentence 3 (11 words): And this third sentence is the longest of them all here.
											

When to use this

Editing, technical style reviews, and readability reports measure sentence length.

Edge cases

  • Mr. and e.g. contain periods without ending sentences.
  • A decimal such as 3.14 must not split a sentence.
  • Ellipses can represent one pause rather than three boundaries.