Skip to main content
ToolsBay

Reverse Text Generator

Reverse text by character, by word or by line.

Runs entirely in your browser — nothing is uploaded

Your text

1 line

Reversed

1 line

Frequently asked questions

Does reversing break emoji?

Not here. Emoji are stored as two or more units internally, and reversing those units individually produces broken symbols. This tool reverses whole characters, so 👋 stays 👋 and accented letters keep their accents.

What is the difference between the four modes?

"Whole text" reverses every character. "Word order" keeps each word intact but puts them in the opposite order. "Each word" keeps the word order but reverses the letters inside each one. "Line order" flips the lines of a multi-line block.

Is reversing twice guaranteed to give back the original?

Yes, for all four modes. Spacing and line breaks are preserved exactly, so a double reverse is a no-op.

Reversing text without corrupting it

Reversing a string is the standard example of a one-line programming exercise, and the standard one-liner is wrong. split('') cuts a string into UTF-16 code units, not characters. An emoji is stored as two of those units, so reversing them swaps the halves and produces an invalid pair that renders as ��.

This tool splits on grapheme clusters instead — what a reader would call a single character. That keeps emoji intact, keeps combining accents attached to their base letter, and handles scripts where several code points form one visual unit.

What people use it for

Mirrored text for design mockups, checking whether a word is a palindrome, reversing a list that came out in the wrong order, or generating deliberately scrambled placeholder strings. For random placeholder content instead, see the random text generator and Lorem Ipsum generator.

All text utilities