Text Reverser

Characters—
Reversed text—

How Text Reverser is calculated: Reverse text = characters in reverse order; reverse words = word order flipped; reverse lines = line order flipped.

What a text reverser does

A text reverser flips your text backwards. Paste in a word, a sentence, or a whole block, and it writes it in reverse. The default text on this page is “Hello world”, and reversed it reads “dlrow olleH” — 11 characters, backwards.

There are three ways to reverse text, and this page offers all three. Reverse whole text flips every character, so “Hello world” becomes “dlrow olleH”. Reverse word order keeps the words intact but flips their order, so it becomes “world Hello”. Reverse line order keeps every line intact but flips the lines, so a list runs bottom to top.

This reverser shows two results: the character count and the reversed text itself, which also appears in the output box below. Every result updates live as you type, and everything runs in your browser, so your text never leaves your device. There is no account to create and nothing to install.

Reversed writing has a long history. Leonardo da Vinci wrote his notebooks in mirror writing, right to left, which reads correctly only in a mirror. Nobody knows for certain why — left-handed convenience, secrecy, or habit — but the effect is the same as this tool produces: text that is readable only when reversed again. Mirror writing is the oldest form of text reversal, and it still shows up in art and puzzles today.

How text reversal works

Reversing whole text is the simplest of the three modes. Take the characters in order, write them down in the opposite order, and you are done. “Hello world” has 11 characters — H, e, l, l, o, space, w, o, r, l, d — and reversed they read d, l, r, o, w, space, o, l, l, e, H. Spaces reverse with everything else, so the space that sat after “Hello” sits before “olleH”.

Reverse word order splits the text on whitespace, flips the list of words, and joins them with single spaces. “Hello world” becomes “world Hello”. Note that joining with single spaces means extra spaces collapse: text with double spaces comes back with single ones. If your spacing matters, use the whole-text mode instead.

Reverse line order splits the text on line breaks, flips the list of lines, and joins them again. A list that reads one, two, three from top to bottom reads three, two, one after reversing. Each line keeps its own words in their own order — only the lines move. An empty box gives an empty output, never an error.

The three modes — which one to pick

Pick reverse whole text when you want the classic effect: a word or sentence written backwards, for a puzzle, a joke, or a test. It is also the mode for checking palindromes — a word that reads the same forwards and backwards, like “level” or “racecar”, comes back unchanged.

Pick reverse word order when the words matter but the order should not. Writers use it to break a sentence apart and see it fresh. Teachers use it to make word-order exercises: reverse a sentence, hand it to a student, and ask them to put it right. The words stay readable, which is the point.

Pick reverse line order when you are working with a list. A list sorted newest-first becomes oldest-first with one click. A set of steps written in the wrong order can be flipped and checked. Lines are the unit here, so a long paragraph with no line breaks is one line, and reversing it does nothing — split it into lines first.

Palindromes are the purest test of a reverser. Single words like madam, radar, civic, level, and racecar read the same forwards and backwards. The classic sentence is “A man, a plan, a canal: Panama”, which is a palindrome once the spaces, commas, and capital letters are removed. Reverse it with this tool and compare: if the reversed text matches the original, ignoring spaces and case, you have a palindrome.

A worked example: three modes, one text

Take the default text, “Hello world”. In reverse-text mode it becomes “dlrow olleH”. In reverse-words mode it becomes “world Hello”. In reverse-lines mode it stays “Hello world”, because it is a single line and there is nothing to flip.

Now take three lines: one, two, three. In reverse-text mode the whole block becomes “eerht owt eno” — every line backwards and the lines backwards too. In reverse-words mode it becomes “three two one”, because the line breaks count as whitespace and the words join with spaces. In reverse-lines mode it becomes three, two, one, each line intact. Same input, three different answers — the mode is the whole trick.

Try a palindrome. “racecar” reversed is “racecar”, and “level” reversed is “level”. A sentence like “Never odd or even” is a palindrome once you remove the spaces and lower the case — a case converter does the lower-casing, and this reverser does the check.

Who uses a text reverser, and why

Puzzle makers and game designers are the biggest users. Reversed text is a classic puzzle element — a clue written backwards, a code to crack, a word to unscramble. A reverser turns a list of answers into a puzzle sheet in seconds, and back again to check it.

