You copy a paragraph out of a PDF, paste it into your document, and it lands as a staircase: every line stops short, exactly where the line ended on the page, even though the sentence is only half finished. The text is all there. It is just chopped at every visual line end, and joining it back by hand is nobody's idea of a good afternoon.
This guide explains why PDFs do this, and how to repair it with the free Remove Line Breaks tool on Ovatly. The breaks are an artifact of how the format stores text, not something you did wrong, and the fix respects the one real signal your pasted text still carries: the blank line between paragraphs.
Contents
- Quick answer
- A PDF is a picture of a page, not a document
- The one signal that survives copying: the blank line
- Two modes: Keep paragraphs and Join everything
- How to fix PDF text, step by step
- Worked example: unwrapping a short paragraph
- Limitations and alternatives
- Common mistakes
- Troubleshooting
- FAQs
- Conclusion
Quick answer
Text copied from a PDF has a break at the end of every line because a PDF stores text at fixed positions on a page instead of as flowing paragraphs, so the clipboard hands you the page's visual lines. To fix it, paste the text into the Remove Line Breaks tool and choose Keep paragraphs: single breaks inside each block are joined into flowing lines, while blank lines between blocks are preserved as real paragraph breaks. Choose Join everything only when you genuinely want one block. One limit to know up front: if the PDF never marked a paragraph with a blank line, no tool can restore that boundary, because the signal is not in the copied text.
A PDF is a picture of a page, not a document
A word processor file stores writing as a stream: characters, words and paragraphs in order, with layout worked out each time the document opens. Resize the window or change the font and the text reflows, because the file never fixed where each line ends.
A PDF works the other way around. It is a page description: it records that a run of text sits at a certain position, in a certain font, at a certain size. Its job is to make the page look identical everywhere. What it does not store, in most cases, is the logical structure: this sentence continues on the next line, these lines form one paragraph, that gap is a paragraph break.
When you copy text from a PDF, the reader software reconstructs a plain text stream from those positioned runs, and the most faithful thing it can do is follow the layout. Each visual line becomes a line in your clipboard, terminated by a break, whether or not the sentence ended there. That is why breaks land mid-sentence, why a two-column layout produces very short lines, and why the same paragraph copied from a web page, where the text really is a stream, pastes cleanly.
The one signal that survives copying: the blank line
Not everything about the original structure is lost. When the gap between two paragraphs is larger than the gap between lines, the reconstructed text usually shows it as an empty line between the two blocks. That blank line is the paragraph signal, and it is the only structural signal the pasted text reliably carries.
- A single line break inside a block is wrapping. The line ended because the page ran out of width, not because the writer ended anything.
- A blank line between blocks is a paragraph break. Something real ended there: a paragraph, a section, a stanza.
The Remove Line Breaks tool is built on exactly this distinction. It treats a blank line between two blocks of text as a paragraph break worth keeping, and single line breaks inside a block as wrapping to be removed.
Two modes: Keep paragraphs and Join everything
Keep paragraphs preserves the blank lines while joining the wrapped lines inside each paragraph. A three-paragraph paste comes out as three flowing paragraphs. This is the correct mode for almost all PDF prose: articles, reports, essays, book excerpts, documentation.
Join everything produces one block. Every break goes, including the blank lines. That suits narrower jobs: feeding text into a field that rejects line breaks, preparing a caption, or rescuing a fragment you know is one paragraph.
If you are unsure, choose Keep paragraphs. Merging paragraphs later takes a couple of keystrokes; splitting one giant block back into paragraphs by eye is the tedious direction.
How to fix PDF text, step by step
- Copy the text from the PDF and paste the wrapped text in the box on the Remove Line Breaks page. Do not tidy it first; the tool expects the raw paste.
- Choose whether paragraph breaks stay or everything joins into one paragraph. For normal prose, keep the paragraph breaks.
- Read the flowing text in the result box. Skim the joins, especially anywhere a word was split across lines in the original.
- Copy or download the result for your document or editor, and give it a final read there.
Two details are worth knowing. Hyphenated words split across lines, for example "inter-" at a line end followed by "national" on the next, are joined with the hyphen kept; removing that hyphen is a job for Find and Replace, done deliberately. And extra spaces left by the original wrapping are collapsed to single spaces, with the leading and trailing blank areas of the pasted text trimmed in the result.
Worked example: unwrapping a short paragraph
Here is the tool's own example, the exact shape of a small PDF paste. The input is:
Line one
line two
New para
With Keep paragraphs chosen, the result is:
Line one line two
New para
The single break is gone, joined with a space, because it was wrapping inside one block. The blank line survives, because it marks a real paragraph break. With Join everything, the same input becomes one line: "Line one line two New para". Same words, two genuinely different documents. Scale that up to a thirty-page report and the mode choice decides whether the repair takes a click or an afternoon.
Limitations and alternatives
The honest limit: the tool fixes the common PDF problem of a line break at the end of every visual line, but it cannot restore paragraphs the PDF never marked with blank lines. Some PDFs are produced so that every line, paragraph boundaries included, is separated by the same single break in the copied text. In that paste, a boundary and a wrapped line look identical, and no software can tell them apart, because the information is not there. If your paste looks like that, join everything and re-break the paragraphs by hand at the topic changes.
The tool also will not fix garbled characters from a badly encoded PDF, or text copied out of order from a two-column layout. Those are extraction problems, upstream of line breaks. Lists need care too: bullets on separate lines would be joined into the paragraph, so clean list material line by line, or keep lists out of the paste.
If the PDF is one you control, the better fix is at the source: export the document as DOCX or plain text, where the paragraph stream survives. The joining itself happens in your browser; your text is not uploaded anywhere.
Common mistakes
- Choosing Join everything for ordinary prose. Every paragraph merges into one block, and you trade a one-click fix for a manual re-breaking session.
- Expecting invented paragraphs. If the paste has no blank lines at all, the tool cannot know where paragraphs were.
- Pasting bullet lists in with the prose. Each bullet line gets joined into its neighbours. Keep lists out, or clean them separately.
- Deleting hyphens in split words automatically. Some of those hyphens belong there. Remove them deliberately, checking each one.
- Skipping the read-through. Column order problems and fused words survive a break fix. One skim catches most of them.
Troubleshooting
Paragraphs merged that should not have. The paste almost certainly had no blank lines between them, so the breaks looked like wrapping. Re-copy if another export setting offers cleaner text, or split the merged block by hand at the topic changes.
Words have hyphens in the middle. Those are words the layout split across lines; the join keeps the hyphen on purpose. Remove the unwanted ones with Find and Replace, one checked word at a time.
FAQs
Why does copied PDF text break at the end of every line? A PDF stores text positioned on the page rather than as flowing paragraphs, so the copy you get follows the visual layout: every line ends where the page line ended, and your editor receives that as a line break.
What counts as a paragraph break in copied text? A blank line between two blocks of text. Single line breaks inside a block are treated as wrapping and can be removed, while the blank line is the signal that a real paragraph boundary exists.
Will removing line breaks fix text copied from a PDF? It fixes the common PDF problem of a line break at the end of every visual line. It cannot restore paragraphs the PDF never marked with blank lines, because there is no boundary signal left to recover.
Can I keep bullet lists as they are? Bullets on separate lines would be joined into the paragraph. Clean list material line by line, or keep lists out of the pasted text you run through the tool.
Is my text uploaded when I remove line breaks? No. The joining happens in your browser; nothing leaves your device.
Conclusion
The staircase paste is not your editor misbehaving and not you copying badly. It is the faithful shadow of a format that stores where text sits, not how it flows. Once you know a blank line is the one structural signal worth trusting, the repair is quick: paste into the Remove Line Breaks tool, keep the paragraphs, and check the joins. The wider set of tools in the Text and Writing Tools category covers the neighbouring cleanup jobs.
Related guide: How to Reflow Copied Lyrics or Poems Into Clean Lines.