Text Reverser

Flip text backwards character by character, reverse the order of words in each line, or reverse the order of lines in a list. Emoji and accented letters are kept intact.

Text Reverser

Processed in your browser
Mode

How to reverse text

  1. Type or paste the text you want to flip.
  2. Pick a mode: reverse every character, reverse the order of words on each line, or reverse the order of the lines.
  3. Copy or download the result.

What each mode does

ModeInputOutput
Reverse charactersHello, world!!dlrow ,olleH
Reverse wordsone two threethree two one
Reverse linesfirst / second / third (on separate lines)third / second / first

Reverse characters mirrors the whole text, including line order, exactly as if you read it from the last character to the first. Reverse words keeps each word spelled normally but flips their order within each line, and keeps the lines where they are. Reverse lines keeps every line intact and simply turns the list upside down — handy for putting a chronological log in newest-first order.

How it handles emoji and accents

A naive reverser splits text into computer "code units", which breaks emoji and some accented letters into invalid fragments — you may have seen reversed text come out with question marks or boxes. This tool splits text into user-perceived characters (grapheme clusters) before reversing, so café 👋🏽 becomes 👋🏽 éfac with the emoji and its skin tone intact.

Practical uses

  • Checking palindromes. Reverse a word or phrase and compare. (Remove spaces and punctuation first for phrase palindromes like "Never odd or even".)
  • Reordering logs and lists. Reverse lines to switch between oldest-first and newest-first.
  • Puzzles, games and teaching. Mirror writing is a classic classroom exercise and a simple way to hide answers in quizzes.
  • Testing software. Developers use reversed strings to check that text fields handle unusual input and Unicode correctly.

Tips

  • Reversing text is not a form of security — anyone can reverse it back in a second, so do not use it to hide passwords or personal information.
  • If you need a list in alphabetical or numerical order rather than simply flipped, use the Text Sorter.
  • To remove repeated lines before reordering, run the list through Remove Duplicate Lines.
  • Right-to-left scripts such as Arabic and Urdu are already displayed from right to left; reversing them produces text that reads left to right in logical order, which is rarely what you want.

Frequently asked questions

Does reversing words change punctuation?

Punctuation stays attached to the word it was next to. "Hello, world!" in word mode becomes "world! Hello,".

Will emoji break when reversed?

No. Text is split into complete visible characters first, so emoji, flags and skin-tone modifiers stay intact.

Can I reverse a very long text?

Yes. Reversal happens in your browser and handles long documents quickly.

Is upside-down text the same as reversed text?

No. Upside-down text replaces letters with look-alike symbols; this tool only changes the order of characters, words or lines.

Embed this tool on your website

Copy this code and paste it into your page or blog post. It is free to use; please keep the credit link.

Last updated . Spotted a mistake? Let us know and we will correct it.