Boneyard Tools

Reverse Text Online

Paste any text and flip it in three ways. Characters mode reverses the whole string end to end, words mode reverses the order of words while each word stays readable, and lines mode flips the running order of lines top to bottom. The result updates as you type and a live character count sits above the copy button.

How to reverse text

  1. Type or paste your text into the 'Your text' box.
  2. Click Characters, Words or Lines to choose how to reverse it.
  3. Watch the hint next to the buttons confirm what the selected mode does.
  4. Read the reversed output in the Result box below.
  5. Click Copy to send the reversed text to your clipboard.

Examples

Reverse every character

hello
olleh

Reverse the word order

the quick brown fox
fox brown quick the

Reverse the line order

north
south
east
east
south
north

Frequently asked questions

What is the difference between reversing characters, words and lines?

Characters flips the entire string so the last letter comes first, turning 'abc' into 'cba'. Words keeps every word spelled normally but reverses their order, so 'hello world' becomes 'world hello'. Lines keeps each line intact and only flips their top to bottom order.

Does word mode keep my spacing?

Yes. Word reversal splits on runs of whitespace and preserves those separators, so single spaces, double spaces and tabs between words are kept when the order is flipped rather than collapsed.

Does it handle emoji and accented characters?

Yes. Character reversal splits on whole Unicode code points, so emoji, accented letters and other multi-byte characters stay intact. For example 'a123' reverses cleanly and an emoji is never split into broken halves.

Why does the character count sometimes differ from what I expect?

The counter measures Unicode code points, not raw bytes or UTF-16 units. A single emoji counts as one character even though it may occupy two positions in memory, which matches how the reversal treats it.

What is reversing text useful for?

Common uses include making mirrored or backwards text for fun, flipping a stacked list of lines into the opposite order, checking whether a word is a palindrome, building word puzzles, and quickly swapping word order while editing a sentence.

Are Windows and Mac line endings supported in line mode?

Yes. Line mode recognizes CRLF, CR and LF endings, so text copied from Windows, older Mac systems or Unix reverses correctly. The output joins the reversed lines with standard newline characters.

Is there a length limit?

There is no fixed limit. The reversal happens in your browser, so the only ceiling is your device memory, and even long passages update almost instantly as you type.

Does reversing twice return my original text?

Yes, for characters and lines: applying the same mode a second time restores the original. Word mode also round-trips because the whitespace separators are preserved along with the words.

Is my text private?

Yes. Everything runs locally in your browser and nothing is uploaded to a server, so even sensitive text never leaves your device.

Learn more

Related tools