Reverse Text Generator
Flip text backwards by letters, words or lines
Three different reversals, and they produce very different-looking results. Reversing by character gives the backwards or mirror text you see in puzzles, reversing by word order gives the same words in the opposite sequence, and reversing by line order turns a list upside down while leaving each line readable. The character mode works on code points rather than UTF-16 units, so a surrogate pair moves as one character and an emoji stays intact instead of being torn into two invalid halves. Two artefacts are worth knowing about. A combining accent is a separate code point, so decomposed text such as an accented vowel built from a base letter and a mark will come back with the mark in the wrong place. And a Windows line break reverses into a carriage return followed by a line feed — the wrong order. The same panel also hosts the other list operations.
Reverse any text instantly — character by character, word by word, or line by line. A fun effect for puzzles and games, and a handy utility for cleaning mirrored or RTL-pasted text.
Private Reverse Text Generator In Your Browser
Reverse Text Generator is processed locally with client-side JavaScript. Your files never touch a server, and there is no queue to wait in.
How to use Reverse Text Generator
Paste your text into the box labelled Input; the line count appears under its label.
Choose the operation from the dropdown, which opens on Reverse text (characters).
Read the Result panel below, which recalculates on every change to the input.
Switch to Reverse word order or Reverse line order if the character-level flip is not what you meant.
- Character, word-order and line-order reversals available from one dropdown
- Operates on code points, so multi-unit characters such as emoji move as a unit
- Twelve other list operations in the same panel, including sorting and deduplication
- Live result with no apply step
- A person setting a puzzle clue that hides a word by writing it backwards.
- Someone checking whether a string is a palindrome, since a palindrome is unchanged by the operation.
- A developer testing how their code handles reverse iteration over a list of lines.