About the Reverse Text
Reverse text character by character, reverse the order of words, or reverse the letters in each word. Emoji and accented characters are handled correctly.
Key features
- Reverse the whole text character by character
- Reverse word order while keeping each word intact
- Reverse the letters inside each word
- Reverse the order of lines
- Emoji- and accent-safe (grapheme-aware)
- Instant results as you type
Reverse text four different ways
Reversing text is useful for puzzles, palindrome checks, mirror-writing effects, programming exercises, flipping lists and reversing log files so the newest entries are on top. Choose how to reverse:
| Mode | Input | Output |
|---|---|---|
| Whole text | Hello world | dlrow olleH |
| Word order | Hello big world | world big Hello |
| Each word | Hello world | olleH dlrow |
| Line order | one⏎two⏎three | three⏎two⏎one |
Unicode done right
Text like café 👋🏽 contains characters built from multiple Unicode code points. A careless reversal produces broken output like 🏽👋 éfac with a detached skin-tone modifier or a stray accent. This tool uses the browser's Intl.Segmenter to reverse graphemes, the characters you actually see, so emoji, flags and accented letters survive intact.
Use cases
- Palindromes: check words like racecar and level.
- Puzzles and games: create hidden messages for escape rooms and treasure hunts.
- Lists: reverse a chronological list (Line order).
- Logs: put newest lines first.
- Coding practice: verify the output of your own string-reversal function.
Reversing in code
// JavaScript (grapheme-safe)
const reversed = [...new Intl.Segmenter().segment(text)].map(s => s.segment).reverse().join("");
# Python
reversed_text = text[::-1]
Related tools
Flip text upside down with Upside Down Text, or sort lines instead of reversing them with Sort Text Lines.
How to use the Reverse Text
- Type or paste your text into the input box.
- Choose the options you want.
- The result updates instantly as you type.
- Copy the output or download it as a .txt file.