PDF Conversion Issues

How to Fix Odd PDF Formatting When Pasting into Word

Chanuka GeekiyanageChanuka Geekiyanage Oct 26, 2026 870 views

Question details

The user needs to clean up messy formatting such as broken paragraph breaks, incorrect spacing, tabs, and strange indentation when copying text from a PDF and pasting it into Microsoft Word.

How to Fix Odd PDF Formatting After Pasting into Word
Product
Microsoft Word
Device & OS
Mac
Scenario
Copying and pasting text from a PDF document into a Word document.
Observed behavior
Pasted text contains odd formatting, including unwanted hard line breaks, awkward spacing, and improper indentation that misaligns the document.
Before you start

Check if your PDF is text-based or a scanned image. Scanned PDFs will require Optical Character Recognition (OCR) to convert images into editable text before you can copy or modify the formatting.

Solution 1Recommended

Open and Convert the PDF Directly in Word

Use Microsoft Word's built-in PDF conversion feature instead of manually copying and pasting text to preserve better formatting.

Modern versions of Microsoft Word (including Word for Mac) include a built-in PDF conversion tool. Opening the PDF directly through Word forces the software to analyze the document and translate it into standard editable text paragraphs, which often avoids the hard line breaks caused by simple copy-pasting.

1
Launch Microsoft Word

Open Microsoft Word on your Mac and ensure you are running an up-to-date version.

2
Access the Open Menu

Navigate to the top menu bar, click on 'File', and select 'Open' from the dropdown menu.

3
Select the PDF

Locate and select the PDF file that contains the text you want to extract, then click 'Open'.

4
Confirm Conversion

Word will display a prompt indicating it will convert the PDF to an editable Word document. Click 'OK' to proceed and review your newly formatted text.

Open and Convert the PDF Directly in Word
Conversion Results May Vary: The quality of the formatting depends heavily on how the original PDF was created. Complex layouts with tables and columns might still require some manual adjustments.

Convert PDF to Word Seamlessly with WPS Office

Avoid messy formatting, broken line breaks, and indentation issues entirely by using the dedicated PDF to Word converter in WPS Office. It accurately preserves your original layout and text, saving you hours of manual editing.

  1. 1. Open WPS Office: Launch the WPS Office application and click on the 'PDF' tab on the home screen.
  2. 2. Select PDF to Word: Click on 'PDF to Word' in the top toolbar to open the conversion tool.
  3. 3. Add Your File: Drag and drop your PDF file into the window, and choose your preferred output format (.docx).
  4. 4. Start Conversion: Click 'Start'. The accurately formatted, editable Word document will open automatically once finished.
Highly accurate PDF to Word conversion without messy line breaks.Fully compatible with Microsoft Word document formats (.docx).Built-in OCR technology to extract text accurately from scanned PDFs.Lightweight, fast, and free to use across devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why does copied PDF text have line breaks at the end of every line?

PDFs are designed to lock visual layouts in place, so they often insert hard carriage returns at the end of each line to maintain fixed spacing. When pasted into Word, these hard returns remain intact, causing paragraphs to break prematurely.

How do I extract text from a scanned PDF document?

You cannot simply copy and paste from a scanned PDF because the document is essentially a flat image. You need to use software with Optical Character Recognition (OCR) capabilities, like WPS Office or Adobe Acrobat, to analyze the image and convert it into editable text.

Is there a quick way to remove all unwanted line breaks in Word?

Yes. You can use the 'Find and Replace' feature. Press Ctrl+H (or Cmd+H on Mac), type '^p' in the 'Find what' box, and type a single space in the 'Replace with' box. Click 'Replace All' to turn broken lines into continuous paragraphs.