Line-ending converter

Convert newline characters to LF, CRLF or CR and download exact bytes.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options
Choose the line-break format required by the program that will read the file.

How to use this tool

  1. Paste text with any mixture of line endings.
  2. Choose Unix LF, Windows CRLF or classic Mac CR.
  3. Download the file to preserve exact newline bytes.

Things to know

  • Clipboard and textareas can normalise newlines. Use the download for byte-exact output.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Line-based modes accept up to 100,000 lines, including a trailing empty line.

You might also need

More in text & lists