What a reverse text generator does
A reverse text generator writes text backwards. The simplest version flips every character, so the last letter comes first. That is handy for puzzles, secret notes, games and checking palindromes. But “backwards” can mean other things too: you might want the words in reverse order, each word spelled backwards in place, or a list turned upside down. This tool does all five with one click each.
How to use it
- Type or paste into Your text. A sample is loaded so you can see each option.
- Pick a mode under Reverse:
- Whole text flips every character, including the order of the lines.
- Each line flips the characters of each line but keeps the lines in place.
- Word order reverses the words on each line.
- Letters in each word spells each word backwards but keeps the words where they are.
- Line order puts the last line first.
- The Reversed text box updates as you type.
- Press Copy or Download.
Examples
Each result below was produced by this tool. For the two-line examples, the input is “Hello world” on the first line and “Good morning” on the second, and ¶ marks the line break.
| Mode | Input | Result |
|---|---|---|
| Whole text | Hello world ¶ Good morning | gninrom dooG ¶ dlrow olleH |
| Each line | Hello world ¶ Good morning | dlrow olleH ¶ gninrom dooG |
| Word order | Hello world ¶ Good morning | world Hello ¶ morning Good |
| Letters in each word | Hello world ¶ Good morning | olleH dlrow ¶ dooG gninrom |
| Line order | Hello world ¶ Good morning | Good morning ¶ Hello world |
| Whole text | stressed | desserts |
| Whole text | racecar | racecar |
| Whole text | Never odd or even | neve ro ddo reveN |
| Whole text | Was it a car or a cat I saw | was I tac a ro rac a ti saW |
“stressed” spelled backwards is “desserts”, a well-known word puzzle. “racecar” comes out the same, which makes it a palindrome. The last two rows are palindromes too once you ignore spaces and capital letters.
How it works
Reversing text sounds simple, but a computer does not store text as the letters you see. An emoji with a skin tone is two code points, a flag is two, and some accented letters are a plain letter followed by a separate accent mark. A basic reverse function flips those pieces, so the accent jumps onto the wrong letter and the emoji splits into two symbols.
This tool uses your browser’s text segmenter to split the text into graphemes, which are the characters a reader actually sees. It reverses those, so “café” followed by a thumbs up with a skin tone comes out as the same thumbs up followed by “éfac”, with nothing broken. The word modes split on spaces and keep the spaces exactly as they were, including double spaces and tabs.
What people use it for
- Palindrome checks: reverse a word or phrase and compare.
- Puzzles and escape rooms: hide a clue that players must read backwards.
- Social media: a backwards username or caption stands out.
- Lists: turn a newest-first list into oldest-first with Line order.
- Language practice: spell words backwards to learn their letters.
- Testing: check that an app handles right-to-left looking text and emoji.
Tips and limits
- Reversed is not mirrored. The letters keep their normal shape. To make text that reads correctly in a mirror, use the mirror text generator.
- Capital letters stay where they were. “Hello” reversed is “olleH”, with the capital at the end. Run it through a case converter afterwards if you want normal capitals.
- Punctuation moves too in Whole text and Each line. A full stop at the end of a sentence ends up at the start.
- Right-to-left scripts such as Arabic and Hebrew are already shown right to left. Reversing them changes the stored order, which may not look the way you expect.
- Sorting is different. To put lines in A to Z order rather than just flipping them, use sort alphabetically.
Other ways to do it
Excel 365 and Google Sheets: =TEXTJOIN("", TRUE, MID(A1, SEQUENCE(LEN(A1), 1, LEN(A1), -1), 1)) reverses the text in A1. It works on simple text but splits emoji.
Word and Google Docs have no reverse function. You would need a macro or an add-on.
Code: in JavaScript, [...text].reverse().join('') handles most emoji better than text.split(''), though only Intl.Segmenter keeps every grapheme whole. In Python, text[::-1] reverses a string, and ' '.join(text.split()[::-1]) reverses the word order.
To make several copies of your backwards text, paste it into the text repeater.