Text Tool

Reverse Lines

Reverse Lines helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.

Tool area

Everything runs in the browser.

Reference results

InputResult
Draft Review PublishPublish Review Draft
Record A Record BRecord B Record A
"First\r\nSecond\r\nThird"Third Second First

How it works

The tool splits the input at line breaks and reverses the line order. Blank lines remain entries in the list. Characters within each line stay in their original order.

Worked examples

  1. An editor puts the final steps of an outline first to review the sequence backward.

    Input: Draft Review Publish

    Result: Publish Review Draft

  2. An archivist reverses a list with a blank row and checks that the separator stays between its records.

    Input: Record A Record B

    Result: Record B Record A

  3. A colleague pastes three lines copied from a Windows file and compares the first and last after conversion.

    Input: "First\r\nSecond\r\nThird"

    Result: Third Second First

Common mistakes

  • Trim extra blank lines at the ends if they should not move.
  • Use a separate chronological sort when the original list is out of order.
  • Keep multi-line records together before rearranging them.

FAQ

Does it reverse letters within a line?

Characters within each line stay in order.

Are blank lines preserved?

Yes, they move along with other lines.

Does it sort by date?

It reverses line positions regardless of their content.

Related tools

Browse all text tools

Related guides

Next tool Reverse Text