Reverse Line Order

Paste text and instantly reverse the order of its lines — last line becomes first.

0 lines
0 lines
Done

Summary

Paste text and instantly reverse the order of its lines — last line becomes first.

How it works

  1. Paste or type your text into the input box.
  2. The tool splits the text on newline characters into a list of lines.
  3. It reverses the list so the last line becomes the first.
  4. The reversed lines are rejoined and shown in the output panel.
  5. Click Copy to copy the flipped text to your clipboard.

Use cases

  • Flip a chronological server log so the newest events appear first.
  • Reverse a numbered list to count down instead of up.
  • Invert a sorted word list to inspect the tail of the alphabet first.
  • Rearrange CSV rows so the last entry becomes the header-adjacent row.
  • Quickly reorder any plain-text ranked list for a bottom-up view.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu