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
| Input | Result |
|---|---|
Draft
Review
Publish | Publish
Review
Draft |
Record A
Record B | Record 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
An editor puts the final steps of an outline first to review the sequence backward.
Input:
Draft Review PublishResult:
Publish Review DraftAn archivist reverses a list with a blank row and checks that the separator stays between its records.
Input:
Record A Record BResult:
Record B Record AA 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.
