Reverse Line Order
Flip a list from first-to-last into last-to-first.
Result
How to use Reverse Line Order
- Paste your source text in the input box.
- Select Convert to generate the output.
- Review the output before copying it.
How it works
Flip a list from first-to-last into last-to-first. Split at line breaks, reverse the sequence of whole lines, and rejoin it.
Formula or processing rules
Split at line breaks, reverse the sequence of whole lines, and rejoin it.
Worked example
The list first, second, third becomes third, second, first.
| Measure | Value |
|---|---|
| Source text | first second third |
| Result | third second first |
Pros and cons
Pros
Flip a list from first-to-last into last-to-first. The sample provides an immediate check of the expected output.
Cons
The letters inside each line stay in their original order. Empty lines are also reversed.
Troubleshooting
Check the input format and compare your case with the built-in sample. The letters inside each line stay in their original order. Empty lines are also reversed.
Frequently asked questions
How do I use the text I get back?
Copy the output into the document, list, or compatible tool where you need it.
How does the transformation work?
Split at line breaks, reverse the sequence of whole lines, and rejoin it.
Can I try a sample first?
The list first, second, third becomes third, second, first.
What should I check before using the result?
The letters inside each line stay in their original order. Empty lines are also reversed.
Is my input stored by the tool?
The transformation is computed in the open page. The tool does not save the submitted text.