Text Reverser
Reverse text, words, or lines with Unicode support.
text
formatter
A Developer's Guide to the Text Reverser
The Text Reverser is a fun and simple tool for flipping text around. It supports several different modes of reversal, making it more versatile than a basic string reversal function. It also correctly handles Unicode characters, including emoji.
Features
- Multiple Reversal Modes:
- Entire String: Reverses every character in the input string (e.g.,
abc
becomescba
). This mode fully supports multi-byte Unicode characters, so emoji and other special characters are handled correctly. - Words Only: Reverses the order of words in the string, but keeps the letters within each word in their original order (e.g.,
Hello World
becomesWorld Hello
). - Lines Only: Reverses the order of lines in a multi-line block of text, but keeps the content of each line intact.
- Entire String: Reverses every character in the input string (e.g.,
- Real-time Reversal: The output is updated instantly as you type or change the reversal mode.
How to Use
- Enter Your Text: Paste the text you want to reverse into the "Input" text area.
- Choose a Mode: Select your desired "Reverse Mode" from the radio buttons below the text areas.
- View the Result: The "Reversed Output" text area will immediately show the transformed text.
- Copy: Use the "Copy" button to grab the reversed text for your use.