Skip to content
ToolZone

Reverse Text

Reverse text by character, word order, or line order, useful for creating mirrored text, checking palindromes, or simple text tricks and puzzles.

Runs in your browser. Nothing you enter or upload leaves your device.

e.g. olleH

Emoji, flags and accented letters stay intact. Upside-down text uses look-alike Unicode characters and works best with lowercase letters and digits.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Reverse Text

Reverse Text flips whatever you type in one of three ways: character by character, word by word, or line by line. Pick the mode and the reversed version appears instantly, ready to copy.

How it works

Text is split into graphemes, the characters you actually see, using the browser's Intl.Segmenter. That's why an emoji, a flag or an accented letter is moved as one unit and never broken. Reverse text flips the graphemes; Reverse each word flips the letters inside each word but keeps the word order.

Reverse word order works line by line and keeps the spacing between words. Reverse line order flips the lines without touching their contents. Upside down reverses the text and swaps letters, digits and punctuation for look-alike Unicode characters, so it reads correctly when turned over.

How to use

  1. 1

    Type or paste your text into the box.

  2. 2

    Choose a mode: reverse text, word order, each word, line order or upside down.

  3. 3

    Copy the result, or click Use as input to reverse again.

Worked examples

Characters

Writing a phrase backwards.

Input
Hello world
Result
dlrow olleH

Words

Reversing word order with a double space.

Input
one two three
Result
three two one

The double space between two and three is kept.

Lines

Flipping a short list.

Input
a b c
Result
c b a
Limitations
Upside-down mode converts letters to lowercase, and characters without a look-alike stay as they are. Right-to-left scripts may display unexpectedly after reversal.
Assumptions
Words are separated by whitespace.
Privacy
Text is reversed in your browser and is not sent anywhere.

Frequently asked questions

What is the difference between reversing characters and reversing words?+

Characters mode flips the string letter by letter. Words mode keeps each word spelled normally but reverses their order.

Can this check if a phrase is a palindrome?+

Yes. In Reverse text mode the tool tells you when your text is a palindrome, ignoring spaces, punctuation, case and accents.

Do emoji survive reversing?+

They don't. The tool reverses whole visible characters, so emoji, flags and accented letters stay intact.

Does Words mode reverse each line separately?+

Yes. Reverse word order handles each line on its own, so line breaks stay where they were.

Related tools