Teachers use it for language exercises. Reversing a sentence forces a student to think about word order instead of reading on autopilot. Reversing a list of vocabulary words makes a quick spelling test. The tool is simple, but the exercises it enables are not.

Developers use it to test string handling. Reversing a string is the first test of any text function, and a known reversal — “Hello world” to “dlrow olleH” — is a quick check that code is working. A ascii converter shows the same text as numbers, which is the next test after reversal.

Reversed text is not a way to hide meaning from people. A screen reader will read reversed text letter by letter, which is slow but not secret, and anyone can reverse it back in a second with this tool. It hides text only from a casual glance — a puzzle, a joke, a spoiler warning. For real hiding, encryption is the answer, and a base64 encoder is a step in that direction, though even that is encoding, not encryption.

Text reverser vs case converter

A text reverser and a case converter both transform text without changing its length, but they do opposite jobs. The case converter changes how letters look — upper, lower, title case — and keeps the order. The reverser changes the order and keeps the letters. “Hello world” becomes “HELLO WORLD” in one and “dlrow olleH” in the other.

Use the case converter when the text is right but the formatting is wrong. Use the reverser when the order is the point — a puzzle, a test, a flipped list. The two tools combine well: reverse a sentence, then change its case, and it is unreadable twice over, which is exactly what a puzzle maker wants.

For counting rather than changing, a word counter tells you how long the text is before you reverse it — 11 characters for the default text. And a base64 encoder decoder is the serious version of the same idea: text transformed into a form that hides its meaning, then transformed back.

Common text-reversing mistakes

The first mistake is picking the wrong mode. Reversing whole text when you meant to reverse lines gives you every line backwards, which is rarely what anyone wants. Check the mode buttons before you copy the output — the three modes look similar and do very different things.

Second: forgetting that reverse-words collapses spacing. Text with double spaces, tabs, or mixed spacing comes back with single spaces between words. If the spacing matters, reverse the whole text instead, or fix the spacing first.

Third: emoji. Reversing whole text flips the two code units that make up an emoji, which can break it into pieces. A sentence with emoji in it will reverse cleanly except for the emoji itself. If your text has emoji, check the output before you use it.

Fourth: expecting a palindrome check. This tool reverses text; it does not tell you whether the result matches the original. To test a palindrome, reverse the text and compare it with the original yourself — if they match, it is a palindrome.

How to use this text reverser

Using this text reverser is simple. Paste your text into the box, or type it directly. Pick a mode — reverse whole text, reverse word order, or reverse line order — and the reversed text appears in the output box instantly. There is no button to press and no form to submit.

To reverse a different text, select all, delete, and paste the new one. The output updates live. To reverse it back, copy the output, paste it into the input, and reverse again with the same mode — reversing twice returns the original text, which is a quick way to check the tool is working.

Everything runs in your browser. No sign-up, no account, no data sent anywhere — your text never leaves your device. It works offline once the page has loaded. Try it with something real before you need it: reverse your name, reverse a sentence, and see the three modes side by side.

Numbers and dates break when reversed. The year 2026 becomes 6202, a phone number becomes unreadable, and a web address becomes useless. A sentence with a date in it will reverse cleanly except for the date itself, which will read backwards. If your text has numbers that must stay correct, reverse only the words, or split the numbers out first and put them back after.

Frequently Asked Questions

“dlrow olleH” in reverse-text mode, which flips every character. In reverse-words mode it is “world Hello”, and in reverse-lines mode it stays “Hello world”, because it is a single line. Pick the mode before you copy the output.

Reverse words flips the order of the words and joins them with single spaces, so “one two three” becomes “three two one”. Reverse lines flips the order of the lines and keeps each line intact, so a three-line list runs bottom to top. Words work on spaces; lines work on line breaks.

Yes, for all three modes. Reverse the output with the same mode and you get the original text back. That is a quick way to check the tool: reverse “Hello world” to “dlrow olleH”, then reverse that, and “Hello world” comes back.

Yes. Everything runs in your browser — your text is never uploaded, stored, or sent anywhere. You can use it offline once the page has loaded, and you can paste sensitive text like a password hint or a private note without worrying about who sees it.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.