Reverse Text
Reverse text by characters, words, or lines.
Use on any page (bookmarklet)
Want Reverse Text without leaving the page you're on? Drag the button below to your bookmarks bar, then click it on any website to open Reverse Text right there — it runs entirely in your browser.
Use responsibly: a bookmarklet runs on whatever page you click it on. Avoid sensitive sites such as online banking, payment, or healthcare pages — you run it at your own risk. Everything is processed locally and no data is sent anywhere. See our Terms.
- Show your bookmarks bar if it's hidden — Ctrl+Shift+B (⌘+Shift+B on Mac).
- Drag the button above onto the bookmarks bar.
- Open any website and click the bookmark — the Reverse Text panel appears in the top-right corner. Use ✛ to move it between corners, or ›/‹ to tuck it against the edge and pull it back out.
- Click the bookmark again (or the ✕) to close it.
Note: a few sites with strict security policies may block bookmarklets.
Examples
Reverse characters
Input
Hello
Output
olleH
Reverse word order
Input
the quick brown fox
Output
fox brown quick the
About this tool
This free online tool reverses text three ways: by characters, by words, or by lines. Type or paste anything and instantly get it backwards — whether you want a mirror-style string, the words in reverse order, or a list flipped end-to-end. Everything runs in your browser with no upload.
How to use
- Type or paste your text into the input box (or click Sample to try it).
- Leave both toggles off to reverse characters, or pick By words / By lines.
- Copy the reversed result from the output box.
Three scales of reversal
“Reverse text” means three different operations depending on what you consider the unit:
- By character — a true mirror. “hello world” becomes “dlrow olleh”.
- By word — each word stays readable, their order flips: “world hello”.
- By line — lines are untouched, their sequence reverses. Newest-first from oldest-first.
Why naive reversal breaks emoji
Reversing a string is the textbook one-line programming exercise, and the textbook version is wrong for real text. Split a string into code units and reverse it, and any character stored as more than one unit comes apart. Emoji are the visible casualty — a family emoji like 👨👩👧 is several separate people joined by invisible connectors, and reversing the pieces scatters them. Accented letters written as a base plus a combining mark suffer the same fate, with the accent landing on the wrong letter.
This tool reverses by grapheme — the unit a reader perceives as a single character — so emoji sequences, flags, skin-tone variants, and combining accents all survive. If you want to see how a given character is actually assembled underneath, the Unicode converter breaks it down by code point.
Reversal is not obfuscation
Reversed text offers no protection of any kind — anyone can paste it back and read it in a second. It is a visual effect, useful for puzzles and rendering tests, and nothing more. Encoding tools like Base64 are also not secrecy, for the same reason: they are reversible by design.
Common uses
Word games and puzzle construction, playful social posts, checking that a font or layout handles unusual sequences without breaking, testing software against right-to-left and combining characters, and — the most genuinely practical one — flipping a list end-to-end so the last entry comes first, without sorting it or retyping anything.
Frequently asked questions
What's the difference between reversing characters, words, and lines?
They operate at three different scales. Character mode turns "hello world" into "dlrow olleh" — a true mirror. Word mode keeps each word readable but flips their order, giving "world hello". Line mode leaves every line untouched and reverses their sequence, so the last line becomes the first. Most people arriving for a "text reverser" want character mode; most people with a practical problem want line mode.
Does it handle emoji and accented characters correctly?
Yes, and this is harder than it looks. A naive reversal splits text into code units, which shatters emoji into meaningless fragments and can detach an accent from its letter. Many emoji — flags, skin-tone variants, family groupings — are sequences of several code points joined together, and reversing blindly destroys them. This tool reverses by grapheme, the unit a human reads as one character, so 👨👩👧 and é survive intact.
Why does reversed Arabic or Hebrew text look wrong?
Because those scripts are already displayed right-to-left, and your browser applies its own bidirectional layout rules on top of whatever order the characters are stored in. Reversing the underlying string fights with that layout rather than mirroring the visible result. The reversal is correct at the data level; what you see is the browser re-ordering it for display.
Can I reverse a whole list of lines?
Yes — turn on 'By lines' and the last line becomes the first. This is the practical use most people actually need: flipping a chronological log to newest-first, reversing a sorted list without re-sorting it descending, or undoing an accidental reverse.
Is reversed text a way to hide something?
No. Reversal is trivially undone by pasting the result back in, so it offers no security whatsoever — it's a visual effect, not encryption. If you need to obscure text in transit, that's what encoding and hashing tools are for, and neither of those is secrecy either.
Does it preserve line breaks in character mode?
Character reversal treats the text as a whole, so line breaks are characters like any other and end up mirrored along with everything else. If you want each line reversed but kept on its own line, reverse them one at a time, or use word mode which works per line.
What is reversed text actually used for?
Word games and puzzles, checking that a font or layout renders unusual character sequences without breaking, testing that software handles right-to-left and combining characters properly, novelty social posts, and — most usefully — flipping the order of a list end-to-end without retyping it.
Is my text uploaded anywhere?
No. Reversal happens in your browser with no upload, so your text never leaves your device.
Related tools
Regex Tester
Test regular expressions with live match highlighting, groups, and replace.
Word Counter
Count words, characters, sentences, and reading time.
Case Converter
Convert text between upper, lower, title, camel, and snake case.
Character Counter
Count characters and stay under tweet, SMS, and meta tag limits — live.