Skip to content
Case Converter Online
en

Reverse Text Generator

Type anything and read it backwards. Reverse the whole text, each line, the word order, the letters in each word or the order of lines.

Reverse
Characters
0
Words
0
Lines
0

Runs in your browser. Your text is never uploaded.

What a reverse text generator does

A reverse text generator writes text backwards. The simplest version flips every character, so the last letter comes first. That is handy for puzzles, secret notes, games and checking palindromes. But “backwards” can mean other things too: you might want the words in reverse order, each word spelled backwards in place, or a list turned upside down. This tool does all five with one click each.

How to use it

  1. Type or paste into Your text. A sample is loaded so you can see each option.
  2. Pick a mode under Reverse:
    • Whole text flips every character, including the order of the lines.
    • Each line flips the characters of each line but keeps the lines in place.
    • Word order reverses the words on each line.
    • Letters in each word spells each word backwards but keeps the words where they are.
    • Line order puts the last line first.
  3. The Reversed text box updates as you type.
  4. Press Copy or Download.

Examples

Each result below was produced by this tool. For the two-line examples, the input is “Hello world” on the first line and “Good morning” on the second, and ¶ marks the line break.

Mode Input Result
Whole text Hello world ¶ Good morning gninrom dooG ¶ dlrow olleH
Each line Hello world ¶ Good morning dlrow olleH ¶ gninrom dooG
Word order Hello world ¶ Good morning world Hello ¶ morning Good
Letters in each word Hello world ¶ Good morning olleH dlrow ¶ dooG gninrom
Line order Hello world ¶ Good morning Good morning ¶ Hello world
Whole text stressed desserts
Whole text racecar racecar
Whole text Never odd or even neve ro ddo reveN
Whole text Was it a car or a cat I saw was I tac a ro rac a ti saW

“stressed” spelled backwards is “desserts”, a well-known word puzzle. “racecar” comes out the same, which makes it a palindrome. The last two rows are palindromes too once you ignore spaces and capital letters.

How it works

Reversing text sounds simple, but a computer does not store text as the letters you see. An emoji with a skin tone is two code points, a flag is two, and some accented letters are a plain letter followed by a separate accent mark. A basic reverse function flips those pieces, so the accent jumps onto the wrong letter and the emoji splits into two symbols.

This tool uses your browser’s text segmenter to split the text into graphemes, which are the characters a reader actually sees. It reverses those, so “café” followed by a thumbs up with a skin tone comes out as the same thumbs up followed by “éfac”, with nothing broken. The word modes split on spaces and keep the spaces exactly as they were, including double spaces and tabs.

What people use it for

  • Palindrome checks: reverse a word or phrase and compare.
  • Puzzles and escape rooms: hide a clue that players must read backwards.
  • Social media: a backwards username or caption stands out.
  • Lists: turn a newest-first list into oldest-first with Line order.
  • Language practice: spell words backwards to learn their letters.
  • Testing: check that an app handles right-to-left looking text and emoji.

Tips and limits

  • Reversed is not mirrored. The letters keep their normal shape. To make text that reads correctly in a mirror, use the mirror text generator.
  • Capital letters stay where they were. “Hello” reversed is “olleH”, with the capital at the end. Run it through a case converter afterwards if you want normal capitals.
  • Punctuation moves too in Whole text and Each line. A full stop at the end of a sentence ends up at the start.
  • Right-to-left scripts such as Arabic and Hebrew are already shown right to left. Reversing them changes the stored order, which may not look the way you expect.
  • Sorting is different. To put lines in A to Z order rather than just flipping them, use sort alphabetically.

Other ways to do it

Excel 365 and Google Sheets: =TEXTJOIN("", TRUE, MID(A1, SEQUENCE(LEN(A1), 1, LEN(A1), -1), 1)) reverses the text in A1. It works on simple text but splits emoji.

Word and Google Docs have no reverse function. You would need a macro or an add-on.

Code: in JavaScript, [...text].reverse().join('') handles most emoji better than text.split(''), though only Intl.Segmenter keeps every grapheme whole. In Python, text[::-1] reverses a string, and ' '.join(text.split()[::-1]) reverses the word order.

To make several copies of your backwards text, paste it into the text repeater.

Reverse Text Generator: questions and answers

How do I write text backwards?

Type or paste your text into the Your text box. With Whole text selected, the Reversed text box shows every character in the opposite order, so Hello world becomes dlrow olleH. Press Copy to use it.

How do I reverse the order of words but not the letters?

Choose Word order under Reverse. Hello world becomes world Hello. Each line is handled on its own, so the lines stay where they are.

What is the difference between reverse text and mirror text?

Reverse text puts the same characters in the opposite order. Mirror text also flips each letter so it looks like its reflection in a mirror, using look-alike characters. For that effect, use the mirror text generator.

Does it work with emoji and accented letters?

Yes. The tool reverses whole characters as you see them, not the hidden pieces they are made of. An emoji with a skin tone or a letter with an accent stays in one piece instead of breaking into strange symbols.

Can I reverse a list so the last item comes first?

Yes. Choose Line order. The lines are flipped from bottom to top and the text on each line stays the same.

More text tools

See all tools