Skip to content

Reverse Text Generator

Turn text backwards letter by letter, or reverse just the order of the words or lines. Pick a mode and copy the result.

Runs in your browserFree, no sign-upLast reviewed

Settings

Results update automatically as you type.

Reversed

dlrow olleH

Quick answers

How do I write text backwards?
Paste it in and leave Reverse by set to Characters. The last character becomes the first, so "The quick brown fox" comes out as "xof nworb kciuq ehT". Spaces, capitals and punctuation move with the letters.
How do I reverse the order of words in a sentence?
Choose Words in the Reverse by menu. "The quick brown fox" becomes "fox brown quick The". Each word keeps its spelling and its punctuation, so "Hello, world!" becomes "world! Hello,".
What is "Hello World" backwards?
"dlroW olleH" when every character is reversed. Reversing only the word order gives "World Hello", and reversing the letters inside each word gives "olleH dlroW".
Is reversed text the same as mirrored or upside down text?
No. Reversed text uses the same ordinary letters in the opposite order. Mirrored and upside down text swap each letter for a different Unicode symbol that looks flipped. For that effect use the Upside Down Text Generator on this site.
How do I reverse the order of lines in a list?
Choose Lines. The last line moves to the top and the first to the bottom, while the text on each line stays as it was. "first, second, third" on three lines comes back as "third, second, first".

Why use Reverse Text

Type something in and this tool hands it back in reverse. The Reverse by menu has four modes. Characters spells the whole text backwards, so "Hello world" becomes "dlrow olleH". Words keeps each word readable but puts the last word first: "world Hello". Lines flips a list so the bottom line comes out on top. Characters within each word spells every word backwards where it stands: "olleH dlrow". Capital letters, punctuation and spacing are carried along exactly as typed, and the output is ordinary text that pastes into any app. Nothing you type leaves your browser.

The four reverse modes compared

The same inputs run through each option in the Reverse by menu.

Reverse byWhat moves"The quick brown fox""Hello, world!"
CharactersEvery character in the textxof nworb kciuq ehT!dlrow ,olleH
WordsWhole words, spelling intactfox brown quick Theworld! Hello,
Characters within each wordLetters inside each word; word order keptehT kciuq nworb xof,olleH !dlrow
LinesWhole lines, top to bottomThe quick brown fox (one line, so no change)Hello, world! (one line, so no change)

A word here means any run of characters without a space, so attached punctuation is part of the word and is reversed along with it.

Reversing text that has more than one line

Line breaks change what each mode does. These are the tool's real results; a slash marks a line break.

Lines mode on a list of steps

step one / step two / step three

step three / step two / step one

Characters mode on two lines

line A / line B

B enil / A enil

The whole text is reversed as one string, so the last line ends up first as well as backwards.

Words mode on two lines

first line / second line

line second / line first

Word order is reversed across the entire text, not line by line.

Characters within each word on two lines

first line / second line

tsrif enil / dnoces enil

This is the only mode that keeps every word on its original line.

Words mode with commas

one, two, three

three two, one,

Commas stay glued to the word they followed. Gaps of several spaces are kept too, each one staying between the same two words.

Words that spell another word backwards, and palindromes

Each row was run through Characters mode. A palindrome is a word that comes back unchanged.

TypedReversedKind
stresseddessertsSpells a different word
drawerrewardSpells a different word
diaperrepaidSpells a different word
deliverreviledSpells a different word
liveddevilSpells a different word
partsstrapSpells a different word
liveevilSpells a different word
potsstopSpells a different word
racecarracecarPalindrome
kayakkayakPalindrome
levellevelPalindrome
noonnoonPalindrome

Phrase palindromes do not come back identical because spaces and capitals are kept: "Never odd or even" reverses to "neve ro ddo reveN". Compare the letters only.

What happens to emoji, accents, numbers and punctuation

  • Numbers and dates are reversed like any other characters: "12345" becomes "54321" and "2026-10-08" becomes "80-01-6202".
  • Accented letters stored as a single character survive: "café" becomes "éfac", and "naïve café" in Characters within each word mode becomes "evïan éfac".
  • A simple emoji stays whole and just changes position.
  • Emoji built from several parts do not survive. A thumbs-up with a skin tone comes back with the tone separated from the hand, and a flag emoji has its two country-code letters swapped, so it shows a different flag or two letter symbols.
  • An accent stored as a separate combining mark is detached from its letter by a character reversal and lands on the character before it, or on nothing.
  • Brackets and quotation marks are moved, not swapped, so "(hi)" becomes ")ih(".
  • Text that is only spaces is treated as empty and returns a prompt to enter some text.

Reversing a string in Excel 365, Python and JavaScript

If you need the same result inside a spreadsheet or a script, these produce what Characters mode produces here.

Excel has no reverse function, but in Excel 365 this formula reverses the text in A1: =TEXTJOIN("",TRUE,MID(A1,SEQUENCE(LEN(A1),,LEN(A1),-1),1)).

In Python, slicing with a step of minus one does it: text[::-1]. To reverse word order use " ".join(text.split()[::-1]), which also collapses repeated spaces.

In JavaScript, [...text].reverse().join("") reverses by code point, which is the method this page uses. The older text.split("").reverse().join("") splits emoji in half and should be avoided.

How to get your result

  1. 1

    Type or paste into the Your text box.

  2. 2

    Open Reverse by and choose Characters, Words, Lines or Characters within each word.

  3. 3

    Read the output in the Reversed panel and copy it.

  4. 4

    Switch modes to compare results. Your original stays in the box.

Answers to common questions

What do people use backwards text for?
Word games and puzzle clues, checking whether a word is a palindrome, hiding a spoiler or quiz answer in plain sight, novelty captions and usernames, and producing test strings when checking how a form or program handles unusual input.
Can I reverse the letters but keep the words in the same order?
Yes. Choose Characters within each word. Every word is spelled backwards in place, so "The quick brown fox" becomes "ehT kciuq nworb xof" and the line breaks and spacing stay where they were.
Does the reversed text work on Instagram, WhatsApp or Discord?
Yes. The output is made of the same standard characters you typed, only in a different order, so it pastes anywhere plain text is accepted and needs no special font.
How do I get my original text back?
Reverse the result again with the same mode. All four modes undo themselves when applied twice. The original also stays in the input box while you work.
Does it read text aloud backwards or reverse audio?
No. It only reorders written characters. It does not produce sound, and reversed spelling is not the same thing as speech played backwards.
Is there a length limit?
There is no set limit. The reversal runs in your browser, so long passages are handled as fast as your device allows, and nothing is uploaded.
Will reversing make Arabic or Hebrew read left to right?
Not usefully. The characters are put in the opposite order, but apps still lay those scripts out right to left, so the result is simply the word spelled in the wrong order on screen.

Looking for something else? Browse all text tools or see every tool.