Remove Line Breaks

Paste text with line breaks. We join lines into one: either no separator or a space between lines. Handy for cleaning copied text or preparing single-line strings.

Remove line breaks

Paste text and click the button.

How it works

We split on newline (\\n and \\r\\n) and rejoin with the chosen separator (empty or space).

When to use it

Use when you need one continuous line (e.g. for JSON, CSV, or search).

Frequently asked questions

  • Multiple spaces? If you use space and lines were blank, you may get multiple spaces. Trim or use “Nothing” and add spaces manually if needed.