Remove line breaks

Join broken lines of text back into normal paragraphs.

Runs in your browser. Nothing you type is sent anywhere.

How to remove line breaks

  1. Paste text that has an unwanted line break after every line.
  2. Choose whether to keep blank-line paragraph breaks.
  3. Copy the joined text or download it as a file.

Keeping vs removing paragraph breaks

OptionWhat happens to a blank line between paragraphs
Keep paragraph breaks (default)Each paragraph becomes one line in the result, and the blank line between paragraphs stays
Turned offThe whole text is joined into a single paragraph with no blank lines left

Where hard line breaks come from

  • Copying a paragraph out of a PDF, which often stores a line break at the end of every visual line.
  • Pasting from an old email client or a plain-text newsletter wrapped at a fixed width.
  • Exporting notes from an app that saves every visual line as its own line in the file.
  • Old software or scripts that write text files wrapped at a fixed column, like 80 characters.

Remove line breaks FAQ

Why does copied text sometimes have a line break after every line?

PDFs and some websites store text with a hard line break at the end of every visual line, which looks fine on the original page but turns into a broken paragraph once pasted elsewhere.

What is the difference between keeping and removing paragraph breaks?

With paragraph breaks kept, each blank-line-separated block becomes one line in the result. With them removed, the entire text is joined into a single paragraph.

Does this remove extra spaces too?

It collapses the spaces left behind where line breaks used to be. For a full cleanup of spacing, tabs and empty lines, use the remove extra spaces tool.

Will this join a list into one paragraph too?

Yes, if you turn off keep paragraph breaks. If you want a list to stay as separate lines, leave paragraph breaks on and format the list before removing other line breaks.

Does it fix a word that got split by a hyphen at the end of a line?

No. A word broken across two lines with a hyphen, like exam- on one line and ple on the next, stays as two pieces joined by the hyphen. Use find and replace if your text has many of these to clean up.

Can I clean up just part of a longer document?

Paste only the section you want fixed into the box, run it, then paste the result back into the rest of your document.

Related tools