Home / Guides / Why text copied from a PDF breaks in the middle of every line

Why text copied from a PDF breaks in the middle of every line

In short

A PDF stores text as separate lines positioned on a page, not as flowing paragraphs, so copying a paragraph out of one often brings a line break at the end of every visual line, even in the middle of a sentence. Paste & Wash can rejoin those hard-wrapped lines into normal paragraphs while leaving genuine bullet points and numbered lists on their own lines.

Copy a paragraph out of a PDF and paste it into a document, and it can come out looking like poetry: every line breaking in a slightly strange place, regardless of where the sentence actually ends. That's not a paste error. It's how PDFs are built.

Why PDFs do this

A PDF is a page-layout format, not a word-processing format: it records where each line of text sits on the page, rather than storing a paragraph as one continuous flow of words the way a document editor does. When a PDF viewer lets you select and copy text, it generally copies each visual line separately and puts a line break after it, because as far as the file is concerned, that's where the line actually ends.

The result is real, working text, just structured the way the page was laid out rather than the way a paragraph is normally written.

What it breaks

  • Find and replace often fails, because the phrase you're searching for is split across two lines in the pasted text.
  • A document's automatic paragraph spacing and justification look wrong, since the software now sees dozens of short lines instead of a few paragraphs.
  • Word counts and reading-time estimates can be thrown off by the extra line breaks.
  • Sending the raw text to another tool, including an AI tool, can confuse it about where sentences and paragraphs actually begin and end.

How to fix it

  • Open Paste & Wash and paste in the text.
  • Turn on Join broken lines.
  • Lines that were only broken because of the PDF's layout are rejoined into a normal paragraph with a single space between them.
  • Genuine bullet points and numbered list items, which are meant to stay on their own line, are detected and left alone.

A quick way to tell if you need this

If pasted text looks like normal sentences but breaks onto a new line every 60 to 100 characters regardless of punctuation, it's almost certainly this. A paragraph that already flows normally, or text copied from a web page or a chat tool, won't need this option and turning it on won't do anything to it.

Other things that go wrong with PDF text

  • Words split by a hyphen at the end of a line stay split after the lines are joined, so you may see a word cut in two with a space inside it.
  • Headers, footers and page numbers get copied into the middle of the text.
  • Two-column pages can be read straight across, mixing the columns. Select one column at a time to avoid this.
  • Ligatures such as the joined fi and fl characters can arrive as single characters, so a search for the plain letters may not find them. The cleaner does not convert these, so use find and replace.
  • Tables flatten into rows of text with the layout lost.
  • Scanned PDFs contain pictures of text, and any text you get from them comes from character recognition, which makes mistakes you should proofread.

After you join the lines

Switch on Join broken lines to turn the hard-wrapped lines into proper paragraphs. It keeps list items on their own lines. Then search for a hyphen followed by a space to find words that were split at a line end, and repair them by hand.

Finally, read the result once. A PDF copy is the kind of text where a quick proofread catches a stray page number or a swapped column before anyone else does.

A routine for PDF text

  • Copy one column or one section at a time, so the order stays right.
  • Paste into Paste & Wash and switch on Join broken lines.
  • Read the report to see how many line breaks and odd spaces were fixed.
  • Search for a hyphen followed by a space and repair words split at a line end.
  • Delete repeated headers, footers and page numbers.
  • Proofread the result once, especially numbers and anything that came from a table.

Try the cleaner to see what is hiding in your own text.

Related guides

Browse all 20 guides