Remove Line Breaks

Fix broken lines in text copied from PDFs, emails and websites.

🔒 Runs entirely in your browser. Nothing you enter is uploaded or stored.

What is the Remove Line Breaks?

When you copy text from a PDF, an email or a narrow web column, every visual line often ends with a hard line break. Pasted into a document, a form or a chatbot, the text is chopped into short fragments. This tool removes the unwanted line breaks and turns the fragments back into flowing paragraphs.

By default it keeps paragraphs: single line breaks are joined with a space, while blank lines between paragraphs stay. It also re-joins words hyphenated across a line ("para-
graph" becomes "paragraph") and collapses the double spaces PDFs often leave. Choose Remove all line breaks to flatten everything into a single line, for example for a spreadsheet cell or a JSON string.

How to use the Remove Line Breaks

  1. Paste the text with broken lines into the left box.
  2. Choose whether to keep paragraphs or remove every line break.
  3. Leave Join hyphenated words and Collapse extra spaces on for PDF text, then copy the result.

Frequently asked questions

Why does text copied from a PDF have line breaks everywhere?

A PDF stores text as positioned lines, not as paragraphs. When you copy it, the reader inserts a line break at the end of every visual line.

Will it join real hyphenated words like "well-known"?

Only hyphens at the very end of a line followed by a lowercase letter are joined. Hyphens inside a line are never touched. A compound word that happens to break at its hyphen may lose it, so check the result for those.

Is my text uploaded?

No. Everything runs in your browser.