Skip to content
Utilboxes

Text Reverser

Paste text and choose what to reverse: the characters, the word order or the order of the lines. Characters are reversed as whole graphemes, so emoji, flags and accented letters survive intact rather than breaking apart. Running the output through the same mode again returns the original exactly. Your text is never uploaded.

Runs entirely in your browser

Updated

How to use the Text Reverser

  1. 1Paste your text.
  2. 2Choose what to reverse: characters, words, or lines.
  3. 3The result appears immediately.
  4. 4Copy it, or feed it back in to reverse again.

How it works

Reversing characters is less trivial than it looks. Splitting a string on its code units and reversing breaks anything outside the basic range: emoji come out as broken fragments, and combining accents attach to the wrong letter. This tool segments the text into graphemes — what a reader perceives as one character — before reversing, so 'café 👍' reverses correctly rather than turning into mojibake.

Word reversal splits on whitespace and reverses the order while leaving each word intact. Line reversal flips the order of the lines. Both preserve the content of what they move.

Your text is processed by JavaScript running in this page and is never sent over the network. That matters when you are pasting a draft, a client brief, meeting notes or anything else you would rather not hand to a server.

Tips and common mistakes

  • Reverse characters to check palindromes or make puzzles.
  • Reverse the order of lines to flip a log or a list so the newest entries come first.
  • Reverse words to read a sentence backwards while keeping each word readable.
  • Run the result through again in the same mode to get the original back.

Frequently asked questions

Does it handle emoji correctly?
Yes. Text is segmented into graphemes before reversing, so emoji, flags and accented characters survive intact.
Can I reverse the words but not the letters?
Yes. Choose "Reverse word order" and each word stays readable while their sequence flips.
Is reversing reversible?
Yes. Running the output back through the same mode returns the original text exactly.
What is reversing text useful for?
Checking palindromes, writing puzzles and games, flipping the order of lists and logs, and the occasional bit of fun.
Is reversed text the same as mirror writing?
No. Reversing changes the order of the characters; each letter still faces the normal way. Mirror writing flips the shapes of the letters.
Is my text uploaded?
No. It is reversed by the page in your browser.