Reverse Lines
Flip a list upside down: the last line becomes the first.
About this tool
Reverse Lines flips the order of lines in a text, which is handy for logs written oldest-first, chat exports, or any list you need bottom-up. Characters inside each line are untouched.
See Reverse String for character- and word-level reversal.
How to use it — quick steps
- 01
Enter the lines
Type or paste the lines in the field above, one item per line. Use Ctrl + V to paste from the clipboard.
- 02
Press "Reverse line order"
Press "Reverse line order" or Ctrl + Enter. The result appears instantly below the form.
- 03
Read the result
It appears in the dark panel under the form instantly. Every block has [copy] and other actions.
Key features of this tool
Nothing leaves your browser
The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.
Instant results
Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.
Works everywhere
No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.
Frequently asked questions
Does it reverse the characters too?
No, only the order of lines. Use Reverse String to reverse characters or words.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.