Remove Line Breaks

Fix text pasted from PDFs and emails โ€” unwrap lines, keep paragraphs.

About this tool

Paste mangled text, get clean prose. The smart default treats blank lines as real paragraph breaks and every other newline as wrap damage โ€” which is exactly the mess PDFs, emails and ebooks produce โ€” and it rejoins words that were hyphen-split across lines ("exam- ple" becomes "example"). One mode removes every break; another also collapses doubled spaces.

Why pasted text arrives broken

PDFs and old email standards hard-wrap text at a fixed column width โ€” the line breaks are baked into the characters, not the layout, so pasting carries the jagged edges along. Word processors then treat each fragment as its own paragraph, and re-wrapping by hand is the tax everyone pays. The one honest caveat: no tool can perfectly distinguish a poem's intentional line breaks from a PDF's accidental ones โ€” that's what the mode switch is for. Deduping, sorting and trimming lines live in the full text cleaner; counting what you cleaned is the text counter's job.

Frequently asked questions

How do I remove line breaks but keep paragraphs?

Use the default mode: blank lines are kept as paragraph boundaries, single newlines are treated as wrap damage and become spaces. That matches how PDFs and emails actually break text.

Why does text from a PDF paste with broken lines?

PDFs store hard line breaks at the page's wrap points โ€” they're real characters, not layout โ€” so the paste faithfully reproduces the jagged column. Unwrapping them is exactly this tool's job.

What happens to hyphenated words split across lines?

Rejoined automatically: 'exam- ple' becomes 'example'. Genuine hyphenated compounds inside a line are left alone.

Is my text uploaded?

No โ€” everything runs in your browser, free forever, no account. Paste confidential documents without a second thought.