Remove Line Breaks

Join broken lines from PDFs and emails into clean paragraphs, and remove extra spaces.

Made in your browser — nothing is uploaded

About Remove Line Breaks

Text copied from a PDF or an email often breaks in the middle of sentences. Paste it here to join the lines back into paragraphs, or into one line, and to join words split by a hyphen at the end of a line. Extra spaces are removed too. Copy the clean text or download it.

How Remove Line Breaks works

Remove Line Breaks rebuilds paragraphs from text copied out of PDFs, emails and websites, where every line ends with a hard break. With Keep paragraphs, lines inside a paragraph are joined with a space and the empty lines between paragraphs are kept; Remove all puts everything on one line; Lines to a list joins lines with commas.

A word split by a hyphen at the end of a line (exam- / ple) is joined back together, and double spaces and spaces before punctuation are removed. It all happens in your browser.

When to use Remove Line Breaks

  • Clean text copied from a PDF before pasting it into Word, an email or a form.
  • Turn a list of names or numbers, one per line, into a comma-separated list.
  • Remove the breaks in text copied from a website or an OCR result.

How to use Remove Line Breaks

  1. Paste your text. Into the top box.
  2. Choose how to join. Keep paragraphs, Remove all, or Lines to a list.
  3. Copy or download. Press Copy, or download a .txt file.

Options explained

Keep paragraphs
Best for articles and documents.
Remove all
One long line, e.g. for a form field.
Lines to a list
“a, b, c” from a list of lines.
Join hyphenated words
Fixes words broken across lines.

Frequently asked questions

Will my paragraphs be kept?

Yes, with Keep paragraphs: lines inside a paragraph are joined, and the empty line between paragraphs stays.

Will a hyphenated word like “well-known” be changed?

No — only a hyphen at the very end of a line, followed by a lowercase word on the next line, is joined.

Is what I type private?

Yes. Remove Line Breaks runs entirely in your web browser, so what you type is never sent to us or stored anywhere.

Guides