Loading the interactive tool… It runs in your browser — if it doesn't appear, enable JavaScript.
Text copied out of a PDF, an email client or a code editor carries hard line breaks that were only ever there because of the original column width. Paste it into a document and every line ends in the wrong place. This strips those breaks and joins the text back into flowing paragraphs.
The important option is on by default: blank-line paragraph breaks are preserved. Line breaks inside a paragraph are formatting artefacts, but the breaks between paragraphs carry meaning, and tools that flatten everything into one line destroy the structure you were trying to keep. Turn it off when you genuinely want a single line.
Frequently asked questions
How do I remove line breaks but keep paragraphs?
Leave "Keep paragraph breaks" enabled — that's the default. Lines within a block are joined together, and blank lines between blocks are preserved as paragraph separators. Switch it off to collapse the entire text onto one line.
Why does text from a PDF paste with broken lines?
PDFs store text positioned line by line rather than as flowing paragraphs, so copying inserts a hard break at the end of each visual line. Those breaks matched the PDF's column width, not your document's, which is why the wrapping looks wrong everywhere else.
Can I join lines with something other than a space?
Yes — set any separator you like. A comma joins a column of values into a comma-separated list, which is a quick way to turn a pasted spreadsheet column into something you can put in a query or a form field.
Is my text uploaded?
No. Everything runs in your browser and nothing is transmitted. That matters when the text is a draft, a contract or anything else you'd rather not paste into a stranger's server for reformatting.