Reverse Text
Reverse text by characters, by words, or by lines
Three reversal modes
The mode toggle selects what unit is reversed. Characters reverses the whole string left-to-right. Words reverses each word's characters while keeping word order — every word becomes a backward word. Lines reverses the order of lines so the last line becomes the first.
| Mode | Input | Output |
|---|---|---|
| Characters | Hello, World! | !dlroW ,olleH |
| Words | Hello World | olleH dlroW |
| Lines | Line 1 Line 2 Line 3 | Line 3 Line 2 Line 1 |
| Characters | abc def | fed cba (newlines preserved in position) |
Warning: Characters mode reverses the entire string including newlines. If your text has multiple lines, the newline characters will appear in reversed positions — which can break line structure. Use Lines mode to reverse line order while preserving each line's content.
Frequently Asked Questions
Your files stay on your computer. Dad promised.