CoreGPT
Text Cleanup · Free

Remove Line Breaks

Paste text with unwanted line breaks, from a PDF or an email for example, and get clean text back. Keep paragraphs, join everything into one line or just delete empty lines.

What to do

0 line breaks removed

Take it further

Clean and analyze data with AI in your spreadsheet.

CoreGPT writes formulas, cleans messy columns and summarizes data inside Excel and Google Sheets.

Install CoreGPT for free

Text copied from PDFs, emails and websites often arrives with a line break at the end of every line, which breaks sentences apart when you paste it into Word, Excel or a form. This tool removes those breaks in your browser. You can join everything into one line, keep real paragraphs (separated by a blank line) while joining the lines inside them, strip breaks with no space, or only delete empty lines.

  • Fixing text copied from a PDF before pasting it into Word or Docs
  • Putting an address or list on one line for an Excel or Sheets cell
  • Cleaning up forwarded emails with broken lines
  • Removing blank lines from lists, code or exported data
  • Preparing text for forms and fields that reject line breaks
  • Use Keep paragraphs for articles and letters so the structure survives
  • Use Replace with a space for anything going into one spreadsheet cell
  • Leave Remove extra spaces on to clean up double spaces left by joined lines
  • Words split with a hyphen at the end of a line stay split: check them after cleaning
  • For data in Excel, the CLEAN and SUBSTITUTE functions can do the same job in a formula

How do I remove line breaks from text copied from a PDF?

Paste the text, choose Keep paragraphs, join the lines inside them, and copy the result. Each paragraph becomes one continuous block.

What is the difference between a line break and a paragraph break?

A line break ends one line. A paragraph break is a blank line between blocks of text. The Keep paragraphs option removes the first kind and preserves the second.

Can I remove only the blank lines?

Yes. Choose Only delete empty lines and every line stays where it is, without the gaps.

Is my text uploaded?

No. Everything happens in your browser.