Text Tool
Reverse Words
Reverse Words helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.
Tool area
Everything runs in the browser.
Reference results
| Input | Result |
|---|---|
Market Street York | York Street Market |
Today, tomorrow! | tomorrow! Today, |
red blue
green | green blue red |
first second third | third second first |
harbour-side 25 | 25 harbour-side |
north east north | north east north |
How it works
The tool splits text on whitespace, reverses the resulting groups and joins them with single spaces. The letters in each word keep their order. Keep the original if you need to preserve formatting or tabs.
Using the result
Reversing the groups can help compare the order in two short labels. Treat attached punctuation as part of each group when doing that check. If the reversed text is meant to be read as a sentence afterwards, inspect the punctuation again because marks may have moved away from the clause they described.
Worked examples
- Reverse three labels for a test fixture. A tester uses three labels to verify the direction of a test sequence.
- Check where punctuation lands after reversal. An editor sees punctuation move and decides how to adjust the sentence for readability.
- Reverse a sequence copied from a tab-separated row. A technician checks the reversed groups and keeps the source file for its column layout.
Common mistakes
- Commas and exclamation marks stay attached to their neighboring tokens.
- Tabs and line breaks become spaces in the output.
- The order of the letters inside each group stays the same.
FAQ
How do I reverse the order of words?
Paste your text. The last whitespace-delimited group becomes the first.
What happens to punctuation?
It moves with the group it is attached to.
Can I reverse the result to get the original back?
That restores the group order. Tabs and the original spacing cannot be recovered from the result.
