TextReverse

Sentence Reverser

Paste a sentence and get its words in the opposite order — last word first, every word still readable. Switch modes above the box if you meant a full character-level reversal instead.

Sentence reversal is the mode people usually want when they say "reverse my message": the meaning is scrambled but the words survive, which is what makes it useful for puzzles, poetry exercises and word-order drills rather than just visual noise.

This sentence runs in reversereverse in runs sentence This

Need every letter reversed too? Reverse the characters

Transformation mode
0 characters0 words0 lines
Your transformed text will appear here...
0 characters0 words0 lines
Ctrl + Enter Copy resultEsc Clear

Sentence Reversal Examples

Word-order reversal applied to real sentences. Notice that punctuation stays welded to the word it was touching.

InputOutputWhat it shows
The cat sat on the matmat the on sat cat TheSix words, exactly reversed, all still readable.
Hello, World!World! Hello,The comma travels with "Hello" and the exclamation with "World".
I will call you tomorrowtomorrow you call will IA whole message reversed word by word.
one two threethree two oneRuns of multiple spaces are preserved, not collapsed.
Never gonna give you upup you give gonna NeverWord order flips; each word keeps its spelling.
first second thirdthird second firstNewlines count as whitespace, so line order flips too.
To be or not to bebe to not or be ToA palindromic word sequence at the phrase level.
leading and trailing trailing and leading Leading and trailing spaces stay where they were.

How Sentence Reversal Works

The implementation detail here matters more than it sounds, because it is what separates a clean reversal from one that mangles your spacing.

The sentence is split on whitespace, keeping the whitespace

The split uses a capturing group, so the separators end up in the array alongside the words. Reversing that array and rejoining it puts every gap back exactly as it was — double spaces, tabs and newlines all survive.

Punctuation belongs to its word

No attempt is made to detach commas or full stops. "Hello," reverses as one token, which is almost always what you want for puzzles; if you need clean sentence-case output, strip the punctuation before reversing.

Character mode is one click away

Selecting Reverse Text above the box switches to a full character-level reversal of the same input, so you can compare both readings of "reverse this sentence" without retyping anything.

Nothing is uploaded

Messages are exactly the kind of text people are careful about. The reversal runs in your browser, so no message body reaches a server, a log file or an analytics event.

Sentence, Word or Character?

One sentence, four reversals. The distinction between rows two and three is the single most common point of confusion on this site.

Shared input: Reverse this sentence now

TransformationResultReach for it when
Reverse word ordernow sentence this ReverseYou want the sentence read back to front, words intact.
Reverse every characterwon ecnetnes siht esreveRYou want the whole string mirrored end to end.
Reverse each wordesreveR siht ecnetnes wonYou want each word spelled backwards in place.
Reverse linesReverse this sentence nowYour text is a list and you only want the line order flipped.

Sentence Reversal Edge Cases

These four cases account for nearly every "that is not what I expected" moment with a sentence reverser.

Multiple sentences reverse as one block

Paste two sentences and the words reverse across both — the full stop from the first sentence ends up mid-output. If you want each sentence reversed independently, reverse them one at a time.

Line breaks are whitespace

In word mode a newline is a separator like a space, so a multi-line paste has its line order flipped as a side effect. Use reverse lines if flipping line order is all you wanted.

Quotation marks end up facing the wrong way

Curly quotes are directional. After reversal a closing quote can appear where an opening quote belongs. Straight quotes avoid the problem entirely.

Capitalisation does not follow the sentence

The word that was capitalised stays capitalised, so a reversed sentence usually starts lowercase and ends with a capital. Run the output through sentence case if you need it to read naturally.

Where Sentence Reversal Gets Used

The output is ordinary text with ordinary spacing, so it pastes cleanly into anything.

Messaging apps

A reversed message in WhatsApp, Messenger or Discord is readable enough to be a game rather than a wall. Because the words are intact, autocorrect will not fight you when you paste it.

Classroom exercises

Word-order reversal is a standard syntax and grammar exercise. Paste a set of sentences, reverse them, and students reconstruct the original order.

Poetry and creative writing

Reversing a line is a cheap way to find an unexpected phrasing. Poets use it as a generative constraint rather than as a finished result.

Spreadsheets and CSV data

Reversing the word order of a column of names or titles is a quick way to build a "surname first" variant for sorting. Paste a column, reverse, and paste back.

What a Sentence Reverser Is For

Backwards messages to friends

Readable-but-scrambled is the sweet spot for a joke message: it takes a few seconds to unpick rather than a copy-paste into a decoder.

Word-order puzzles

Reversed sentences make natural puzzle content because there is exactly one correct reconstruction and no ambiguity about the answer.

Language learning drills

Rebuilding a reversed sentence forces attention to syntax rather than vocabulary, which is a useful complement to flashcards.

Checking your own reversal code

If you are writing a reverse function, whitespace preservation is the detail most implementations get wrong. Paste a string with double spaces and tabs and compare.

Frequently Asked Questions

Related Text Tools

Browse all text tools →