Reverse Line Order

Reverse the original sequence of lines without alphabetically sorting their contents.

Loading Reverse Line Order...

How to use

Paste lines and reverse them. Every line is kept exactly once, including repeated and blank lines; line endings in the result are normalized to LF.

Example

Input
first second third
Output
third second first

Limitations

A final line break represents a final empty line, which becomes the first line after reversal.

Frequently Asked Questions

Does this reverse letters too?

No. Characters within each line remain in their original order.

Are duplicate lines removed?

No. Repeated lines and blank lines remain part of the reversed sequence.