Reverse text

Flip text backwards character by character, or reverse the order of lines.

Two different reversals: turn the characters backwards, or keep every line intact and flip the order they appear in.

Try:
0Words
0Characters
0No spaces
0Sentences
0Paragraphs
0Lines
0Pages
0Reading
0Speaking

Runs entirely in your browser. Your text is never uploaded — open DevTools, Network tab, and you will see zero requests while you use this tool.

How to use it

  1. Paste your text.
  2. Press Reverse characters for mirrored text, or Reverse line order to flip the list.
  3. Copy the result.

What this tool does

Two different operations live on this page, and they are easy to confuse. Reverse characters walks the text from the last symbol to the first, so hello becomes olleh. Reverse line order leaves every line untouched and only flips the sequence they appear in, so the last row of a list moves to the top.

Reversal works on whole characters rather than raw bytes. That matters for anything outside plain English: an accented letter such as é stays a single letter instead of splitting into a letter and a floating accent, and Cyrillic, Greek or Arabic text survives the trip. Emoji built from several joined parts — a family, a flag, a profession with a skin tone — can still come apart, because the parts are separate characters as far as the text is concerned.

The third button, Number the lines, is a small helper that prefixes each row with its position. It is useful right after a reversal, when you want to show somebody that the order really did change.

Examples

InputActionResult
TextFizzReverse characterszziFtxeT
never odd or evenReverse charactersneve ro ddo reven
apple
banana
cherry
Reverse line ordercherry
banana
apple
apple
banana
Number the lines1. apple
2. banana

The second row is a palindrome: read backwards it spells the same thing, which is a quick way to check that the reversal really is character by character and not word by word.

When you need it

Doing it without this tool

Excel. There is no built-in reverse function. You either write a short VBA macro or chain MID with a helper column for each character, which gets unpleasant fast. To flip row order, add a column numbered 1, 2, 3…, then sort by it descending.

Notepad++. Reversing line order is one menu item: Edit → Line Operations → Reverse Line Order. Reversing characters is not available without a plugin.

Command line. On Linux and macOS, tac file.txt reverses line order and rev file.txt reverses the characters on every line. On Windows, PowerShell does the first with Get-Content file.txt | Sort-Object -Descending only if the lines happen to sort that way, so a small script is usually cleaner.

The advantage here is that you get both operations without installing anything, and you can see the result before you commit to it.

Privacy: your text never leaves your browser

The reversal runs in JavaScript on your own device. Nothing is uploaded, nothing is logged and no copy is kept after you close the tab. You can confirm it: open the network panel in your browser, press any button on this page and watch that no request goes out. It also means the page keeps working if your connection drops mid-task.

Related tools

URL encode / decodePercent-encode text for safe URLs, or decode %20-style URLs back to text.ROT13One button encodes and decodes — ROT13 is its own reverse.Capitalize linesCapitalises the start of every line, or every sentence, without touching the…camelCase converterConverts any text into the naming style you need — for variables, files and…Instagram caption lengthThe hard limit is 2,200 characters. The one that matters is the 125 you see…Bubble textLetters inside circles, or letters inside squares. Copy and paste.Group generatorPaste names, choose how many groups, get evenly sized random teams.

See all text tools →

Frequently asked questions

Does it reverse words or letters?

Reverse characters flips individual letters, so the words themselves come out backwards too. If you want to keep words intact and only change their order, put one word per line first and use Reverse line order.

Will accented letters and Cyrillic survive?

Yes. The tool works on whole characters, so accented Latin, Cyrillic, Greek and similar scripts reverse cleanly.

Why did my emoji break?

Some emoji are built from several joined characters — a flag, a family, a skin-tone variant. Reversing separates those parts, so the emoji can fall apart into its pieces.

Is there a length limit?

No practical limit. Long documents reverse instantly because the work happens locally rather than on a server.

Can I undo a reversal?

Press the same button again — reversing twice returns the original text. You can also use the browser undo shortcut inside the text box.

Does it keep blank lines?

Reverse line order keeps every line including empty ones, so spacing between blocks is preserved in the flipped result.

Is my text sent anywhere?

No. Everything happens in your browser and the text never reaches our servers.