← Back to Blog

Workflows & Productivity | Published Aug 21, 2026 | Updated Oct 13, 2026 | 6 min read

How to Copy Text From a PDF Without Line Breaks

By Khushi Yadav

How to Copy Text From a PDF Without Line Breaks — Edge Drop Guide

Text copied from a PDF usually has a line break at the end of every line because PDFs store text as positioned lines on a page, not as flowing paragraphs. The cleanest fix for a long passage is to open the PDF in Word (File > Open), let Word convert it, and copy from the converted document. For a short passage, paste it and join the lines with Word's Find and Replace or Notepad++'s Join Lines.

If you can't select individual words at all, the PDF is a scanned image. Use OCR instead, such as Snipping Tool's Text Extractor with Remove line breaks turned on.

Why PDF text copies with broken lines

A PDF describes where each line of text sits on the page. It usually has no record of which lines belong to the same paragraph. When you copy, the PDF reader rebuilds the text from those lines and puts a line break after each one:

The committee agreed that the new
policy would apply from the start of
the next financial year.

Pasted into an email or document, that keeps the short lines instead of wrapping as one paragraph. Windows copies exactly what the reader gives it, so the fix happens either in how you open the PDF or after you paste.

First, check whether the PDF has real text

Try to select a single word.

  • You can highlight individual words: the PDF has a text layer. Use the methods below.
  • The whole page highlights as one block, or nothing highlights: it's a scanned image. Skip to the OCR section.
  • Text highlights but won't copy: the PDF's security settings may block copying. Ask the author for an unrestricted copy.

Method 1: Open the PDF in Word

Word can convert a PDF into an editable document, joining most lines back into paragraphs.

  1. In Word, select File > Open and choose the PDF. You may need to select Browse to find it.
  2. Word says it will convert the PDF into an editable document. Select OK. Your original PDF isn't changed.
  3. Copy the paragraphs you need from the converted document.

Microsoft says this works best with PDFs that are mostly text. Book chapters and documents that look like photocopies won't be formatted well, and complex layouts may need cleanup. Check numbers and footnotes against the original.

Method 2: Join the lines with Find and Replace in Word

Use this for a few paragraphs you've already copied.

  1. Paste the text into Word with Ctrl+Shift+V (paste text only) or Paste Options > Keep Text Only.
  2. Select just the pasted text.
  3. Press Ctrl+H to open Find and Replace.
  4. If paragraphs are separated by blank lines, first replace ^p^p with a placeholder that doesn't appear in the text, such as ###. Select Replace All, and answer No if Word asks to search the rest of the document.
  5. Replace ^p (a single paragraph mark) with a space. Every remaining line break inside the selection becomes a space.
  6. Replace ### with ^p^p to restore the paragraph breaks.

If the PDF had no blank lines between paragraphs, skip steps 4 and 6 and press Enter by hand where each new paragraph should start.

Words split across lines with a hyphen, such as infor- and mation, become infor- mation. Search for - (a hyphen followed by a space) and fix each one, keeping hyphens that belong in the word, such as well-known. More pattern-based cleanups are in regex vs clipboard tools for cleaning pasted text.

Method 3: Join lines in Notepad++

If you use Notepad++, it has a built-in command for this.

  1. Paste the text into Notepad++.
  2. Select the lines that make up one paragraph.
  3. Choose Edit > Line Operations > Join Lines (Ctrl+J). The lines are joined with spaces.
  4. Repeat for each paragraph, then copy the result.

Join only one paragraph at a time; selecting the whole document joins everything into a single line.

Scanned PDFs: use OCR

A scanned page is a picture, so you need text recognition:

  1. Open the PDF and zoom so the text is large and sharp.
  2. Press Windows logo key + Shift + S and choose Text Extractor on the capture bar (recent Snipping Tool versions).
  3. Under More options, turn on Remove line breaks.
  4. Drag over the text, then select Copy all text.

On older versions, capture the area and use Text actions in Snipping Tool, or use PowerToys Text Extractor (Win+Shift+T). Proofread the result; OCR misreads characters. How to copy text from an image covers every option.

Other things that break PDF copies

  • Two or more columns. A single drag can mix lines from both columns. Select one column at a time.
  • Headers, footers and page numbers. Copying across a page break brings in the running header and page number. Delete them after pasting.
  • Footnote markers. Superscript numbers paste as ordinary digits in the middle of sentences.
  • Strange or missing characters. Some PDFs map letter pairs such as fi and fl to special characters, or use fonts that don't copy correctly. If words come out garbled, try Method 1 or OCR.
  • Tables. Cells often paste as one value per line. Opening the PDF in Word usually keeps tables as tables, which you can then copy into Excel.

Where the text goes next

Paste into Notepad first if you want to see exactly what came out of the PDF; Notepad shows every line break and adds no formatting. When the destination is an email or a document with its own styling, paste as plain text so the PDF's fonts don't come along; see how to paste without formatting.

If you're collecting quotes for a paper, keep the page number with each excerpt as you go. How to cite quotes, URLs and page numbers suggests a workflow.

FAQ

Can Microsoft Edge copy PDF text without line breaks?

Edge's PDF viewer copies text the same way most readers do, line by line. Use Word or Find and Replace afterwards.

Why do I get one long line with no paragraph breaks?

You replaced every paragraph mark, including the blank lines between paragraphs. Undo, and use the placeholder steps in Method 2 so paragraph breaks survive.

Can I fix this in plain Notepad?

Yes, by deleting each line break by hand. That's fine for a few lines; for anything longer, Word's Find and Replace or Notepad++ is quicker.

Related reading

Sources

Khushi Yadav
Written by Khushi Yadav · Author & Content Writer

Khushi Yadav writes Edge Drop's workflow and design guides and is a B.Tech Computer Science Engineering student. Khushi's posts are checked against Microsoft's documentation and the Edge Drop fact sheet.

GitHub · LinkedIn

Copy. Stack. Drop.

Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.

Download for Windows Get from Microsoft Store

How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support

Free · Lightweight · Privacy First
Find us on CodeHype