Text reverser

Reverse a text letter by letter, flip the order of its words or lines, reverse the letters inside each word, or mirror the characters. Free, and your text never leaves your browser.

How to use it

  1. Type or paste your text in the box.
  2. Pick what to flip in Reverse: the whole text, the words, the letters of each word or the lines.
  3. Tick Mirror the letters if you want look-alike mirrored characters.
  4. Click Copy to use the result.

Complete guide to reversing text, words and lines

What a text reverser is for

Reversing text sounds like a toy, but people need it for real reasons. Teachers and students use it to test palindromes and to practise string algorithms. Puzzle makers hide a clue by writing it backwards. Social media users want a bio or a caption that looks flipped. Spreadsheet and list owners need a list in the opposite order, for example to show the newest entry first. Developers use it to produce quick test data. This tool does all of that in one box, with four ways of reversing and an optional mirror effect.

One caution before anything else: backwards text is a visual trick, not protection. Anyone can reverse it again in a second, so never use it to hide passwords, personal data or anything sensitive.

The four reverse modes

Take the sentence The quick brown fox. Each choice in the Reverse menu treats it differently.

Choice in the menuResultWhat changes
The whole text, letter by letterxof nworb kciuq ehTEvery character, spaces included, in reverse order
The order of the wordsfox brown quick TheWords swap places, each stays readable
The letters inside each wordehT kciuq nworb xofWords stay in place, each is spelled backwards
The order of the linesLast line firstLines swap places, nothing inside a line changes

How it works

The text is split into characters, the list is reversed and the pieces are joined again. The split is made by complete characters, not by raw code units, so an emoji or an accented letter stays in one piece instead of turning into garbage. Accents typed as one character, such as the é in café, are safe. A letter followed by a separate combining accent mark is treated as two characters, so the mark may land on a different letter. Very long emoji made of several joined symbols can also change shape.

In word mode, each line is handled on its own: spaces are collapsed to a single space and the words of that line are reversed. Punctuation stays glued to its word, so Hello, world! becomes world! Hello,. In letters-inside-each-word mode, the spaces and line breaks are kept exactly where they were, and only each run of non-space characters is reversed, so the comma and the exclamation mark travel with their word. In line mode, the text is cut at every line break and the lines are listed from last to first.

Everything runs in your browser. The text is never uploaded, so you can paste private notes safely.

The mirror option

When you tick Mirror the letters, the tool first applies the reversal you chose and then swaps many characters for a look-alike that seems flipped left to right. Examples: b and d swap, a becomes ɒ, e becomes ɘ, r becomes ɿ, s becomes ƨ, n becomes ᴎ. Brackets and parentheses also swap sides, so (a) [b] reverses to [d] (ɒ). Letters with no mirrored version, including accented letters and most digits, stay as they are, and the symbols are rare characters that some fonts draw poorly. Test the result on the platform where you will publish it.

Worked example

  1. Type Hello, world! in Your text.
  2. Leave Reverse on the whole text and tick Mirror the letters.
  3. The result is !blɿow ,ollɘH. The text was reversed first, giving !dlrow ,olleH, and then d became b, r became ɿ and e became ɘ.
  4. Untick the mirror and the result is the plain !dlrow ,olleH.

With the lines mode, the three lines Monday, Tuesday and Wednesday come out as Wednesday, Tuesday, Monday.

Tips and common mistakes

  • To test a palindrome, remember that the tool keeps capital letters, spaces and punctuation. anilina reads the same both ways, but Ana comes back as anA. Remove spaces and punctuation and use one case before comparing a phrase.
  • Pick the mode first and look at the preview. Many people reverse the whole text when they only wanted the words in the opposite order.
  • Do not expect a perfect round trip with the mirror turned on. Some characters have no mirrored twin, so reversing the output again may not return the original text.
  • Check the result in the app where it will appear. Social networks and messengers can replace rare symbols with empty boxes.
  • For reordering a list alphabetically or at random instead of just flipping it, use the line sorter.

Related tools

If you enjoy playing with text, try the Caesar cipher to shift letters, the Morse code translator to turn words into dots and dashes, or the text to binary converter to see the bytes behind your characters.

Questions

What is the difference between reversing the text and reversing the words?

Reversing the whole text turns "hello world" into "dlrow olleh". Reversing the order of the words gives "world hello" and keeps each word readable.

Does it work with emoji and accents?

Yes. Characters are reversed as whole symbols, so emoji and accented letters are not broken. Very complex emoji sequences made of several parts may still change shape.

What does mirror do?

It replaces letters with look-alike characters that seem flipped, such as b and d swapped. Not every letter has a mirrored version, and some of these symbols may look different depending on the font.

Is my text sent anywhere?

No. Everything is done in your browser and nothing is uploaded or stored.