Blog
Text tools

Reverse the order of a list's lines

Paste your list with one item per line, and the lines come back in mirrored order — whatever was last becomes first. This only flips the order you typed; it never sorts alphabetically, so it's a different tool from Reverse Alphabetical Sort.

Your data never leaves this device

Result

Lines reversed

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Operation Mirrors line order: line 1 ↔ last line, line 2 ↔ second-to-last, and so on
Sorting None — this never looks at the alphabet, only at position
Text of each line Untouched; only the order the lines appear in changes
Odd number of lines The middle line stays exactly in the middle
Empty lines Reversed along with everything else, wherever they were
Related tool Reverse Alphabetical Sort — sorts Z→A instead of mirroring input order

When it misleads you

How it is calculated

The text is split into individual lines on line breaks, producing an ordered array where position 1 is the first line typed and the last position is the last line typed.

That array is reversed end-to-end: the item at the last position swaps with the item at the first, the second-to-last swaps with the second, and so on, working inward.

No comparison, sorting or alphabetical logic is involved at any point — the operation only cares about position in the list, never about the content of a line.

The reversed array is joined back together with line breaks to produce the result, so line count in equals line count out, just in mirrored order.

Questions and answers

Does this sort my list alphabetically?

No. It only mirrors the order you typed — last line first, first line last. For alphabetical Z→A order, use Reverse Alphabetical Sort instead.

What's the difference between this and Reverse Alphabetical Sort?

This tool flips input order regardless of what the text says. Reverse Alphabetical Sort ignores input order and rebuilds the list from Z to A based on the actual letters.

Does reversing renumber a numbered list?

No — the numbers you typed stay attached to their original lines. If you need fresh sequential numbers after reversing, run the result through a line-numbering tool.

What happens with an odd number of lines?

The middle line has no counterpart to swap with, so it stays exactly where it is.

Is my list sent anywhere?

No. Everything runs in your browser; nothing is uploaded.

Related tools

All tools