Remove line breaks
Paste text with a hard line break at the end of every visual line — the usual result of copying out of a PDF — and get flowing paragraphs back. The "Remove line breaks" step below is already queued up with paragraph mode on.
Your text never leaves your browser.
Pipeline
Add one or more steps below. They run top to bottom, live, and you can reorder or remove any of them.
No steps yet — add one above, or try an example that already has a few queued up.
Result
The problem with "just remove every line break"
A PDF (or a printed page, or an old plain-text email) wraps text at a fixed width and bakes that wrap in as a real line break, not a soft one. Copy three paragraphs out of a PDF and you get dozens of line breaks — one at the end of every visual line, plus one or two marking an actual paragraph boundary. Removing every line break indiscriminately joins the entire document into one wall of text, destroying the paragraph structure along with the unwanted wrapping.
"Keep paragraph breaks" (on by default here) fixes this: lines within a paragraph — the ones separated by a single line break — get joined with a space, while a blank line between paragraphs is preserved as a paragraph break. Turn it off only when you genuinely want the whole input collapsed into a single line, which is a different and much rarer use case. Seecleaning up text pasted from PDFs for more on spotting and fixing this.