Remove Line Breaks
Remove line breaks from copied text, such as text from a PDF or email, joining the lines with a space or nothing and keeping paragraphs if you want.
How to remove line breaks from text
Paste your text
Paste or type it into the box, or press Try an example.
Choose what replaces them
Use a space, join the lines with nothing, or keep blank lines between paragraphs.
Copy or download
Paste the single paragraph where you need it.
Worked example
This is what Remove Line Breaks gives for its own sample values. Open the tool above and change anything to try your own.
Your text
This text was copied from a PDF and every line ends with a break. A new paragraph starts here.
- Replace each line break with
- A space
Text without line breaks
This text was copied from a PDF and every line ends with a break. A new paragraph starts here.
About Remove Line Breaks
Fix text copied from a PDF, an email or a website where every line ends with a break. The lines are joined into flowing text. You can keep the blank lines that separate paragraphs, and extra spaces are tidied up.
FAQs
Why does copied text have line breaks?
PDFs and emails often break lines at a fixed width. Pasting keeps those breaks.
Can I keep paragraphs?
Yes. Choose the option that keeps blank lines between paragraphs.
Does it change anything else?
Only the line breaks and any doubled spaces they leave behind.