Remove Line Breaks
Fix text copied from a PDF: join broken lines into paragraphs and clean up spaces — privately, in your browser.
How it works
Paste text whose lines were hard-wrapped by the source — a PDF, an email client at 72 columns, a terminal, subtitles — and get flowing paragraphs back. The four switches are independent: join lines into a paragraph (line breaks become spaces), collapse runs of repeated spaces and tabs into one space, drop empty lines entirely, and trim stray whitespace from the ends of each line. The result updates live as you type or toggle, and everything happens locally in your browser — the text is never uploaded anywhere, which matters precisely because the things people clean up are contracts, drafts and letters.
Being upfront about the limits: the tool works on whitespace only. It does not try to guess sentence boundaries, fix hyphenated words split across lines ("infor- mation" stays as written), or reflow text to a given width — it makes the whitespace predictable and leaves your words exactly as they were.
FAQ
Why does text copied from a PDF have a line break after every line?
PDF stores text as positioned lines, not paragraphs — when you copy it, each visual line becomes a hard line break. Joining lines back into paragraphs is exactly what the first checkbox does.
Can I keep paragraphs but remove the breaks inside them?
Enable "Remove empty lines" together with "Join lines": blank lines between paragraphs disappear as separators, and the remaining lines are joined — for most PDF and email texts that reconstructs clean paragraphs. If your source separates paragraphs with blank lines you want to keep, leave "Join lines" off and only clean spaces.
Is my text uploaded anywhere?
No — the cleanup happens entirely in your browser tab. Nothing is transmitted or stored; refreshing the page clears everything.