Remove Line Breaks

Join hard-wrapped lines back into flowing text.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Paste text that has been hard-wrapped across many lines and join it back into flowing paragraphs — useful for un-wrapping email quotes, copying out of PDFs, reflowing pasted code comments, or turning a column of values into one line.

How it works

The tool first normalises line endings, converting Windows CRLF and old-Mac CR to a single LF so any source is treated the same. It then removes the single line breaks according to your options. With Keep paragraph breaks enabled, it splits the text on blank lines into paragraphs, joins the lines inside each paragraph, and reassembles them with the blank lines preserved; without it, every line break is removed. Lines are joined with your chosen separator — a space, nothing, or a comma — and each line can be trimmed of leading and trailing whitespace before joining. A live character count shows the result size.

Example

Input (hard-wrapped, with a paragraph break), joined with a space and keep paragraph breaks on:

The quick brown
fox jumps over

the lazy dog.

Output:

The quick brown fox jumps over

the lazy dog.
Join withResult for two lines a / b
Spacea b
Nothingab
Commaa, b

Everything runs in your browser — nothing is uploaded.

Ad placeholder (rectangle)