Remove Line Breaks

NEW
text

Remove or replace line breaks in your text. Replace with a space, remove completely, or preserve paragraph breaks.

#line breaks#newline#carriage return#text#clean#format
Loading tool...

How to use

  1. 1Paste text with line breaks into the input
  2. 2Choose mode: replace with space, remove completely, or keep paragraph breaks
  3. 3Click "Process" and copy the result

Frequently Asked Questions — Remove Line Breaks

What is the difference between modes?+

"Replace with space" substitutes each line break with a single space. "Remove completely" joins all text with no separator. "Preserve paragraphs" removes only single line breaks while keeping double line breaks (paragraph spacing).

Does it support CRLF (Windows line endings)?+

Yes, the tool correctly handles \r\n (Windows), \n (Unix), and \r (old Mac).

Related Tools