Skip to content

Remove Line Breaks

Paste hard-wrapped text — from a PDF, an email, or a chat reply — and join it back into one clean line.

Text

Replace each line break with

Processed locally. Your text never leaves your browser.

One line

Paste some text to join its lines.

Common questions

What is the difference between the two modes?

Replacing each break with a space is what you want for wrapped sentences — "The quick brown / fox" becomes "The quick brown fox". Replacing it with nothing is for a word that was split across two lines, where "inter / national" should become "international" with no space in the middle.

Will I end up with double spaces where the lines were joined?

No. Any spaces or tabs sitting either side of a line break are treated as part of that break, so a line ending in a space joined to a line starting with a space still produces exactly one space — or none at all in the second mode.

What happens to blank lines between paragraphs?

A run of several blank lines counts as one break, so it collapses to a single space (or nothing) rather than leaving a gap. Blank lines at the very start or end of the text are dropped instead of turning into a stray space.

Does it handle text copied from Windows, Mac, or Linux?

Yes — Windows (CRLF), Unix/modern Mac (LF), and classic Mac (CR) line endings are all recognised, including a file that mixes them. A Windows CRLF is treated as one break, never as two.

Does this change the spacing inside my lines?

No. Only line breaks and the whitespace directly touching them are affected. Double spaces you typed inside a sentence, and any indentation on the first line, are left exactly as they are.