Reverse Text
Reverse text online. Write a sentence backwards, reverse the order of words or lines, and keep emoji and accented letters intact.
How to reverse text
- Type or paste your text in the input box.
- Under Reverse, choose what to reverse: Characters (text backwards), Word order or Line order.
- For characters and words, tick Keep line order, reverse inside each line to work line by line. For lines, tick Also reverse the characters of each line to mirror the whole text.
- The result appears as you type. Reverse text refreshes it, and Copy puts it on your clipboard.
The three modes
Take the two-line text “Hello world” / “Good morning” as an example:
| Mode | Option | Result |
|---|---|---|
| Characters | – | “gninrom dooG” / “dlrow olleH” |
| Characters | Keep line order | “dlrow olleH” / “gninrom dooG” |
| Word order | – | “morning Good” / “world Hello” |
| Word order | Keep line order | “world Hello” / “morning Good” |
| Line order | – | “Good morning” / “Hello world” |
| Line order | Also reverse characters | “gninrom dooG” / “dlrow olleH” |
Characters (text backwards) reads the text from the last character to the first. Without the option, the last line comes first as well, exactly as if you read the whole text backwards.
Word order keeps each word readable and swaps their positions. Punctuation stays attached to its word, so “Hello, world!” becomes “world! Hello,”. The spaces between words are kept, including double spaces.
Line order turns a list upside down: the last line becomes the first. This is handy for logs, chat exports or lists sorted in the wrong direction. Blank lines are kept in their mirrored position.
Emoji and accents stay intact
Reversing text is trickier than it looks. Many characters that you see as one symbol are stored as several code points: an “é” may be an “e” followed by a combining accent, a thumbs-up with a skin tone is two code points, a family emoji is up to seven joined by invisible joiners, and a flag is a pair of regional letters. A naive reversal splits them, turning a flag into two letters and moving the accent onto the wrong letter.
This tool reverses user-perceived characters, called grapheme clusters, using the text segmentation built into your browser. “👍🏽🇨🇦é” becomes “é🇨🇦👍🏽”, with every symbol still whole.
Right-to-left scripts such as Arabic and Hebrew are stored in reading order and displayed right to left, so a reversed Arabic word may look “unreversed” in some places. The characters are reversed correctly; only the display direction differs.
Ideas for using reversed text
- Puzzles, riddles, escape-room clues and treasure hunts.
- Checking whether a word or sentence is a palindrome: “kayak” reads the same backwards.
- Reversing the order of a list or log without sorting it.
- Mirror-writing games and fun social media posts.
Reversed text is not a way to hide information: anyone can reverse it back in a second.
Frequently asked questions
How do I check whether a sentence is a palindrome?
Reverse the characters and compare. Palindromes usually ignore spaces, punctuation and case: “Never odd or even” becomes “neve ro ddo reveN”, which matches once spaces and capitals are removed.
Can I reverse a list without sorting it?
Yes. Choose Line order: the last line becomes the first, and nothing else changes.
Is reversed text the same as upside-down text?
No. Reversed text uses the same letters in the opposite order. Upside-down text replaces each letter with a similar-looking rotated symbol, which this tool does not do.
Does the tool change my line endings?
No. Windows (CRLF) and Unix (LF) line endings are kept as they were in your text.
Is my text sent anywhere?
No. The text is reversed in your browser and never leaves your device.
Related tools
- Sort Lines Sort lines of text alphabetically, numerically, by length or in natural order, reverse them or shuffle them randomly. Free and private, in your browser.
- Case Converter Free online case converter to change text to uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case and more.
- Text Repeater Repeat any text, word or emoji up to 10,000 times online, separated by new lines, spaces, commas or a custom separator, with optional numbering.
- Character Counter Free online character counter with live limits for X posts, SMS, meta titles, meta descriptions and Instagram captions. Emoji count as one.