Reverse Text
Reverse text backwards by character, reverse word order, flip each word or reverse the order of lines.
This guide is not yet available in your language and is shown in English.
Tool guide
What this tool does
Reverse Text writes text backwards without breaking emoji or accented letters. Choose to reverse the whole text, each line separately, the order of words, the letters inside each word, or simply the order of lines, which is handy for turning a log or list upside down.
Reversing a string is a classic exercise, but naive methods break real text. Splitting a JavaScript string into UTF-16 units and reversing them turns emoji into broken symbols, detaches accents from their letters and scrambles flags and skin-tone modifiers, because these are made of several code units or code points.
This tool reverses by grapheme cluster, the unit you perceive as one character, using the browser’s Intl.Segmenter. “Café 👋🏽” becomes “👋🏽 éfaC”, with the waving hand and its skin tone still together and the accent still on the e. Besides full character reversal it offers four other modes, so you can reverse sentence word order for puzzles, flip letters inside each word while keeping word positions, or invert line order.
How to use Reverse Text
- Type or paste the text you want to reverse, or press Sample.
- Choose a mode under Reverse: whole text, characters within each line, word order, letters inside each word, or line order.
- The reversed text appears instantly in the output.
- Press “Use output as input” and run the same mode again to check the text reverses back to the original.
- Copy, download or share the result.
Tips for better results
- Characters within each line keeps lines in place, which is better for multi-line text than reversing everything.
- Word order mode keeps punctuation attached to its word, so “Hello, world!” becomes “world! Hello,”.
- Reversing is not encryption. Anyone can reverse the text back in seconds.
- For text that looks flipped on its head rather than backwards, use the Upside Down Text Generator.
Common use cases
- Checking whether a word or sentence is a palindrome.
- Creating word puzzles, riddles or escape-room clues.
- Turning a newest-last log into newest-first.
- Testing how software handles reversed and right-to-left text.
Common mistakes to avoid
- Expecting reversed Arabic or Hebrew to read correctly: these scripts already run right to left, and the display engine reorders characters on screen.
- Using full reversal on a list when you only wanted the line order flipped.
- Relying on reversed text to hide passwords or personal information.
Frequently asked questions
Does it work with emoji and accented letters?
Yes. The text is split into grapheme clusters, so multi-part emoji such as flags, families and skin-tone variants, and letters with combining accents, are moved as single units and never broken apart.
What is the difference between reversing words and reversing each word?
Reversing word order keeps every word spelled normally but puts the last word first. Reversing each word keeps the words in place but spells each one backwards.
Can I reverse a list so the last line comes first?
Yes. Choose “Line order (last line first)”. Each line stays unchanged; only their order is inverted.
Is my text uploaded?
No. Reversal happens in your browser as you type, so the text never leaves your device.
Feedback & suggestions
Help us improve Reverse Text. We read every message.