Remove Line Breaks

Join text broken across many lines back into a single flowing paragraph.

Text
One paragraph
Runs locally in your browser

About the Remove Line Breaks

Plain-text email, older ticketing systems and code comments hard-wrap at a fixed column, so a single sentence arrives broken across four lines. Paste that anywhere with its own wrapping and the result is ragged. This tool takes the breaks out and hands the text back as one flowing block, collapsing the double spaces the join leaves behind and trimming the ends.

You choose what replaces each break. A space suits prose, where the words either side belong to different lines and must stay apart. Nothing suits a value that was split mid-string, such as a long API token or a base64 payload wrapped at 76 characters, where inserting a space would corrupt it.

Two things to expect. Runs of consecutive newlines collapse to a single separator, so paragraph boundaries vanish along with the wrapping; keep the original if those matter. And PDF text often hyphenates across the break, so inter- followed by national lands as inter- national and needs a quick pass through Find and Replace to close up. To drop only the blank lines and keep the wrapping intact, use Remove Empty Lines.

How to use

  1. Paste the wrapped text.
  2. Choose whether breaks become a space or nothing.
  3. Copy the joined text.

Common questions

Space or nothing?
Use a space for prose so words do not run together. Use nothing when a value was split across lines and should be rejoined exactly.
Does it collapse the resulting double spaces?
Yes, runs of spaces are collapsed to one.
Can it keep paragraph breaks?
This tool joins all lines. To keep paragraphs, remove single breaks in an editor that distinguishes them.