Text Reverser: Reverse Text, Words or Lines

Reverse text by character, by word or by line.

  • Text Tools
  • Free, no sign-up
  • Runs in your browser

Text Reverser tool

Reverse by

Reversed text is not encryption. Anyone can read it by reversing it again, so never use it to hide passwords or personal data.

About the Text Reverser

Reversing text has more uses than it seems: puzzles and word games, mirror-writing effects, checking palindromes, and flipping a log or a list so the newest entry comes first. This tool will reverse text at whichever level you need: every character, so hello becomes olleh; the order of words in each line; or the order of the lines themselves. Results update as you type and can be copied in one click. Nothing is uploaded, and the reversed text is ready to copy straight into a message, a puzzle or a document. To test whether a word reads the same both ways, use the Palindrome Checker, and for upside-down lettering try the Upside Down Text generator.

Reversal by character understands Unicode, so accented letters and most emoji come out whole instead of breaking into garbled fragments. Reversal by word splits each line at its spaces and joins the words back together with single spaces in the opposite order. Any spaces at the start or end of a line are dropped in the process.

Typical uses include puzzles and word games, testing palindromes, flipping a list or log that runs the wrong way round, and occasionally disguising a string so it cannot be read at a glance. That last use is not encryption: anyone can reverse the text again in seconds, so it offers no real protection.

Line mode is the quickest way to put the newest entry of a log or changelog at the top. It leaves the content of every line alone and only changes their sequence, while empty lines in word mode are kept exactly where they were. Character mode, by contrast, reverses the entire text as one string, so the last line also becomes the first.

How to use the Text Reverser

  1. Type or paste textAdd the words or lines you want to flip to the input box.
  2. Select a modeReverse characters, the words within each line or the order of the lines.
  3. Check the outputThe reversed version refreshes the moment you change the mode or the text.
  4. Copy itPress the copy button to take the reversed text with you.

Text Reverser features

  • Characters reversed across the whole text
  • Word order flipped inside each line
  • Line order turned upside down
  • Unicode-aware handling that keeps accents and emoji whole
  • Output that updates while you type
  • One-click copy and clear

Common uses

  • Checking whether a word or phrase is a palindrome
  • Putting the newest entry of a log or changelog first
  • Making puzzle text for games and quizzes
  • Seeing how a string looks when read backwards
  • Flipping a list without retyping it

Reversing text: characters, words and lines, and why emoji make it tricky

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Reversing text can mean several different things: flipping the order of characters so "hello" becomes "olleh", reversing the order of words so "one two three" becomes "three two one", or reversing the order of lines in a list. Each has its uses, from puzzles and palindromes to reordering logs. This guide explains the modes, their uses and the technical surprises that come with special characters.

Three ways to reverse

ModeInputOutput
CharactersHello worlddlrow olleH
WordsHello brave new worldworld new brave Hello
Linesfirst / second / third (on separate lines)third / second / first

Reversing each line on its own keeps the lines in place but flips the characters within each, which is useful for puzzles or mirrored effects in lists.

Practical uses

  • Reordering logs and lists: logs written oldest-first become newest-first by reversing lines.
  • Puzzles and games: reversed messages make simple codes for children's treasure hunts.
  • Palindromes: comparing a phrase with its reverse shows whether it reads the same backwards; Palindrome Checker does this while ignoring spaces and punctuation.
  • Testing software: developers reverse strings to test how programs handle unusual input.
  • Creative writing: reversed words and lines make striking visual poetry.

Why emoji and accents can break

Computers store some characters as more than one unit. Many emoji use two units, and some, such as family emoji, skin-tone variations and flags, are sequences of several characters joined together. Accented letters can be stored as a base letter plus a separate accent mark. A naive reverser that flips units one by one can break these apart, producing broken symbols or accents on the wrong letters.

Careful reversers work with grapheme clusters, the units people perceive as single characters, so an emoji or accented letter stays intact when reversed. If you see odd symbols after reversing text with emoji, the tool has split a character.

Reversed text versus mirrored text

Reversing changes the order of characters, but each character still faces normally. Mirrored text flips each letter's shape, like writing seen in a mirror. For the mirror effect, use Mirror Text Generator; for text turned upside down, use Upside Down Text.

Right-to-left languages

Languages such as Arabic, Urdu and Hebrew are written from right to left. Computers store their characters in reading order and display them right to left. Reversing such text produces the characters in the opposite logical order, which usually makes words unreadable rather than "fixing" direction. If text in these languages displays in the wrong direction, the problem is the display settings, not the character order.

A worked example: newest-first changelog

A developer keeps a plain-text changelog where each new entry was added at the bottom, so the file reads from oldest to newest. For a release page, newest-first is easier for readers. Reversing the lines puts the latest change at the top in one step, without retyping. If each entry spans several lines, separate entries with a unique marker first, because reversing lines would otherwise flip the lines within each entry too.

Reversing numbers

Reversing digits is a classic exercise in programming and mathematics: 12345 becomes 54321. Note that leading zeros disappear in many contexts, so 1200 reversed is "0021", which as a number is 21.

Common mistakes

  • Expecting reversed right-to-left text to read correctly.
  • Reversing multi-line entries by line and scrambling their internal order.
  • Using reversed text as a security measure; it is trivial to undo.

Reversing for fun and learning

Reversed text is a simple, safe way to introduce children to codes and ciphers. Write a short message, reverse it, and let them decode it by reading backwards or using a mirror. For a step up, the Caesar Cipher shifts letters through the alphabet, showing how real encryption began. Reversing text is also a common first programming exercise, because it teaches loops, indexes and how strings are stored.

Reversing words for language practice

Reversing the order of words in a sentence produces something like "school to went I". Asking learners to put the words back in order is a quick grammar exercise for any language, and it works well on worksheets and quizzes. Create the scrambled versions here, then print them alongside the original sentences as an answer key.

Checking the result

After reversing, read the output once. For character reversal, check that emoji and accented letters look intact. For line reversal, confirm the first and last lines swapped as expected and that no blank lines were lost or moved in a way that matters.

Reversing text in other languages

Reversal works for any language written left to right, including those with accents. For languages with complex scripts, such as Hindi or Thai, where letters change shape depending on their neighbours, reversed text may display oddly even when the characters are intact, because the shaping rules no longer apply in the new order.

Privacy

Text is reversed in your browser and never uploaded, so you can safely work with private notes or code.

Frequently asked questions

Will emoji and accented letters survive?

Yes. Reversal treats each visible character as a unit rather than splitting raw code units, so accents and the majority of emoji arrive intact. A few elaborate emoji made of several joined parts can still come apart.

How do word mode and line mode differ?

Word mode flips the order of the words within each line but leaves the lines where they are. Line mode leaves the content of each line alone and only changes their sequence, so the final line ends up at the top.

Is reversed text a safe way to hide something?

No. It only fools a quick glance, because anyone can reverse it back in a second. Never rely on it for passwords, keys, account details or any personal information.

What happens to punctuation?

Character mode flips punctuation together with every other symbol. With words or lines reversed, a comma or full stop remains glued to the word next to it and moves with that word.

Does it work with Arabic, Urdu or Hebrew?

The stored order of the characters is reversed, but browsers display right-to-left scripts using their own bidirectional rules, so what appears on screen can differ from what you might predict.

Is there a maximum length?

No. Everything happens locally in your browser, so long documents are reversed without delay and nothing you paste is sent to a server or stored anywhere.