Flip a list upside down so the last line becomes the first.
Runs entirely in your browser.
Reverse the Order of Text Lines
- Input (one item per line)
- Output
- Remove empty lines
About Reverse Line Order
This reverses the order of the lines. It does not reverse the characters within each line - the text of every line is left exactly as it was.
It is most useful for log files and exports that arrive newest-last when you want newest-first, or for undoing a sort you cannot otherwise invert.
Other Line Tools
- Sort Lines — alphabetically, numerically, or by length
- Remove Duplicate Lines — keep the first of each
- Find Duplicate Lines — report what repeats, and how often
- Shuffle Lines — randomize the order