webby.tools

Reverse Each Word

Type or paste text below to reverse the letters of every word individually — word order stays the same, but each word reads backwards.

Each Word Reversed

What Does "Reverse Each Word" Mean?

Reversing each word means taking every word in the text, mirroring its letters from last to first, and putting it back in the same position in the sentence. The word order stays completely unchanged — only the letters within each word are flipped.

Input Each Word Reversed
hello world olleh dlrow
Hello there Joe olleH ereht eoJ
one two three eno owt eerht
racecar level racecar level

Notice racecar and level are palindromes — they read the same backwards as forwards, so reversing their letters produces no change.

How It Works

  1. Split the text on whitespace to get an array of words
  2. For each word, split into characters, reverse, and rejoin
  3. Join the reversed words back together with single spaces

In JavaScript: text.split(/\s+/).map(w => w.split('').reverse().join('')).join(' ')

How Is This Different From the Other Reverse Tools?

All three tools reverse something different:

Tool What reverses What stays the same
Reverse Each Word (this tool) Letters within each word Word order
Reverse Words Word order Letters within each word
Reverse String Every character in the entire string Nothing — full reversal

For example, with the input Hello World:

  • Reverse each wordolleH dlroW
  • Reverse wordsWorld Hello
  • Reverse stringdlroW olleH

Common Uses

Word puzzles and games — Reversing each word creates a readable-looking but scrambled text that's fun for word puzzles. Unlike a full string reversal, sentence rhythm is preserved.

Encoding and obfuscation — Simple word-by-word reversal is used in some trivia games and puzzles as lightweight obfuscation. It's not encryption — reversing each word again restores the original.

Programming practice — This is a classic coding exercise that combines string splitting, array mapping, and character reversal. It tests more nuanced skills than a simple full string reverse.

Frequently Asked Questions

Are spaces and line breaks preserved?
Multiple spaces and line breaks between words are collapsed — words are split on any whitespace and rejoined with single spaces.

Does punctuation attached to a word get reversed with it?
Yes. Hello, becomes ,olleH — the comma is treated as part of the word. If you need punctuation-aware reversal, you'd need a more specialized tool.

Is this the same as a full string reverse?
No. A full string reverse of Hello World gives dlroW olleH — a complete character-for-character flip including the space. Reversing each word gives olleH dlroW, which keeps the space in the middle and only flips within each word.

Icons from Creative Fabrica

This website may contain affiliate links. If you click on an affiliate link and make a purchase, we may receive a small commission at no additional cost to you.