A one-pass list reverser
The tool splits on newlines, reverses the resulting array with `Array.reverse`, and joins back with newlines. That is the whole operation. Blank lines are preserved at their original (now-reversed) positions; leading/trailing whitespace inside items stays untouched.
This is self-inverse: reversing twice gets you back to the original input. That is why the tool has no "Need the reverse?" link in the hero - it would just point at itself.
For reversing the characters inside each item (as opposed to the list's order), use Reverse item text. This tool reverses the position of lines; that one reverses the characters within each line.
How to use reverse a list
- 1Paste your list into the input panel
- 2Output is your list with line order flipped - no settings needed
- 3Copy or download the reversed list
- 4Reversing twice returns the original input
Keyboard shortcuts
Drive ListShift without touching the mouse.
What this tool actually does
No options - just a line-order reversal.
Splits on newlines, reverses, rejoins
The whole implementation is three steps: `input.split("\n")`, `reverse()`, `join("\n")`. No parsing, no trimming, no case changes. What goes in comes out reversed.
Preserves blank lines in place
A blank line in the middle of your input stays as a blank line at its new (reversed) position. If that matters, flatten first with Remove empty items before reversing.
Self-inverse operation
Reversing twice produces the original list. The `reverse` field in the detail record is set to `null` because there is no separate "opposite" tool - running reverse again IS the opposite.
Does not reverse characters within items
This flips the order of lines. Characters inside each line are unchanged. For character-level reversal per item, see Reverse item text.
No configuration
Deliberately optionless - the operation is a single specific thing. If you want different reverse-ish behaviours (reverse pairs, shuffle, rotate), use Shuffle (reverse-pairs mode) or Rotate.
Worked example
Four lines reversed - last becomes first.
First Second Third Fourth
Fourth Third Second First
Behavior reference
No user options. These are the fixed rules.
| Rule | What it does | Example |
|---|---|---|
| Line-order reversal | Last line becomes first; first becomes last | `A B C D` → `D C B A` |
| Blank lines preserved | A blank line at position N ends up at position `length - N - 1` | Gaps in the input reappear at their reversed positions |
| Items emitted verbatim | Character content of each line is unchanged | `Fourth` stays `Fourth`; only its position moves |
| Self-inverse | Applying reverse twice gives the original list | No separate "undo" tool - reverse again IS the undo |