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

  1. Paste the lines.
  2. 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.