Free text tool

Remove Line Breaks

Join wrapped text or a vertical list with Space, Comma + space, Semicolon + space, or Nothing. Collapse repeated spaces is on by default and reduces spaces and tabs after joining. The tool cannot distinguish a visual wrap from a meaningful paragraph boundary, and it does not repair broken words automatically.

Output

Before you copy the result

  • Space suits prose; Nothing joins fragments without adding a separator.
  • Collapse repeated spaces also changes tabs and indentation.
  • Consecutive LF, CRLF and lone carriage returns share one separator.

How to use the Remove Line Breaks

  1. Paste text and choose the separator appropriate for prose, a list or fragments of one token.
  2. Leave Collapse repeated spaces on for ordinary prose; turn it off when existing spaces and tabs must remain.
  3. Review paragraph boundaries, hyphenated words and trailing separators before copying. No trimming or paragraph detection is performed.

Choose boundaries before flattening

Keep paragraph breaks in writing where they separate ideas. This tool replaces them without interpretation. Addresses, poetry, source code and structured records can lose meaning when flattened. Work on a copy and handle a selected paragraph when only its display wrapping is unwanted.

Know which characters are matched

Consecutive LF, CRLF and lone carriage returns are replaced as one run, so Windows blank lines do not insert extra commas. Unicode line and paragraph separator characters are outside this rule. Spaces between breaks interrupt a run; collapse repeated spaces does not remove inserted commas.

Collapse repeated spaces changes any run of spaces or tabs to a single normal space, including indentation. Leading and trailing spaces are not trimmed. A final newline can therefore leave a final separator.

Examples

Wrapped prose versus a split word

With Space, “Read the” followed by “manual.” becomes “Read the manual.” For “inter-” followed by “national”, Space gives “inter- national” and Nothing gives “inter-national”. Neither removes the hyphen; decide whether it was a real compound or a wrap artifact.

Join a list without promising CSV

For LF-separated apple, pear and plum, Comma + space produces “apple, pear, plum”. If an item itself contains a comma or quote, the tool does not add CSV quoting; the output is a joined string, not validated CSV.

Blank lines and line endings

For the LF string “A\n\nB”, Comma + space produces “A, B”. For “A\r\n\r\nB”, it also produces “A, B”. Consecutive LF, CRLF or lone carriage-return breaks now form one replacement run.

Nothing still has a spacing option

For “A ” followed by “ B”, Nothing with collapse on gives “A B”. With collapse off, it gives “A B” with four spaces. Nothing removes the break only; it does not remove surrounding spaces.

Frequently asked questions

Will it keep a blank line between paragraphs?

No. It replaces matched breaks rather than preserving semantic paragraphs. Select only the text you want joined.

How are Windows blank lines joined?

Consecutive CRLF breaks now receive one separator, just like consecutive LF breaks. If a blank row contains spaces between the breaks, those spaces interrupt the run and multiple separators can remain; inspect the output before treating it as a list.

Does Nothing delete hyphens at line ends?

No. Only matched breaks are removed. A hyphen from a wrapped word remains and needs a separate reviewed edit.

Related tools

More text tools