What it does
A text reverser changes the order of characters. The simplest version turns Hello into olleH. This tool does that, but it also gives you three other ways to reverse a piece of text: line by line, word by word, or by moving whole lines around.
The important detail is how the tool decides what a “character” is. JavaScript strings are sequences of UTF-16 code units, and reversing those units blindly can tear an emoji in half or separate an accented letter from its accent. This tool uses grapheme clusters instead, so a family emoji, a flag, or an e with a combining acute stays together as one unit. The result is still a string of Unicode characters, but it behaves the way a reader expects a character to behave.
The original text stays visible in the left pane and the reversed result updates in the right pane. Nothing is overwritten until you copy the output, and nothing is uploaded at any point.
How to use it
- Paste or type the text into Your text.
- Choose a Reverse mode. The helper text under the selector explains what that mode will move.
- Check the preview. The footer reports the number of input lines, output graphemes, and output characters.
- Use Copy or Download to keep the result.
If the output looks wrong, the mode is usually the culprit. “Whole text” moves the lines as well as the characters, while “each line” leaves the line order alone. Switch between the two before assuming the tool made a mistake.
Modes explained
- Characters — whole text
- Reverses the entire string. The last character becomes the first, and the last line becomes the first line. This is the classic “read it backward” result.
- Characters — each line
- Keeps the lines in their original order and reverses the characters inside each one. A three-line list stays a three-line list, but each line reads backward.
- Word order
- Reverses the words inside each line without reversing the letters. Extra spaces, leading indentation, and trailing spaces stay in their slots, so the layout does not collapse.
- Line order
- Moves the last line to the top and the first line to the bottom, leaving the text inside each line untouched. Use it to flip a list, a changelog, or a ranking.
Examples
Before
Hello, world! 👋After
👋 !dlrow ,olleHThe greeting emoji stays whole and moves to the front. The punctuation moves with the characters around it, which is why the comma and exclamation mark end up in unexpected places. That is normal for a literal reversal.
Before
Red
Green
BlueAfter
deR
neerG
eulBEach line is reversed independently. The colors are still in the same order, which makes this mode easier to read when the list itself has meaning.
Before
First place
Second place
Third placeAfter
Third place
Second place
First placeThe lines move as blocks. Nothing inside them changes, so a ranking, a changelog, or a list of steps can be reversed without touching the individual entries.
When it earns its keep
- Word puzzles and riddles. Hide a clue or create a mirrored-looking message for a game or a social post.
- Checking palindromes. Reverse a word or phrase and compare it with the original by eye.
- Text art and design. Build a backward heading, a mirrored caption, or a deliberately awkward line for a poster or a mockup.
- List inspection. Flip a list to see the last items first, or reverse each line to check how a string ends.
- Testing an interface. Paste a reversed sample to check that a layout handles unusual character order and bidirectional text without breaking.
Limits worth knowing
- Graphemes are not glyphs. The tool keeps user-perceived characters together, but it cannot control how a font draws them. Ligatures and contextual forms may still look different after reversal.
- Bidirectional scripts are complicated. Reversing Arabic or Hebrew produces a string that may render incorrectly because the browser applies its own right-to-left rules. This is not a bidirectional text editor.
- No mirror-image letters. The characters are reordered, not replaced with visual mirror forms. A lowercase
bstays ab. - Word and line modes normalize some whitespace. Line endings become
\n, and a single trailing newline is dropped in those modes. Character mode preserves the text more literally. - Combining marks are only as safe as the browser. Current browsers support grapheme segmentation. Older ones fall back to code points, which can separate accents or complex emoji.
- Nothing is saved. Reload the page and the text is gone. Copy or download the result if you need it later.
Page updated