Reverse Lines
Reverse the order of lines in your text.
Loading tool…
About this tool
Log files list the oldest entries first, chat exports run top-down, and countdown lists need flipping — whenever you need the last line first, reversing by hand is error-prone. This tool flips your entire line order in one click: the bottom line becomes the top, and everything in between follows.
The content of each line is untouched; only the order changes. It pairs well with Number Lines when you want to renumber a list from the other end.
How to use
- Paste your text into the input box.
- The line order reverses automatically with a live preview.
- Verify the first and last lines swapped correctly.
- Copy or download the reversed text.
Frequently asked questions
No. Each line keeps its content exactly as-is; only the order of the lines changes. To reverse characters within lines, use the Text Reverser.
Common uses: reading log files newest-first, flipping a countdown or ranking, and reversing chat exports so the latest message appears at the top.
Yes, blank lines are kept in their (reversed) positions. Run Remove Empty Lines first if you want them gone.