Reverse Text

Paste some text and choose how you want to reverse it.

Your input stays in your browser.

Last reviewed

Choose how to reverse text

Reverse Text flips either the visible characters or the order of words. Use Characters for a backward string in a puzzle, a short visual experiment or a text processing example. Use Words when you want to keep each word readable and simply move the last one to the front. The result appears below the inputs while your original remains in the text box.

Compare both results with the default phrase

For Hello world!, character reversal gives !dlrow olleH and word reversal gives world! Hello. The input has 12 characters if you count the space and exclamation mark. The character mode moves both punctuation and spaces with the rest of the text. The word mode keeps the exclamation mark attached to world because there is no separating whitespace between them.

Keep characters with multiple parts together

A visible character can be made from several pieces, such as a letter and a combining accent or an emoji with a skin tone. Character mode uses your browser's text segmentation to reverse groups of visible characters. For example, A👍🏽B becomes B👍🏽A. The skin-tone modifier stays with the thumbs-up emoji. Some writing systems can still display reordered letters differently because their usual joining context has changed.

Check what happens to spaces and lines

Character mode reverses the order of the whole input, including spaces and line breaks. Word mode splits the text at whitespace and joins the result using one space between words. Indentation, blank lines and consecutive spaces therefore collapse in word mode. Copy the result into your destination and check it when the original used separate lines or alignment for a particular reason.

Know where reversal stops

Reversed text is still ordinary text, so anyone can reverse it again. For character mode, applying the operation twice will recover many simple strings, although writing systems and combining sequences can change how text groups are read. The tool is meant for short passages and runs in your browser. Keep the original when punctuation placement or exact formatting matters.

Frequently asked questions

Can I reverse words without reversing letters?

Choose Words to reverse groups separated by whitespace.

Do punctuation marks move in character mode?

Yes. Punctuation moves along with the other visible characters.

How does the tool handle emoji?

Character mode uses browser segmentation so compound emoji can remain together.

Does word reversal keep extra spaces?

It joins words with one space.

Can I reverse more than one line?

Yes. Character mode also reverses the order of line breaks.

Does the result change my input?

Your original stays in the text box.

Next step Word Counter

More free tools