Skip to content
TextArray
100% local

Reverse words

Reverse the order of the words in your text without spelling them backwards.

Input
Output

Reverse words

Paste any text and this tool flips the order of the words while every word stays spelled exactly as before. "the quick brown fox" becomes "fox brown quick the". This is different from reversing characters or mirror text: the letters inside each word are untouched, only their sequence changes, so the result is still perfectly readable.

Use the scope option to control how far the reversal reaches. Per line reverses the word order inside each line on its own and keeps the same number of lines, which is handy for reordering list items, log entries or lines of a poem one at a time. Whole text treats the entire input as a single stream, flattens the line breaks and returns one line with every word in reverse order — useful when the line breaks are incidental and you just want the last word first.

Extra spaces and tabs between words are collapsed to a single space, so messy pasted text comes back tidy. Windows and Unix line endings are handled the same way, and the live tally under the result shows how many words and lines were produced.

Everything runs locally in your browser. Nothing you paste is uploaded, stored or logged, so the tool is safe for private notes, drafts or client text. When you are happy with the result, copy it with one click or download it as a .txt file.

FAQ

How is this different from reverse text?
Reverse text turns each letter around, so "cat" becomes "tac". This tool leaves every word spelled normally and only reverses the order they appear in, so "black cat" becomes "cat black".
What do the scope options do?
Per line reverses the words within each line separately and keeps the line count. Whole text merges everything into one line with all words reversed, dropping the original line breaks.
What happens to double spaces and tabs?
Runs of whitespace between words are collapsed to a single space in the output, so the result stays clean regardless of how the input was spaced.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.