LazyTools

🔒 Every tool runs in your browser — the files and values you enter are never uploaded to any server. How it works

📄 Remove Line Breaks

Fix text that arrives with a break at the end of every line — PDFs, emails, OCR output — in one click.

Rate this tool:
Anonymous — no account, no identifier

How the remove line breaks works

The default mode replaces every run of line breaks with a single space and collapses doubled spaces, turning hard-wrapped text back into a flowing paragraph. The other modes handle the narrower cases: deleting breaks outright, tidying repeated spaces and tabs, or removing only the blank lines between paragraphs.

The classic sources of broken text: copying out of PDFs (hard-wrapped at the column width), plain-text emails wrapped at 72 characters, and OCR output. Paste, join, and the paragraph reflows naturally wherever you drop it.

Frequently asked questions

Why does text copied from a PDF have a break on every line?

PDFs store text as positioned lines, not paragraphs — copying preserves the visual line ends as hard breaks. Joining them with spaces restores the paragraph.

Will joining lines merge my paragraphs too?

The default mode joins everything. If your text has real paragraphs separated by blank lines, first use "remove empty lines only" in reverse — or join per paragraph. For most PDF/email cleanups, plain joining is what you want.

What is the difference between removing breaks with a space vs entirely?

With a space keeps words separated ("line one line two"); entirely fuses them ("line oneline two") — only right for reassembling split URLs or code.

Can it clean up double spaces after sentences?

Yes — the collapse mode reduces any run of spaces or tabs to a single space and trims line edges.

Is anything sent to a server?

No — the cleanup runs in your browser, instantly, even offline.

Related text tools

From the blog