A PDF often positions text for a page rather than for reuse in an editor. Copying can insert a line break after every printed line, reorder columns, or split words at hyphens. Cleanup needs a comparison with the source, not just a shorter-looking result.
Use a controlled before-and-after sample
First open the original text-based source PDF. It contains the four prose lines and two list items shown below, with selectable text. Also download the copied-text example and the checked expected paragraph. They contain original fictional workshop text. The before file has a short prose paragraph broken across lines followed by a two-item list.
Bring the workshop notes
and a pen to the Cedar room.
Keep the printed checklist
with your materials.
- Confirm the room
- Print the handout
The first four lines form one paragraph. The final two lines are a list and should remain separate.
Copy a limited region first
In Preview on macOS Tahoe 26, choose Tools → Text Selection, select a small passage, and use Edit → Copy. Paste it into a plain-text editor. For a multi-column page, inspect whether the selection follows the intended column; the visual reading order may differ from the copied order.
Do not start by copying a whole long document and globally removing every line break. Tables and numbered instructions can become misleading when boundaries disappear.
Clean only the paragraph
Select only the first four prose lines in the PDF, copy them, and paste into Text Cleanup. If your viewer already joins those lines, keep that valid result; the before TXT is a controlled fallback for practicing repair. Keep your original separately. Enable Join all lines only for this selected paragraph, then compare each sentence with the before sample. Keep the list out of that operation.
If a line ends in a hyphen, decide whether it is a true hyphen or a word split caused by typesetting. A tool cannot reliably infer that distinction from every text. Do not globally delete hyphens from names, dates, identifiers, or minus signs.
Copy the cleaned paragraph to a new plain-text file. Add one blank line, then copy the two original list items from the PDF below it without joining them. Compare the whole file against pdf-copy-after.txt: one prose paragraph, one blank line, two separate hyphen-led items. Your viewer may copy different wrapping, so check the words and list boundaries, not an assumed byte-for-byte copy behavior.
Check meaning after formatting
| Detail | Check |
|---|---|
| Words and numbers | No omissions or substitutions |
| Sentence punctuation | Still separates the same ideas |
| Paragraph boundary | A blank line remains before the list |
| List | Two distinct items remain |
| Columns or tables | Not silently combined into a false sentence |
The expected download illustrates a checked result for this specific sample. It is not a rule that all single line breaks should disappear. For real content, retain the PDF as your reference and check any OCR output against the visible page.
References & scope
These official references support the software instructions. Practice documents are original, fictional teaching examples; labels can vary by release.
- Select and copy text in a PDF in Preview on Mac
Use Text Selection and Copy for PDF text; column selection is distinct.