INDEPENDENT EXPLAINERS · GLOBAL EDITIONEvidence first. Perspective follows.
All tools

Reverse line order

Processed in this browser. Nothing is uploaded.

Example

Example: first
second

Case-sensitive. Text is treated literally. Maximum 1,000,000 characters.

How to use this result

Reverse the order of the lines while keeping the text within each line intact. This is useful for turning a newest-first list into an oldest-first list when it already has the correct chronological order.

Worked example

text: first
second
third
third
second
first

Limits and edge cases

This does not reverse individual characters or interpret dates. Blank lines move with the rest of the list; a final line break creates an empty line that moves to the beginning.