Line Ending Converter

Your workspaceProcessed on your device

Open the original file to count its exact endings. Text pasted or edited in a browser field can use LF for every break.

Optional whitespace cleanup

A few things to know.

Up to 400,000 UTF-16 units. Accepts UTF-8 text and UTF-16 or UTF-32 text with a byte-order mark. Optional cleanup treats ASCII spaces and tabs as whitespace. CRLF, LF and CR are the physical line separators. Browser fields and the system clipboard can normalize line endings.

  1. Open the original Unicode text file or load the mixed-ending example. Paste text if its original line-ending bytes are unavailable.
  2. Check the CRLF, LF and CR counts. Choose the target, select any whitespace cleanup you need and convert.
  3. Download the converted file to preserve its newline bytes and any byte-order mark. Reopen the download to verify the result.