This tool spells each word backwards while leaving the sentence structure untouched. The words stay in order and in place; only the characters inside each word are mirrored.
How it works
The text is split into alternating runs of whitespace and non-whitespace. Each non-whitespace run (a word) is reversed by Unicode code point, while whitespace runs are passed through unchanged so spacing and line breaks survive:
"Hello world" -> "Hello" + " " + "world"
reverse words -> "olleH" + " " + "dlrow"
result -> "olleH dlrow"
Reversing by code point (rather than by UTF-16 code unit) keeps emoji and most accented characters whole instead of splitting their surrogate halves.
Worked examples
| Input | Output |
|---|---|
Hello World | olleH dlroW |
Gera Tools | areG slooT |
one two three | eno owt eerht |
café résumé | éfac émusér |
The accented letters (é, à, etc.) survive intact because the tool reverses
Unicode code points rather than raw byte sequences. An emoji attached to a word
is treated as its own whitespace-delimited token, so Hello 👋 World becomes
olleH 👋 dlroW.
When is per-word reversal useful?
- Word games and puzzles — spelling each answer word backwards is a classic format because the sentence still reads left-to-right, hiding the letters while keeping the phrase structure visible.
- Novelty usernames and handles —
niveKorairaMkeeps a name recognisable while looking visually distinct, useful when a plain spelling is already taken on a platform. - UI and localisation testing — reversed-word text checks whether a layout handles unusual strings without wrapping unexpectedly, and confirms that text-direction logic is not confused by content that reads right-to-left within each word.
- Teaching string manipulation — reversing each word in a sentence is a common coding interview question; watching the live output for varied inputs makes the behaviour concrete.
Key distinctions from related transforms
| Transform | What changes |
|---|---|
| Reverse each word (this tool) | Letters inside each word flip; word order stays |
| Reverse word order | Words move to opposite positions; each word stays spelled normally |
| Reverse the whole string | Both letters and word order flip end-to-end |
The most common mistake is reaching for word-order reversal when letter reversal is actually needed. Check which axis you mean before choosing the tool.
Punctuation behaviour
Punctuation attached to a word — a trailing full stop, a leading quotation mark —
is part of that word token and reverses with it. So Hello, becomes ,olleH.
If you want punctuation excluded from the reversal, strip it first, run the tool,
then re-attach it.
Undoing the transform
Because reversing a sequence is its own inverse, running the output back through this tool always recovers the original text. This is a quick sanity check: if the round-trip does not restore the input exactly, a combining mark or multi-codepoint emoji likely changed during the copy.