Remove Line Breaks

Join lines using a space, custom text or no separator.

Up to 200,000 UTF-16 units per input. Output limit: 4,000,000 characters.

Download text

Your text is processed in your browser and is not uploaded to ToolPixels. This tool does not save your text.

How to use it

  1. Paste or type your text, or load the example.
  2. Choose any options, then select Remove line breaks.
  3. Review the result, then copy it or download a text file.

Each line break becomes one separator

Leave the separator empty to join lines directly. A space helps join wrapped prose; a comma can turn a list into one line. Each newline is replaced independently, including blank lines. Existing spaces and indentation are otherwise left unchanged.

Line-based editing normalizes Windows and older Mac line endings to LF. Keep your original if line-ending style matters.

Related text tools