Flip a list in three moves
- Paste your list or open a text file. The flipped copy appears on the right as you type, with no button to press.
- Pick how items split. New line fits most lists. Choose Comma for
red, green, blue, or Blank line to move whole paragraphs. - Check both ends. The strip under the boxes prints the new first item and the new last item. Then copy or download.
What Load sample shows about numbering
Numbered lists catch people out. Load sample fills the box with a six-item ranking of Toolexe pages, with a blank line after item 3. Flip it and the typed numbers travel with their items, so the list counts down from 6 to 1. A countdown wants exactly this. A list meant to read 1, 2, 3 from the top does not. The Numbers menu settles it.
6. Hex to String 5. Text Difference Checker 4. Lorem Ipsum Generator 3. Case Converter 2. Word Counter 1. JSON Beautifier
1. Hex to String 2. Text Difference Checker 3. Lorem Ipsum Generator 4. Case Converter 5. Word Counter 6. JSON Beautifier
1. 6. Hex to String 2. 5. Text Difference Checker 3. 4. Lorem Ipsum Generator 4. 3. Case Converter 5. 2. Word Counter 6. 1. JSON Beautifier
Renumber from 1 rewrites a number at the start of an item when a period, bracket or colon and a space follow, so 3. Case Converter and 3) Case Converter both qualify. 3.14 is pi and 10:30 standup stay as typed. Add 1. 2. 3. stacks a second number on a numbered list, as the third column shows, so save this setting for plain lists.
Reversing is not sorting Z to A
Reverse ignores what an item says. Only position counts. Sort Z to A reads the text and builds a new order. The two agree only when the list started in A to Z order.
| Original | Reversed | Sorted Z to A |
|---|---|---|
| Pear | Kiwi | Pear |
| Apple | Mango | Mango |
| Mango | Apple | Kiwi |
| Kiwi | Pear | Apple |
Dates show the gap best. A log written oldest first turns newest first with a flip, even when a date format like 3 Mar 2026 defeats a text sort. For an alphabetical result, use Sort Alphabetically instead.
Lists worth flipping
Logs and chat exports
Most exports run oldest first. Flip one to read the latest entry at the top. Multi-line entries need a blank line between them and Split on set to Blank line, or each entry ends up upside down.
Countdown posts
Write a top 10 from best to worst, then flip with Leave as typed. The post opens on number 10 and builds to number 1.
Rollback checklists
Undo steps run in the opposite order to release steps. Flip the release list for a first draft, then rewrite each step as its undo.
CSV rows with a header
Tick Hold first item so column names stay on line 1 and only the data rows flip. For a file already open in a spreadsheet, the Excel formula below keeps the result beside your data.
Reverse a list in Excel, Word or code
A one-off list goes fastest here. For a job you repeat, build the flip into your own file or script. We ran the Bash, PowerShell, Python and JavaScript lines below against the sample list.
| Where | Method | Watch for |
|---|---|---|
| Excel 365 | =SORTBY(A2:A11,ROW(A2:A11),-1) | Needs Excel 2021 or 365. In older versions, fill a helper column with 1, 2, 3, then sort largest to smallest. |
| Google Sheets | =SORT(A2:A11,ROW(A2:A11),FALSE) | The result tracks the source range, so paste as values before deleting the originals. |
| Word | Table with a number column, then Layout, Sort, Descending | Word has no reverse command. Pasting the list here takes less time. |
| Bash | tac list.txt | Ships with Linux. On macOS use tail -r list.txt. |
| PowerShell | $l = @(gc list.txt); [array]::Reverse($l); $l | Reverse changes the array in place and returns nothing. |
| Python | items[::-1] | Returns a new list. items.reverse() changes the original and returns None. |
| JavaScript | items.toReversed() | Returns a new array. items.reverse() changes the original, a common source of bugs in shared state. |
| Vim | :g/^/m0 | Flips every line in the file. Prefix a range to limit the flip. |
Where this page falls short
- Nested lists come apart. A sub-item flips on its own and lands above its parent. Separate groups with blank lines and use Split on Blank line to move each group as one unit. The order inside a group stays as typed.
- Quoted CSV fields split. Comma mode breaks at every comma, so
"Lahore, PK",42becomes three items. To flip rows, stay on New line. To flip columns, use a spreadsheet. - Hard-wrapped text flips by row. A paragraph pasted from a PDF or email often carries a line break at each row end, so sentences scramble. Run the text through Remove Line Breaks first.
- Formatting drops out. The boxes hold plain text. Bold, links and automatic Word numbering stay behind, and bullets paste as typed characters.