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.
Updated
How to use the Text Reverser
- 1Paste your text.
- 2Choose what to reverse: characters, words, or lines.
- 3The result appears immediately.
- 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.