Yueseryueser.com

← All guides

Reverse Each Word: Hello world Becomes olleH dlrow

Paste a sentence and Hello world becomes olleH dlrow, with Hello still first. It is useful for word puzzles, mirror text, or sending a friend a joke that has to be read backwards.

Open the tool:Reverse Each Word

When per-word reversal is handy

In word puzzles and wordplay, writing each word backwards keeps its length and the surrounding context, so a reader can still guess the original — much easier than reversing the whole passage. The read-it-backwards joke that circulates on social media is the same effect.

It is also a quick check when testing string handling: a search box, a filter, or a display that mirrors text. Reversing per word keeps word boundaries intact, which makes it easier to compare the result against the original than a full reversal would.

How to reverse without surprises

Words are split on spaces and line breaks, and the characters inside each word are reversed while the spaces, punctuation, and line breaks stay where they were. Punctuation attached to the end of a word ends up at the front, so Hello! becomes !olleH — the expected result of a character-level flip.

When Chinese and English are mixed, Chinese has no spaces, so a run of Chinese is treated as one word and reversed as a block, with the final punctuation landing first. For a whole sentence that is usually the mirror effect you wanted; if you need Chinese word order preserved, add separators first.

Where it stops, and what to use instead

It is not real bidirectional text handling, and it does not reorder Unicode combining sequences: accented letters and emoji built from several code points can come out broken after reversal. For multilingual typesetting or emoji testing, the result may not be what you expect.

It also cannot reverse only selected words, sort by word length, or keep punctuation pinned while reversing letters. If you need that level of control, use a script or an editor with regex replacement rather than a one-click tool.

FAQ

How is this different from reversing the whole text?

Reversing the whole text also flips word order, so the last line becomes the first. This only flips the letters inside each word: Hello world becomes olleH dlrow, with Hello still first and the line breaks unmoved.

What happens to a Chinese sentence?

Chinese has no spaces, so a run of Chinese characters is treated as a single word and reversed as one block, punctuation included. That is usually the mirror effect you want for a joke, but mixed English is split at its spaces instead.

Why did the exclamation mark move to the front of the word?

Because reversing works character by character and the mark is attached to the word, so it belongs to the same token and ends up first. To keep punctuation in place, separate it with a space before reversing, then join it back afterwards.

Related tool:Reverse Each Word