Three ways to reverse text
Reversing by characters spells everything backwards. Reversing by words keeps each word readable but flips their order. Reversing by lines turns a list upside down. Punctuation stays attached to the word it touches, which is why the comma travels with “Hello”.
| Mode | Input | Output |
|---|---|---|
| Characters | Hello, world | dlrow ,olleH |
| Words | Hello, world | world Hello, |
| Lines | Gold / Silver / Bronze (one per line) | Bronze / Silver / Gold |
Words are reversed within each line, so a three-line poem stays three lines long, each one backwards.
What happens to spaces and line breaks
The three modes treat line breaks differently, which matters as soon as your text has more than one line. Reversing characters treats the whole text as one long string, so the last line comes first and each line is also spelled backwards. The other two modes keep each line where it belongs or move whole lines only.
| Mode | What gets reversed | Result for the two lines ab cd / ef gh |
|---|---|---|
| Characters | Everything, including the line break | hg fe / dc ba |
| Words | Word order inside each line | cd ab / gh ef |
| Lines | Line order only | ef gh / ab cd |
Spacing is kept exactly. Reversing words in “one” and “two” separated by two spaces gives “two” and “one” still separated by two spaces. And every mode undoes itself: reverse the result again with the same setting and you get your original text back.
Palindromes and word play
A palindrome reads the same in both directions: racecar, level, noon. Phrase palindromes only work once you ignore spaces, punctuation and capitals, so checking one takes a little preparation.
Example: Testing “A man, a plan, a canal: Panama”
- Lowercase it with the Case Converter
- Remove spaces and punctuation with Find and Replace (regex [^a-z] replaced with nothing)
- You get amanaplanacanalpanama
- Reverse by characters: amanaplanacanalpanama
Both match, so it's a palindrome.
Numbers and dates can be palindromes too. February 2, 2020 written as 02/02/2020 reads the same backwards as digits (02022020), whether you write the month or the day first.
Some words turn into different words backwards: stressed becomes desserts, drawer becomes reward, and live becomes evil. Teachers use these for spelling games, and puzzle makers hide reversed clues in escape rooms and treasure hunts.
Why emoji and accents need special care
Many characters are stored as several pieces. An accented letter can be a plain letter followed by a separate accent mark, and a flag emoji is two hidden letters: Canada's flag is C followed by A. Simple reversal code flips those pieces too, so the accent jumps to the wrong letter and the Canadian flag becomes A then C, the flag of Ascension Island.
This tool reverses whole user-perceived characters, the units the Unicode standard calls grapheme clusters. Skin-tone emoji, family emoji, flags and accented letters all come out intact, just in reversed order.
Practical reasons to reverse text
- Flip a newest-first log, chat export or bank statement into date order by reversing lines.
- Turn a top-10 list into a countdown, so number 1 is revealed last.
- Proofread backwards. Reading words in reverse order breaks the flow of meaning, so your eye catches spelling mistakes instead of skimming.
- Make puzzle clues, secret-message cards for a child's party, or mirror-style names for a game.
- Test how your own software handles emoji and accented text.
Example: Turning a ranking into a countdown
- Your list, one per line: 1 Paris, 2 Rome, 3 Tokyo, 4 Lisbon, 5 Cairo
- Reverse by lines
- New order: 5 Cairo, 4 Lisbon, 3 Tokyo, 2 Rome, 1 Paris
Read it top to bottom at the class party or quiz night, and the winner comes last.
Reversing lines doesn't sort them. If a list isn't already in order, sort it first with Sort Lines, then reverse.
Reversed text is not mirror writing
Reversing changes the order of characters, not their shapes. Mirror writing, famous from Leonardo da Vinci's notebooks, flips each letter so the page reads normally in a mirror. Reversed text in a mirror still looks backwards. Upside-down text is a third trick, made from look-alike symbols, and isn't what this tool does.
Arabic, Hebrew and Urdu are already written right to left, but computers store them in reading order and the display handles the direction. Reversing them doesn't produce a mirror image or a translation. It scrambles the letters, and in Arabic and Urdu the letters also take the wrong joined forms, so the result is hard to read.