Guide

How to Reverse Text — Characters, Words and Lines

Learn the different ways to reverse text and where each is genuinely useful, from coding to puzzles to formatting.

A text reverser flips text in one of three ways: reversing the characters, reversing the order of words, or reversing the order of lines. Each has different uses.

The three reversal modes

  • Reverse characters — "hello" becomes "olleh"; the entire string is mirrored.
  • Reverse words — "the quick fox" becomes "fox quick the"; word order flips, letters stay intact.
  • Reverse lines — the last line becomes first; useful for reordering a list or log.

When each mode is useful

Character reversal is handy for puzzles, encoding games, and testing how interfaces handle right-to-left or mirrored strings. Word reversal is a quick way to rephrase or to flip a chronological list into reverse-chronological order. Line reversal is perfect for inverting a stack-like list or reading a log from newest to oldest.

How to reverse text

  1. Paste your text.
  2. Choose the reversal mode.
  3. Copy the reversed output.

Examples

Character reverse of "Utilities Center" gives "retneC seitilitU". Word reverse gives "Center Utilities". Line reverse of a three-line list flips the top and bottom lines while keeping each line's text unchanged.

When a text reverser is useful

  • Solving or creating word and mirror puzzles.
  • Reordering chronological lists into reverse order.
  • Testing UI behaviour with unusual string shapes.
  • Quickly flipping a stack of items for processing.

Put it into practice

Use the Text Reverser right now — free, in your browser, no sign-up required.

Try the Text Reverser