Text Reverser: Reverse Text, Word Order or Line Order
By TheToolsBank Editorial TeamLast updated:
How to reverse text
- Type or paste your text into the box.
- Choose a mode: Reverse characters (the default), Reverse word order, or Reverse line order.
- Read the result below the box. It changes as you type or switch modes.
- Select Copy result to copy it, or Clear to start again.
Only one mode applies at a time. To combine two, copy the result, paste it back into the box, and switch modes.
The three reverse modes
| Mode | What it does | Input | Result |
|---|---|---|---|
| Reverse characters | Writes each line backwards, letter by letter | Hello, world! | !dlrow ,olleH |
| Reverse word order | Puts the words of each line in the opposite order | I love pizza | pizza love I |
| Reverse line order | Puts the last line first; each line stays as written | one / two / three (3 lines) | three / two / one (3 lines) |
Character mode and word mode both work line by line. Your line breaks stay where they are, so a three-line poem stays three lines long. Character mode on "one, two, three" written on three lines gives "eno", "owt" and "eerht", still in their original order.
How word order reversal handles spaces and punctuation
Word mode splits each line wherever there is a space or tab, reverses the pieces, and joins them with a single space. Punctuation stays attached to the word it touches, so "Hello, world!" becomes "world! Hello," rather than "world, Hello!".
Because the pieces are rejoined with single spaces, double spaces and tabs between words become one space. A space at the start of a line moves to the end, and a space at the end moves to the start. If spacing matters, tidy it first with the Whitespace Remover.
Emoji, accents and other special characters
Character mode reverses by Unicode code point. Plain letters, numbers, accented letters typed as one character (such as é) and simple emoji such as 😀 reverse correctly.
Some symbols are built from several code points, and those get split apart:
- Emoji with a skin tone, such as 👍🏽, become a loose skin-tone swatch followed by the default thumb.
- Flags are made of two letter symbols, so the US flag 🇺🇸 reverses to the letters S and U, which most devices show as two letters instead of a flag.
- Family and other joined emoji usually fall apart into separate people.
- An accent added as a separate combining mark ends up on the wrong letter.
Word mode and line mode never split characters, so these issues only affect character mode.
What people use reversed text for
- Checking a palindrome. "racecar" reads the same backwards. For phrases, compare letters only: "Never odd or even" reverses to "neve ro ddo reveN", which matches once you ignore spaces and capitals.
- Puzzles, secret notes and backwards captions for social posts.
- Flipping a list that is newest-first into oldest-first, such as a log or changelog, with line mode.
- Testing how an app or form handles reversed or right-to-left looking text.
Reversing is not the same as sorting. Line mode flips the current order; it does not put lines in A to Z order. For that, use the Text Sorter.
Common Mistakes to Avoid
Expecting character mode to reverse the whole text, including line order.
Solution:
Expecting mirror or upside-down letters.
Solution:
Leaving a blank line at the end before using line mode.
Solution:
Reversing text that contains flags or skin-tone emoji.
Solution:

