TextArray
100% local

Reverse list order

Flip the order of lines so the last one comes first.

Input
Output

Reverse list order

Paste a list and this tool flips it end to end: the last line becomes the first, the first becomes the last, and everything in between is mirrored. It is the fastest way to read a log file newest-entry-first, invert a chronological changelog, reverse a ranking that was exported bottom-up, or flip a playlist without sorting it alphabetically.

Reversing is not the same as sorting. The tool never compares your lines or reorders them by value — it only turns the sequence around, so a list that was already in a meaningful order keeps that order, just backwards. Lines are left exactly as they are: spacing, indentation, diacritics and emoji all survive untouched, and empty lines inside the list are mirrored along with everything else.

Text pasted from an editor or a terminal often ends with a newline, which technically counts as an empty final line. Left alone it would jump to the top of the result and leave a blank first row. The "Ignore trailing empty line" option, on by default, keeps that trailing newline at the end where it belongs. Turn it off if you want the raw reversal, empty final line included.

Windows (CRLF) and Unix (LF) line endings are handled interchangeably and the output always uses plain newlines. Everything runs in your browser — nothing is uploaded, so logs, exports and internal lists stay on your device. The tally shows how many lines were reversed, and the result updates live as you type.

FAQ

Is this the same as sorting in reverse?
No. Sorting compares lines and reorders them by value; this tool only flips the existing sequence, so your original order is preserved, just backwards. Use the sort lines tool for descending alphabetical order.
What does "Ignore trailing empty line" do?
Text often ends with a newline, which counts as an empty last line. With the option on, that trailing newline stays at the end instead of becoming a blank first row. Turn it off for a raw reversal.
Are empty lines inside the list kept?
Yes. Empty lines within the list are treated like any other line and mirrored into their new position. Use the remove empty lines tool if you want them gone first.
Does it change the lines themselves?
No. Only the order changes. Spacing, indentation, capitalisation, diacritics and emoji are left exactly as they were.
Is my list uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.