InputTestHub

Reverse Text

Reverses text character by character, word by word or line by line, correctly handling emoji and accented characters.

Text Nothing uploaded No sign-up Free, unlimited
Text tool
Paste something on the left to see the result.
In short Reversing text can mean three different things and this tool does all of them: character by character, so "hello world" becomes "dlrow olleh"; word by word, keeping each word readable but flipping their order; or line by line. Character reversal is the one with a technical trap. Reversing by code unit breaks any character outside the basic range — emoji, many CJK characters and accented letters built from combining marks all come apart, producing replacement characters or marks attached to the wrong letter. This tool reverses by grapheme, which is the unit a reader thinks of as one character, so emoji and accented letters survive intact. That is the difference between a reverser that works and one that mangles anything non-English. The uses are puzzles, checking palindromes by eye, and testing how software handles right-to-left or unusual text. It is not a cipher: reversing is its own inverse and anyone can undo it instantly, which is the same caveat that applies to ROT13.

How to use the Reverse Text

  1. Paste your text into the input box on the left.
  2. Adjust the options above the box if you need a different behaviour.
  3. The converted text appears on the right; press Copy to put it on your clipboard.

About the Reverse Text

The Reverse Text reverses text character by character, word by word or line by line, correctly handling emoji and accented characters. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Puzzles, riddles and word games.
  • Checking a palindrome.
  • Reversing the order of a log file.

Frequently asked questions

Do I need an account to use the Reverse Text?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the page.
Can you see what I put into this page?
No. The Reverse Text runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
Can you show an example?
Enter "hello world" and the Reverse Text returns dlrow olleh.
What is the Reverse Text used for?
In practice it gets used for three things: puzzles, riddles and word games. Checking a palindrome. Reversing the order of a log file. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Does the Reverse Text work on a phone?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related text tools

All 92
01

Case Converter

Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…

02

Uppercase Converter

Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…

03

Lowercase Converter

Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.

04

Title Case Converter

Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…

05

Sentence Case Converter

Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…

06

camelCase Converter

Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…

07

PascalCase Converter

Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…

08

snake_case Converter

Converts text to snake_case for Python variables, database columns and file names.

09

kebab-case Converter

Converts text to kebab-case for URLs, CSS class names and HTML attributes.

10

CONSTANT_CASE Converter

Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…