Remove Line Breaks
Join or replace line breaks with a custom connector. Two modes, up to 500000 UTF-16 input units; process locally and copy the result.
Start using
Remove Line Breaks
Both modes first normalize CRLF and CR to LF. All mode replaces each LF, so a blank separator of two LF becomes two connectors. Soft mode replaces an LF preceded by a non-LF character and not followed by LF, then reduces every run of three or more LF to two, including runs introduced by the connector. A leading single LF stays; a trailing single LF after text is replaced. A spaces-only separator line is not recognized as a blank paragraph. Other text, indentation and repeated content remain; the tool does not repair hyphenation or recognize visual wrapping. Dollar sequences such as $1 and $& in the connector are literal text.
Input
A B C D
Every line break
A B C D
Single line breaks
A B C D
Processing takes place locally in your browser.