Every line is its own paragraph in Word: rejoin them in 2 minutes
By the getPDF team · Published 26 October 2026
The short answer
A paragraph mark after every line means the text came into Word line by line, as the PDF stores it. Rejoin the lines in 3 Find and Replace passes: replace ^p^p with ###, then ^p with a space, then ### with ^p. Real paragraph ends were the double breaks; the single ones were line ends. Our converter does this joining itself, by the gap between lines, and keeps lines apart only where a reader would.
Try it here, nothing is uploaded
What you are looking at
Click the Show/Hide ¶ button on the Home tab. A pilcrow at the end of every line, not just every paragraph, is the problem. Typing inside a line pushes words onto the next line, but the next line does not move up to fill the gap, because to Word it is a separate paragraph.
It comes from any route that keeps the PDF’s lines: a converter that copies line for line, a copy and paste from a viewer, or PDF to text (which keeps lines on purpose, so that a translation tool or a script gets them as they were).
The 3 passes
Press Ctrl+H. Make sure Use wildcards is off (click More to see it). Then, in this order:
| Pass | Find what | Replace with | What it does |
|---|---|---|---|
| 1 | ^p^p |
### |
Marks the real paragraph ends (the blank line between paragraphs) with a placeholder |
| 2 | ^p |
a single space | Joins every remaining line to the next |
| 3 | ### |
^p |
Puts the real paragraph ends back |
Replace All on each. ^p is Word’s code for a paragraph mark. If the file uses line breaks instead (a bent arrow rather than a pilcrow), the code is ^l.
After the passes, search for a hyphen followed by a space. Each one is a word that was broken at a line end (“north- ern”) or a real compound at a line end (“well- known”). Delete the hyphen and the space for the first kind, the space only for the second.
No blank line between paragraphs? Then pass 1 finds nothing. Use the full stop at a paragraph’s end as the clue: with Use wildcards on, find .^13 and replace with .### (wildcards use ^13 for the paragraph mark), run pass 2, then pass 3. Sentences that end mid-line are not caught, so read it through once.
Why our converter joins lines itself
The converter reads each line’s box on the page and joins a line to the one above when the gap between them is less than about 0.6 of a line, the size and weight do not change, the line is not a bullet or a clause number, and the line above reached at least 60 % of the column’s width. The word broken at a line end loses its hyphen and joins up: PDFium, the engine Chrome uses to show PDFs, marks those hyphens, and the converter removes them.
It keeps lines apart on purpose in 4 cases, because a reader would:
- An address or a letterhead: short lines, one under the other. The 60 % rule keeps each on its own line. On the test invoice, Mill Lane 4, 8010 Graz and Austria stayed 3 paragraphs.
- A title on 2 lines, centred: 2 centred paragraphs.
- Footnotes: small text starting with a number, 1 paragraph each.
- Lines in different columns: the left column’s lines never join the right’s.
On the test report, 897 words on 6 pages came out as 17 paragraphs, 11 headings and 7 list items, not 90 lines.
The honest part
A converter reads spacing, not meaning. A poem, a list of names without bullets or an address with long lines looks like a paragraph to it and is joined; double-spaced text looks like separate paragraphs and is split. When that happens, the 3 passes above work in reverse too: replace a space-plus-capital with a paragraph mark where lines should break, or run pass 2 on a stretch that was split. Why a PDF does not turn neatly into Word has the full list of what has to be guessed.
Questions
Why is there a paragraph mark after every line?
The PDF stores lines, not paragraphs. A converter or a copy and paste that keeps the lines as they were gives Word a paragraph for each one. Our converter joins lines into paragraphs by their spacing, so this happens only with text taken another way.
What is the quickest fix in Word?
3 Find and Replace passes with wildcards off: ^p^p to a placeholder such as ###, then ^p to a space, then ### back to ^p. Real paragraph breaks had a blank line between them; single breaks were line ends.
The paragraphs had no blank line between them. Now what?
Then the only clue is the short last line. Replace ^p with a space everywhere, then read through and press Enter where a paragraph ends; or find lines ending in a full stop with wildcards: .^13 to .###.
What about hyphens at line ends?
After joining, search for a hyphen followed by a space (- ) and check each one: a broken word loses the hyphen and the space, a real compound keeps the hyphen. Our converter does this itself for words PDFium marks as broken.
The tools for this job
Keep reading
- How to convert a PDF to Word, and what to expect when you open the resultHow to convert a PDF to Word in your browser in 3 steps, free, nothing uploaded, and what comes across: tested on an invoice, a report, a CV and a paper.
- Copied PDF text breaks at the end of every line: 3 fixesText copied from a PDF breaks at each line because a PDF stores lines, not paragraphs.
- The converted Word file looks different: what changed, and the 5-minute fixesYour PDF to Word file looks different because page layout does not survive conversion.
- Why a PDF does not turn neatly into Word, and what survives anywayA PDF stores letters at positions; Word stores paragraphs that flow.
- Get the text out of a PDF for translation, clean enough to quote and translateExtract text from a PDF for translation free, on your device: a Word file with whole paragraphs, no page numbers or headers in the flow, an honest word count.
- The Word file is full of text boxes: how to make the text flow againA converter that copies the page puts every line of a PDF in a text box, and editing is a fight.
- PDF to Word, Excel and text for free: what converts, what breaks, and how to pickConvert PDF to Word, Excel, plain text, Markdown or CSV free in your browser.