The Sentence Length Heatmap paints each sentence in your text green, amber, or red by its word count so readability hotspots are obvious at a glance. Long sentences are one of the strongest predictors of low readability: plain-language standards recommend an average of 15-20 words, and sentences past 25 words force readers to hold too much in working memory. Instead of counting by hand, this tool shows you exactly which sentences to split.
How it works
- Sentence splitting. The text is divided on sentence-ending punctuation —
.,?,!— with guards so abbreviations (e.g.,Mr.,Dr.), decimals (9.99), and ellipses do not trigger false breaks. - Word counting. Each sentence’s words are counted as whitespace-separated tokens containing at least one letter or digit, so prices like
£9.99count as one word and stray punctuation is ignored. - Colour banding. Each sentence is shaded by the band it falls into:
| Band | Word count | Colour |
|---|---|---|
| Easy | under 15 | green |
| Moderate | 15 to 25 | amber |
| Hard | over 25 | red |
The tool also reports the total sentence count, the average length, and the longest single sentence.
Tips and notes
- A low average can still hide one runaway sentence, so always check the longest figure and fix the reds first.
- The quickest fix is to split a long sentence at its first conjunction (
and,but,which) into two shorter statements. - Aim to keep most sentences green, allow occasional amber for rhythm, and eliminate red entirely from instructions and notices where comprehension matters most.