Text Reverser

Reverse any text string instantly

Input Text

Result

How Does the Text Reverser Work?

Enter your text and choose a reversal mode. "Reverse Entire Text" flips all characters from end to start. "Reverse Each Word" reverses the letters within each word while keeping word order. "Reverse Word Order" keeps each word intact but reverses the order of words. This is useful for creating mirror text, puzzles, or just for fun.

Frequently Asked Questions

What does reverse entire text do?
It reverses all characters in the text. For example, "Hello World" becomes "dlroW olleH".
What does reverse each word do?
It reverses the characters within each word but keeps the word order. "Hello World" becomes "olleH dlroW".
What does reverse word order do?
It reverses the order of words but keeps each word intact. "Hello World" becomes "World Hello".

Related Tools

Reversing text: why it is harder than it looks

Reversing a string character by character breaks anything outside basic ASCII. Emoji, accented letters and Indic scripts are made of multiple code units, so a naïve reverse scrambles them. Correct reversal works on grapheme clusters — what a reader perceives as one character.

Kinds of reversal

ModeInputOutput
Reverse charactersHello WorlddlroW olleH
Reverse wordsHello WorldWorld Hello
Reverse each word in placeHello WorldolleH dlroW
Reverse linesline1↵line2line2↵line1
Flipped text (upside-down)Helloo‗‗ǝH — substituted Unicode look-alikes, not a real reversal
Mirror textHelloRequires a CSS transform, not a character change

Where naive reversal breaks

How to do it correctly

  1. Split into grapheme clusters, not characters. Modern JavaScript exposes this through Intl.Segmenter with granularity: "grapheme".
  2. Reverse the array of clusters, then join. This keeps emoji, accents and Indic conjuncts intact.
  3. The old idiom str.split("").reverse().join("") splits on UTF-16 code units and is unsafe for anything but ASCII.
  4. Using the spread operator, [...str], is better — it splits on code points — but still separates combining marks and joined emoji sequences.

Legitimate uses

Palindromes worth knowing

The longest widely-cited single-word palindromes in English are redivider and detartrated (11 letters). Sentence palindromes ignore spaces and punctuation: "A man, a plan, a canal: Panama" and "Never odd or even". Malayalam മലയാളം is itself a near-palindrome in transliteration, and Sanskrit has a long tradition of chitrakavya verses readable in both directions. Numeric palindromes are the reason the tool is used in programming interviews — reversing an integer without converting it to a string is a standard exercise.

More questions people ask

Why do emoji break when I reverse text?

Because most emoji are stored as more than one code unit, and many — families, skin tones, flags — are sequences joined by zero-width joiners. Reversing by character splits those sequences and the pieces render as replacement squares.

What is the correct way to reverse a string in JavaScript?

Segment into grapheme clusters with Intl.Segmenter using granularity "grapheme", reverse that array and join it. The classic split("").reverse().join("") works only for plain ASCII.

How do I reverse the order of words instead of characters?

Split the text on whitespace, reverse the resulting array, then join with a single space. This is unaffected by the Unicode problems that plague character reversal, because whole words stay intact.

Is upside-down text the same as reversed text?

No. Upside-down text substitutes visually similar Unicode characters — a turned e for an e, for instance — so it is a character mapping, not a reversal. It also usually reverses the order as well, to complete the illusion.

What is the longest palindrome word in English?

Redivider and detartrated, both eleven letters, are the usual answers among standard dictionary words. Longer examples exist in specialist vocabularies and in constructed words.

Everything on this page runs in your browser — nothing you type is uploaded or stored.

Answers, not just a number

Short, exact answers to the questions people ask alongside this tool — the number first, then the working.

For teams, not just visitors

Want this calculator on your own site?

We build the calculators on SnoopTool as embeddable widgets in your branding, wired to your own lead form — the same maths, your colours, your domain, your leads. Tell us which one and we will send back a working demo you can put in front of your team.

One reply from a person, within one business day. No newsletter, no sequence. See our privacy policy.

Copied to clipboard!