Line Reverser

Your workspaceProcessed on your device

Open the original file to keep mixed line endings. Pasting or editing in the text box uses LF line endings.

A few things to know.

Accepts up to 500,000 UTF-16 code units. Reads UTF-8 and UTF-16 or UTF-32 text files with a byte-order mark. Recognizes CRLF, LF and CR as line endings. Uploaded files retain their encoding and byte-order mark in the download. Pasting and editing use LF.

  1. Paste text or open the original file to preserve mixed line endings. Load the example to try a status list with a blank line and an Arabic entry.
  2. Enable Keep first line for a heading or Keep blank lines in place for fixed gaps, then select Reverse lines.
  3. Review the order and download the result. Reopen the saved file to verify its line endings and encoding when those bytes matter.