Reverse Word Order

Keep each word readable but put the words on every line in reverse order.

Tip: press Ctrl + Enter to run.

About the Reverse Word Order

Sometimes you need the words backwards rather than the letters, for example to reorder a “Last, First” list, to create a word puzzle or to test how a sentence reads in a different order. This tool reverses the order of words on each line and leaves the words themselves unchanged.

Each line is handled separately, so the order of lines stays the same. Punctuation stays attached to the word it was next to, and repeated spaces are reduced to single spaces.

How to use it

  1. Paste your text, with one sentence or phrase per line if you like.
  2. Click Reverse Words.
  3. Copy the result.

Example

Input
the quick brown fox
Smith John
Result
fox brown quick the
John Smith

When to use it

  • Swapping “Surname Firstname” into “Firstname Surname”.
  • Creating word-order puzzles for students.
  • Reading a sentence from a new angle while editing.
  • Testing text processing code.

Frequently asked questions

Does it change the order of the lines?

No. Only the words within each line are reversed.

What happens to punctuation?

Punctuation stays attached to its word, so “fox.” remains “fox.” in its new position.

How do I reverse the letters instead?

Use Reverse Text.

Is the text I enter kept private?

Yes. The Reverse Word Order runs entirely in your web browser, so your text is never uploaded to or stored on our servers. Like most free websites, TextForge shows ads from Google, which may use cookies. See our Privacy Policy for details.