Remove Line Breaks

Copied text from a PDF and every line ends in the wrong place? Paste it here to join it back into normal paragraphs.

How to remove line breaks

  1. Paste your text into the top box.
  2. Pick how you want line breaks handled. Keep paragraphs works best for most copied text.
  3. The cleaned text appears in the result box. Copy it and you are done.

Which option should I choose?

Example

Text copied from a PDF often looks like this:

The results show a clear
improvement in overall
customer satisfaction.

Next year we plan to
expand the program.

With "Keep paragraphs" you get:

The results show a clear improvement in overall customer satisfaction.

Next year we plan to expand the program.

Where this comes in handy

Besides PDFs, you will run into hard line breaks in plain text emails (which often wrap at 72 characters), text copied from old websites, subtitles, OCR scans and poems or quotes you want to fit into one line. Students use it a lot when quoting from journal articles, since academic PDFs are some of the worst offenders.

Frequently asked questions

Why does text from a PDF have so many line breaks?

A PDF stores text the way it looks on the printed page, line by line. When you copy it, each visual line comes with its own line break, even in the middle of a sentence.

Can I keep my paragraphs?

Yes. Choose "Keep paragraphs". Single line breaks are removed, but an empty line between two blocks of text is kept, so your paragraphs stay separate.

What does "Fix words split with a hyphen" do?

Some PDFs break long words across lines with a hyphen, like "informa-" on one line and "tion" on the next. This option joins them back into "information". It only joins when the next line starts with a small letter, so real hyphenated names are left alone.

How do I remove line breaks in Word or Excel?

In Word, open Find and Replace, search for ^p and replace it with a space. In Excel you can use =SUBSTITUTE(A1,CHAR(10)," "). Pasting here is usually quicker for a one off job.