Reverse Text Generator
Use the CaseSwitch Reverse Text Generator to flip characters, words, or lines for puzzles and quick transforms. Pick a reverse mode, paste the text, copy the mirrored result. Reversal runs in this browser — nothing is uploaded.
Written by the CaseSwitch editorial team. We maintain these tools in the browser so drafts, keys, and images stay on your device.
Last reviewed: 23 July 2026
Processed locally in your browser. Nothing is sent to a server.
Paste or type text to convert. Output stays empty until there is input.
Character count: 0 · Word count: 0 · Line count: 0
Examples
Characters mode (default)
Input
Hello
Output
olleH
Characters — phrase
Input
Case Switch
Output
hctiwS esaC
Words mode
Input
one two three
Output
three two one
Lines mode
Input
a b c
Output
c b a
Characters — digits
Input
12345
Output
54321
How to use
- Paste the text to flip.
- Choose Characters (default), Words, or Lines.
- Copy the reversed output for the puzzle or debug step.
What this tool is for
Escape-room clues, kids’ mirror games, and debugging sometimes need a string backwards. This tool supports three modes: characters (default) reverses the code-point sequence; words reverses the order of whitespace-separated tokens while keeping the separators; lines reverses line order. It is a transform, not a translation into another language.
How it works
Mode `characters` (default) uses `Array.from(input).reverse().join("")` so most Unicode code points reverse cleanly compared to naive UTF-16 indexing. Mode `words` splits on `/(\s+)/` and reverses the pieces so spaces stay attached correctly while token order flips. Mode `lines` splits on newlines and reverses the line list. Combining marks and multi-code-point emoji can still look wrong after a reverse — preview first.
When to use it
Escape-room clues, classroom mirror games, reversing a list order, and checking a string that was stored backwards. Upside-down text is a different Unicode substitution on another tool.
When not to use it
Do not reverse legal text and expect it to stay valid. Do not reverse emoji ZWJ sequences for production i18n. Prefer Upside Down Text when you want lookalike glyphs instead of order reversal.
How it compares to related tools
Upside-down and mirror font tools substitute glyphs. Inverse Case flips letter case, not order. Pig Latin is a different novelty. This page only changes sequence.
Common mistakes
Reversing a URL and sharing it as a phishing lookalike. Reversing emoji sequences into broken symbols. Choosing words mode when you meant characters (or the reverse) and wondering why spaces moved differently.
Choosing a mode
Characters is the classic mirror of the whole string. Words is useful when you want “last token first” but each word still readable left-to-right. Lines reverses list order without changing the text inside each line — handy for chronologic logs you want newest-first visually.
Emoji and complex scripts
Emoji made of several code points (ZWJ sequences, skin tones) can split when reversed. Right-to-left scripts and combining marks may not look like a natural-language reverse. For puzzles, stick to plain Latin letters and digits.
Frequently asked questions
Why do some emoji break when reversed?+
Emoji can be multiple code points. Reversing the sequence splits them. Reverse plain letters for puzzles.
Which reverse mode should I pick?+
Characters for a full mirror, words for token-order flips, lines for reversing a list order.
Does characters mode use code points?+
Yes — `Array.from` so most supplementary characters reverse as whole code points rather than raw UTF-16 halves.
Is this the same as upside-down text?+
No. Upside-down tools substitute lookalike glyphs. This tool changes order only.
Can I reverse twice to restore?+
For plain characters and lines, yes. Complex emoji may not round-trip cleanly.
Is my text uploaded?+
No. Reversal runs in this browser.
Does CaseSwitch upload this text?+
No. Conversion, cleaning, and counting for this page run in your browser. Drafts are not sent to CaseSwitch for processing.
Related guides
Read our original articles on this topic.
Related tools
Pig Latin Translator
Translate English text into Pig Latin.
Sort Words Alphabetically
Sort words in ascending order with optional uniqueness.
Inverse Case Converter
Swap uppercase and lowercase letters.
Duplicate Line Remover
Delete repeated lines while preserving first occurrence order.
Remove Line Breaks
Join lines into continuous text.
Whitespace Remover
Collapse extra spaces and trim blank lines.
Find and Replace Text
Find and replace words or patterns across a document.
Character Remover
Remove specific characters, digits, or symbols from text.