Line Break Remover
Join a column of lines back into flowing text or a delimited list. Replace line breaks with a space, comma or your own separator, and keep paragraph breaks if you want.
Your text is processed locally in your browser and is not uploaded to our servers.
Joined text
0 charactersSummary
What this tool does
When you copy text out of a PDF, an email, or a narrow column, every visual line often ends with a hard line break. Paste it somewhere wider and the text stays broken into short ragged lines. This tool joins those lines back together, so the text flows naturally again — while giving you the choice to keep the breaks that actually separate paragraphs.
How to use it
- Paste the broken text.
- Choose what should replace each line break — usually a space for flowing prose, or a comma to turn a column into a list.
- Keep Keep the breaks between paragraphs on so blank-line paragraph separation survives.
- Copy the joined result.
How the joining works
The tool distinguishes between two kinds of break. A single line break inside a block of text is usually accidental — a hard wrap from the source — and is the thing you want to remove. A blank line between blocks is deliberate paragraph separation.
With Keep the breaks between paragraphs on, the text is split into paragraphs at blank lines, the single breaks inside each paragraph are replaced with your chosen separator, and the paragraphs are rejoined with blank lines between them. With the option off, every line break is replaced, producing a single continuous line or list.
The separator choices cover the common cases: a space for reflowing prose, a comma and space for building a comma-separated list, nothing for joining fragments directly, or any custom string you type — a pipe, a semicolon, or a tab. The Trim spaces option cleans each line before joining, so you do not end up with double spaces where a line had trailing whitespace.
Examples
Text copied from a PDF often looks like this:
The annual report shows steady
growth across all regions, with
the strongest results in Asia.
Joined with a space it becomes one clean sentence: The annual report shows steady growth across all regions, with the strongest results in Asia.
Turning a column into a list: paste a list of names, one per line, choose the comma separator, and get Alice, Bob, Carol, Dave ready to drop into a sentence or a spreadsheet cell.
Common use cases
- Reflowing PDF text that was copied with hard line breaks.
- Turning a column into a comma-separated list for a form field or a query.
- Un-wrapping quoted email text full of forced breaks.
- Building a single-line value from multi-line input.
- Joining fragments with a custom delimiter for import into another system.
If your text also has blank lines you want gone, run it through Remove Empty Lines first, or clean stray spacing with the Whitespace Remover.
Privacy and security
Joining happens in your browser. Nothing is uploaded. Your options are saved locally. See the privacy policy.
Frequently asked questions
How is this different from the whitespace remover?
The Whitespace Remover focuses on spaces and tabs and can strip line breaks as one of many options. This tool is built specifically for joining lines: it lets you choose exactly what replaces each break and can preserve paragraph separation, which the whitespace remover does not.
Will it keep my paragraphs separate?
Yes, if Keep the breaks between paragraphs is on. Only the single line breaks inside a paragraph are joined; the blank lines between paragraphs are preserved.
How do I make a comma-separated list?
Choose the comma separator. Each line break becomes a comma and a space, turning a column of items into a single comma-separated line.
Can I use a tab or a custom character as the separator?
Yes. Select A custom separator and type whatever you need in the field — a pipe, a semicolon, or a space-padded delimiter. Whatever you type is inserted in place of each line break.
What about Windows versus Unix line breaks?
Both are handled. The tool normalizes Windows (CRLF) and old Mac (CR) line endings before joining, so text from any source is treated the same.
Related tools
Tools that pair well with the Line Break Remover.