How to remove unwanted line breaks from PDF text

Istio · Updated

Copy the text into a plain-text editor and keep the PDF open beside it. If the page is a scan, first extract the text from the scanned PDF.

Compare the lines with the page

Bring your note-
book to the on-
site workshop.

Doors open at nine.

Read the first sentence aloud. The printed lines end halfway through two words. Join “note-” and “book” as notebook. Keep the hyphen in on-site. Where a line ends between two complete words, insert one space.

Keep the paragraph break

Bring your notebook to the on-site workshop.

“Doors open at nine.” starts its own paragraph in the original. Leave the blank line there. Before replacing breaks across a whole document, compare one page with the PDF, especially list items and headings that intentionally start on fresh lines.