Sentence Order Reverser

Reverses the sequence of sentences in your text, last sentence first, while leaving the wording and punctuation inside every sentence untouched. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-23

Overview

Introduction

Reordering sentences, for example to see a paragraph read from its conclusion backward to its opening line, is a different task than reversing individual words or characters.

This tool runs entirely client-side, so nothing you paste is ever uploaded to a server.

What Is Sentence Order Reverser?

A sentence-order reverser that splits your text into sentences at each period, exclamation mark, or question mark followed by whitespace or the end of the text, reverses their order, and rejoins them with single spaces.

Each sentence's own wording and closing punctuation travel with it unchanged; only the sequence of sentences is affected.

How Sentence Order Reverser Works

The tool scans the text with a regular expression that matches a run of non-terminator characters followed by one or more `.`, `!`, or `?` characters, only when that terminator is followed by whitespace or the end of the string, then trims and reverses the resulting list of sentences.

The transformation happens synchronously in JavaScript the moment you type, with no network round trip involved.

When To Use Sentence Order Reverser

Use it to see a paragraph's argument read in reverse order, prepare text for a reading exercise, or restructure a list of standalone sentences.

It's a fast way to get the answer without opening a code editor, a REPL, or writing a one-off script just to check.

Features

Advantages

  • Keeps each sentence's own wording and punctuation intact.
  • Handles multiple sentence-ending punctuation marks, not just periods.

Limitations

  • Doesn't recognize abbreviations like 'Dr.' or 'e.g.', which can be misread as sentence boundaries.
  • Collapses spacing between sentences to a single space in the output.

Examples

Reversing sentence order

Input

The sun rose. Birds sang loudly! Did you see it?

Output

Did you see it? Birds sang loudly! The sun rose.

The three sentences keep their own text and punctuation; only their order is reversed.

Best Practices & Notes

Best Practices

  • Proofread the output when the source text contains abbreviations, since the sentence splitter can be fooled by a period that doesn't actually end a sentence.
  • Use this instead of a word or character reverser whenever you want each sentence to remain readable.

Developer Notes

Sentence splitting uses the regex `/[^.!?]*[.!?]+(?=\s|$)/g` (with a fallback alternative for trailing text with no terminator), which requires a sentence-ending punctuation mark to be followed by whitespace or end-of-string before it counts as a boundary, a lightweight heuristic rather than full natural-language sentence detection.

Sentence Order Reverser Use Cases

  • Reading a paragraph's sentences in reverse order for editing or analysis
  • Restructuring a list of standalone sentence-like statements
  • Preparing text for a reading-comprehension exercise

Common Mistakes

  • Assuming the wording inside each sentence changes too; only sentence order changes.
  • Not reviewing output for text with abbreviations, which can create incorrect sentence boundaries.

Tips

  • Combine with a word reverser if you need both sentence-level and word-level reordering.

References

Frequently Asked Questions