Reverse Lines

Flip the order of lines, not the letters.

Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.

What Reverse Lines does

Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.

Practical limit for Reverse Lines: Reverses line order only. A trailing newline is kept. Max 200,000 characters. That is why output can differ from heavy desktop Text software. Read the tool-specific note again: Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.

How to use Reverse Lines

  1. Keep this tab on Reverse Lines (/reverse-lines). Pasting into the wrong Text tool (for example Reverse Text) changes the job.
  2. Paste or type the input Reverse Lines expects. Path hint: reverse lines. Flip the order of lines, not the letters.
  3. Apply the Reverse Lines action only. Sort Lines is a different transform (Sort lines A–Z, Z–A, or as numbers.). Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.
  4. Copy the output of Reverse Lines if you need it elsewhere. Size/complexity still follows: Reverses line order only. A trailing newline is kept. Max 200,000 characters.
  5. If the text job is actually Reverse characters, including emoji clusters as code points., leave Reverse Lines and open Reverse Text.

When not to use Reverse Lines

Skip Reverse Lines when a neighbor tool matches better — start with Reverse Text or Sort Lines — or when the description already warns the job will fail. In the tool’s own words: Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.

Questions about Reverse Lines

What does Reverse Lines do that other Text pages on this site do not?
Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string. Short version: Flip the order of lines, not the letters.
Does Reverse Lines upload my file or text to Tool-You servers?
No. Reverse Lines runs in this browser tab. Files stay on the device. Limit note: Reverses line order only. A trailing newline is kept. Max 200,000 characters.
Should I use Reverse Text instead of Reverse Lines?
Use Reverse Lines when you need Flip the order of lines, not the letters. Use Reverse Text when you need Reverse characters, including emoji clusters as code points. They share a category (Text) but not the same job.
What are the limits of Reverse Lines?
Reverses line order only. A trailing newline is kept. Max 200,000 characters. Also: Last line becomes first. Characters on a line stay in order. Unlike Reverse Text, this does not reverse the whole string.