Copy Text From a PDF Without Line Breaks

Why pasted PDF text breaks at every line, and how to get paragraphs back.

The Short Answer

A PDF stores text as lines placed on a page. It usually has no idea where a paragraph starts or ends. So when you copy, you get a line break at the end of every line, and Word or your email turns each one into a new paragraph.

The fix is to join the lines back into paragraphs before you paste. Paste the text into a line-break remover, check the result, and copy it again.

Remove the line breaks →

Step by Step

  1. In the PDF, select the text and copy it (Ctrl+C on Windows, ⌘C on a Mac).
  2. Open the Text Unwrapper and paste into the top box. The clean text appears below straight away.
  3. Read the result. If two paragraphs were joined, put a blank line between them in the top box. If one paragraph was split, untick the option that starts a new paragraph after a short line.
  4. Click Copy.
  5. Paste into your document. In Word, click the Paste Options button that appears and choose Keep Text Only to drop the PDF's fonts. In Google Docs, use Edit → Paste without formatting (Ctrl+Shift+V).

Here is a real example, run through the tool with its default settings:

Copied from the PDF

The committee reviewed the proposal in  detail and found that the
budget estimates were reasonable, although the timeline for the
second phase seemed optimistic. Members agreed that the mean-
ing of "completion" should be defined before work begins, and
that a well-
known contractor should be consulted.

After unwrapping

The committee reviewed the proposal in detail and found that the budget estimates were reasonable, although the timeline for the second phase seemed optimistic. Members agreed that the meaning of "completion" should be defined before work begins, and that a well-known contractor should be consulted.

"mean- ing" became "meaning", but "well- known" kept its hyphen, and the double space was collapsed.

Other Ways to Do It

Things That Trip People Up

Platform Notes

Windows and Mac: whichever viewer you copy from (a browser, Adobe Acrobat Reader or Preview), if the pasted text has a break at the end of every line, the same fix applies.

Email: text from older plain-text emails and mailing lists often has the same problem, because the email standard (RFC 5322) recommends lines of no more than 78 characters, so plain-text mail is often wrapped. The unwrapper treats it the same way.

Phone: the Text Unwrapper works in the browser on an iPhone or Android phone. Paste, tap Copy, and paste into your notes or email.

Frequently Asked Questions

Why does text copied from a PDF have line breaks?

A PDF describes where each line of text sits on the page. It usually doesn't record where paragraphs start and end. When you copy, the PDF viewer puts a line break at the end of every line it sees, and those breaks come along when you paste.

How do I paste PDF text into Word without line breaks?

Copy the text from the PDF, paste it into a line-break remover such as the Text Unwrapper, then copy the cleaned text and paste it into Word. To avoid bringing fonts along, use Word's Paste Options and choose Keep Text Only.

Can Word fix the line breaks itself?

Partly. Word can open a PDF directly and convert it into an editable document, so you skip copying altogether. Microsoft notes it works best with mostly-text PDFs and that lines and pages may break in different places from the original.

Does opening the PDF in Google Docs remove the line breaks?

Not reliably. Google's help page for converting PDFs says line breaks are likely to be retained, and the conversion only works for files of 2 MB or smaller.

Why do some words come out joined or split after unwrapping?

Words that were hyphenated at the end of a line are re-joined when the next line starts with a lowercase letter. Real compounds such as well-known keep their hyphen. If the PDF itself has no spaces between words in its text layer, no unwrapping can add them back.

Why does text copied from a PDF come out as symbols or gibberish?

That's a different problem. Usually the PDF embeds fonts without a map from the shapes back to letters, so the copied characters are wrong. Removing line breaks won't help; running the PDF through text recognition (OCR) is the usual fix.