How to fix line breaks in text copied from a PDF
Join wrapped PDF text while preserving paragraphs and lists. Know when hyphen removal helps and when extraction or OCR is the real issue.
A paragraph that looks normal in a PDF may arrive in your editor with a line break after every few words. Those breaks often reflect the page's visual layout rather than the author's paragraphs. Joining them can make the passage readable again, but joining every line indiscriminately can also destroy lists, addresses and headings.
Work on a copy and inspect a small section first. The right repair depends on whether you have selectable text, a scanned page, a table or a multi-column layout.
Separate extraction from cleanup
PDF Text Fixer accepts pasted text. It does not open PDF files or recognize text in a photograph. If your PDF has selectable text, copy a short passage or try PDF to Text to extract it before cleanup.
If selecting a word instead selects a whole page image, you may need OCR from another application. A line-break tool cannot recover letters that are not present in the input. Likewise, if text from two columns arrives interleaved, joining lines will not put those columns back in the right order.
Keep paragraph breaks when they carry meaning
Compare a wrapped passage with a separate paragraph:
The workshop starts at nine
and ends before lunch.
Bring a notebook.
With paragraph preservation enabled, the intended result is:
The workshop starts at nine and ends before lunch.
Bring a notebook.
The single line break is joined; the blank line still separates two paragraphs. That is usually a better starting point for ordinary prose than collapsing the entire passage into one line. If the PDF never supplied blank lines, the tool cannot reliably infer where the author intended a new paragraph.
Check lists and short standalone lines
A list marker can be a useful boundary. The fixer can keep recognized list items on separate lines instead of joining each new item to the previous one. Check the first item, a middle item and the last one after cleanup.
Short lines without markers need more care. A heading, postal address or poem may look like wrapped prose to a mechanical tool. Process those sections separately or restore their line breaks manually. For a list where every line is deliberately an entry, Line Break Remover may be the wrong tool altogether.
Handle hyphenated line endings cautiously
A word split across lines might look like inter- followed by national. Optional dehyphenation can remove the line-ending hyphen when the following line starts with a lowercase letter. The same rule can damage a genuine compound such as well- followed by known.
That is why hyphen removal is off by default. Without it, the fixer can join the wrapped word while retaining the hyphen. Enable removal only after reviewing the source, then search the result for representative compound words, names and technical terms. Neither option can determine the intended spelling from meaning.
Look for ligatures and reading-order problems
Some extracted text contains a printed ligature such as fi instead of the two ordinary letters fi. The fixer's common-ligature option converts these recognized forms. It does not repair every font encoding error or replace missing characters.
Read the cleaned passage from beginning to end. Watch for repeated headers, page numbers inserted mid-sentence and table cells in the wrong order. These are extraction problems, not merely extra line breaks. Removing them requires knowing what the original page says.
Finish with a comparison
Compare at least one full paragraph against the PDF, including numbers, punctuation and names. If spacing remains uneven, use Remove Extra Spaces as a separate final step rather than stacking changes before checking them.
Pasted text is processed in your browser. Keep the original PDF available until you have verified the result: readable text is useful, but visual neatness alone does not prove that the extraction preserved every word.