Remove line breaks
Replace line breaks with spaces, commas, semicolons, or your own separator while optionally preserving paragraphs.
How to use remove line breaks
Line breaks are the right structure in one place and clutter in the next. This tool replaces them with the separator you choose — a space to rebuild prose, a comma to build inline lists — while optionally protecting the blank lines that mark real paragraphs.
- 1Paste the text with unwanted breaks
Anything line-structured works: hard-wrapped prose from an email, one-per-line values from a spreadsheet column, an address block. The tool only ever touches the break characters, so there is nothing to prepare.
- 2Pick the separator and the paragraph rule
Join with sets what replaces each break: a space rebuilds sentences, a comma or semicolon turns rows into an inline list, and Nothing fuses fragments that were split mid-word. Keep paragraph breaks leaves blank-line boundaries alone, so joining happens within paragraphs rather than across them.
- 3Clean and check the seams
Select Clean text and skim the places where lines used to meet. If everything collapsed into one giant block, switch Keep paragraph breaks on and clean again; if words fused, the separator was set to Nothing when it should have been Space.
When this tool is useful
Choosing the right separator
A space is the choice for prose that was hard-wrapped: emails from older clients, text files wrapped at 72 columns, PDF extracts that are already de-hyphenated. Whitespace around each break is absorbed into the join, so a line ending in a trailing space does not produce a double space in the result.
A comma or semicolon turns a column into a row: paste names or values one per line and get "red, green, blue", ready for a sentence, a function call, or a form field. Nothing is for the rarer case of text split mid-word by a narrow layout, where inserting any character would corrupt the words.
With Keep paragraph breaks on, a blank line is treated as deliberate: joining happens inside each paragraph and the blank line survives. That switch is the difference between repairing an email’s wrapping and flattening the whole message onto one line — both are legitimate jobs, which is why it is an option rather than a fixed rule.
Remove line breaks questions
Leave Keep paragraph breaks on. Breaks inside a paragraph are replaced with your separator, and the blank lines between paragraphs stay where they are.
Set Join with to Comma and clean. Each line becomes one item with the spaces at the seams tidied. The list cleaner does the same conversion and can sort and deduplicate along the way.
The separator was set to Nothing, which joins lines with no character between them. Choose Space for prose — words at the seams then always get exactly one space.
No. Carriage-return line endings are normalised before anything else runs, so CRLF and LF text behave identically.
No — this tool only joins. To go the other way, the list cleaner can take comma-separated input and output one item per line.