Remove Line Breaks
Turn multi-line text into a single line, joining with a space, comma or custom separator.
To remove line breaks, paste your multi-line text above and choose how the lines should be joined — with a space, a comma, a pipe or nothing at all. Empty lines are dropped and each line is trimmed before joining.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why does text copied from a PDF have breaks in odd places?
What is the difference between a soft and hard line break?
How to use the remove line breaks
- 1Enter or paste your text.
- 2Choose the join lines with.
- 3The result appears immediately — copy or download it.
Embed this tool
Put the working remove line breaks on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Add Line NumbersPrefix every line with a sequential number, with a custom start, separator and zero padding.Line SorterSort lines alphabetically, numerically, by length or in reverse — with natural-order support.Remove Accents & DiacriticsConvert accented characters to plain ASCII — café becomes cafe, naïve becomes naive.Remove Duplicate LinesDelete repeated lines from a list, keeping the first occurrence of each unique line.Whitespace RemoverStrip extra spaces, tabs, blank lines and trailing whitespace from any text.ASCII Art Text GeneratorTurn words into large ASCII banner text for terminals, READMEs and code comments.
Last updated
More text tools