Reverse Lines
Reverse the order of lines in text from last to first.
Reverse the order of lines, so the last line comes first. Paste a list, a log or a chronological record and copy it back upside down: handy for showing the newest entries first, undoing a sort, or reading a log from the bottom up. The lines themselves aren't changed.
Common use cases
- Put a log or history in newest-first order
- Reverse a numbered or ranked list
- Undo an ordering mistake
How to use
- Paste the lines.
- Copy the reversed list.
FAQ
How do I reverse the letters instead?
Use the reverse text tool, which can reverse characters, words or the letters in each word.
Are blank lines kept?
Yes. Every line, including empty ones, moves to its mirrored position.
Related tools
- Sort Lines AlphabeticallySort all lines of text in alphabetical or reverse alphabetical order.
- Reverse TextReverse text character by character or word by word.
- Deduplicate LinesRemove duplicate lines from text keeping only unique entries.
- Remove WhitespaceStrip all whitespace characters including spaces, tabs, and newlines from text.
- Remove PunctuationRemove all punctuation marks from text while keeping letters and numbers.
- Remove Duplicate SpacesReplace multiple consecutive spaces with single spaces throughout text.