Reverse Words
Flip the order of the words in each line, or keep the order and reverse the letters in every word.
Your text stays in this browser tab. Nothing is uploaded, saved or logged.
How the Reverse Words works
A word here is any run of characters between spaces, so punctuation stays attached to the word it touches: reversing “Hello, world!” gives “world! Hello,”. The spaces between words are left where they were, so the layout of your line is unchanged.
Order mode swaps the positions of the words within each line: the first becomes last. Letters mode reverses the characters inside every word but keeps each word in place. Letters are reversed by visible character, so emoji and accents stay whole.
Each line is handled separately. Blank lines are preserved and the order of the lines does not change; use Reverse Text for that.
How to use it
- Paste your text.
- Choose to reverse the word order or the letters in each word.
- Copy the result.
Example
The word order of each line is reversed; lines stay in place.
Input
The quick brown fox jumps over the lazy dog
Result
fox brown quick The dog lazy the over jumps
Frequently asked questions
Why is the punctuation attached to the wrong word?
Words are separated by spaces only, so a comma or full stop belongs to the word beside it. If you want punctuation removed first, run Remove Punctuation and then reverse.
Does it reverse the order of lines too?
No. Only the words in each line change. To reverse the order of the lines, use Reverse Text in whole-text mode.
Does it work for languages without spaces?
Chinese and Japanese are written without spaces between words, so a whole sentence counts as one word here. Use Reverse Text for those scripts.