Reverse Text

Reverse characters, words, or the line order.

Characters
Words
Lines
Result
!dlroW ,olleH

This tool reverses text in three modes: by character (Hello → olleH), by word (one two three → three two one), and by line (reverses the order of lines in multi-line text).

That's useful for a variety of tasks: creating "mirrored" text for design purposes, checking a palindrome, reversing a list's order, or quickly flipping a sequence of lines from a log or file without rearranging them by hand. Word mode is handy when you need to reorder whole words rather than shuffle individual letters.

The tool correctly handles non-Latin scripts and Unicode, everything runs right in your browser, and your text is never sent anywhere. Copy the result with a single button.

Frequently asked questions

Yes. We use Array.from(), which correctly handles UTF-16 surrogate pairs, so emoji don't break apart when reversed.
In "word" mode — yes. "one two" with a double space reverses to "two one," keeping the spacing intact.
The classic use case is palindromes and playful social media posts. It also comes up in encoding (Atbash, reverse reading) and when debugging Unicode.