Reverse word order
Handy for word games, flipping reversed lists and testing text handling.
Loading the tool…
Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.
How to use it
- Enter text and reverse.
- The result appears straight away and updates as you edit.
- Copy the result, or copy a link that keeps the same values to share it.
How it is calculated
A word is any run of characters between spaces. Order mode reverses the list of words in each line; letters mode reverses the characters of each word and keeps the spacing.
Example
Inputs: Reverse = Word order in each line. Result: Result: العربية القهوة أحب أنا four three two one; Words: 8.
أنا أحب القهوة العربية one two three four
العربية القهوة أحب أنا four three two one
Limits and caveats
- Punctuation attached to a word moves with it, so a comma after a word stays after it.
- In order mode, repeated spaces inside a line become a single space.
Questions about this tool
Do the lines move?
No. Each line is handled on its own and stays where it is; only the words inside it are reversed.
What does letters of each word do?
It writes every word backwards while keeping the words in order, so hello world becomes olleh dlrow.
Does it work with mixed Arabic and English?
Yes. Words are split on spaces, so it works with any language that separates words with a space.
