🔃Text Line Reverser

Reverse the top-to-bottom order of lines in a block of text

How to Use the Text Line Reverser

The Text Line Reverser takes multi-line text and flips it so the last line becomes the first and the first line becomes the last. It's useful for turning a newest-first log into oldest-first order (or the reverse), reversing a numbered list, or flipping the chronological order of an exported chat transcript.

Paste your text into the box and it's split by line breaks, the array order is reversed, and the result appears instantly below. The content and character order within each line is never touched — only the top-to-bottom arrangement of the lines changes. Blank lines are treated as lines too and are included in their reversed position.

The result can be copied to your clipboard with one click, ready to paste into a spreadsheet or another document. Everything runs in your browser instantly, and the text you enter is never sent to a server.

Frequently Asked Questions

Are blank lines counted in the order?

Yes, a blank line is treated as its own line and is included in the reversed order just like any other line.

Does the text within each line get reversed too?

No, this tool only flips the top-to-bottom order of lines. The characters and content within each line stay exactly the same.