Skip to main content
CaseSwitch

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

  1. Paste the text to flip.
  2. Choose Characters (default), Words, or Lines.
  3. 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

Classroom games, puzzle hunts, novelty posts, and teaching morphology of onset clusters. Keep the source text — fluent players reverse Pig Latin easily.

Sort Words Alphabetically

Tag lists, glossary drafts, comparing two versions of a keyword set, preparing alphabetical credits, and stabilizing a permission list before diff.

Inverse Case Converter

Rescuing a paragraph typed with Caps Lock and Shift, reversing alternating-case jokes, checking how a UI looks with inverted labels in a fixture, and fixing a short paste before you apply sentence case for readable prose.

Duplicate Line Remover

Deduping email lists, unique-ifying a keyword list, cleaning a changelog pasted twice, preparing a column for import, and removing repeated headers from a log extract. Use it when duplicates are exact line repeats and you want to keep original order. Pair with the Whitespace Remover first if trailing spaces or mixed tabs make visually identical lines look different to you but not to the tool.

Remove Line Breaks

PDF copy-paste, OCR output, old plain-text emails, chat logs wrapped at a fixed width, and comments that wrapped at column 80 when you wanted a single string for a CMS or spreadsheet cell.

Whitespace Remover

Cleaning CSV cells, tightening pasted UI copy, normalizing Slack or email spacing before a character count, and preparing text for a case converter or duplicate-line pass when padding would create false unique lines.

Find and Replace Text

Renaming a term across a draft, normalizing spelling variants, stripping a repeated prefix, fixing a typo that appears dozens of times, and small regex cleanups (optional digits, `colou?r`-style variants, capture-friendly patterns). Test on a short sample before pasting a long document.

Character Remover

Cleaning invoice numbers out of a description, removing emoji from a slug candidate, stripping punctuation before a frequency count, deleting a separator from a pasted column, and preparing a string for a case converter when leftover marks would become part of a token.