Remove Line Breaks
Join all lines of a text into one, with a space, nothing, a comma or a custom separator between them.
- Runs in your browser
- Free to use
About this tool
Remove Line Breaks reflows text that was hard-wrapped at 72 characters, copied from a PDF, or exported one word per line, joining the lines with the separator you choose while optionally preserving paragraph breaks.
For list-to-CSV conversion use New Lines to Commas.
How to use it — quick steps
- 01
Enter the text
Type or paste the text in the field above. Nothing is uploaded: the text stays in your browser.
- 02
Adjust the options
Pick the settings that fit your case; the defaults work for most people. Changes apply instantly.
- 03
Press "Remove line breaks"
Press "Remove line breaks" or Ctrl + Enter. The result appears instantly below the form.
Key features of this tool
Nothing leaves your browser
The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.
Instant results
Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.
Works everywhere
No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.
Frequently asked questions
My text was hard-wrapped by an e-mail client
Join with a space and keep paragraphs: each paragraph becomes a single long line while blank lines still separate paragraphs.
Can I join with a comma?
Yes; for quoting and other separators see New Lines to Commas.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.