Document Editing Problems

How to Join Broken Lines into One Paragraph in Word

John WilsonJohn Wilson Nov 3, 2026 869 views

Question details

The user needs to combine short, broken lines of text into a single, continuous paragraph while preserving appropriate spacing.

How to Join Broken Lines into One Paragraph in Microsoft Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Pasting text from a PDF document into Microsoft Word.
Observed behavior
The copied text appears as multiple short, broken lines separated by paragraph breaks instead of forming a continuous, fluid paragraph.
Before you start

Before proceeding, select only the specific text block that needs fixing so you do not accidentally merge intended paragraphs throughout the rest of your document.

Solution 1Recommended

Use Find and Replace to Remove Paragraph Marks

The fastest way to join broken lines is by using the Find and Replace function to swap the hidden paragraph marks for a single space.

When text is copied from a PDF, the end of each visual line is often interpreted as a hard paragraph return. Replacing these returns combines the lines into a natural paragraph.

1
Select the broken text

Highlight the specific broken lines you want to join into a single paragraph.

2
Open Find and Replace

Press Ctrl+H on your keyboard to open the Find and Replace dialog box.

3
Enter the paragraph mark code

In the 'Find what' box, type ^p to represent a paragraph mark.

4
Enter a space

In the 'Replace with' box, press the Spacebar once to enter a single space.

5
Replace All

Click 'Replace All' to join the lines. Review the text afterward to ensure intended paragraph breaks were not accidentally removed.

Use Find and Replace to Remove Paragraph Marks
Review Result: Because this method replaces all paragraph marks in your selection, any intentional paragraph breaks within the highlighted text will also be replaced by spaces. You may need to manually press Enter to recreate intentional breaks.
Format Text Automatically

Fix Broken PDF Text Easily with WPS Writer

WPS Office offers seamless tools to clean up messy formatting when pasting text from PDFs. Enjoy high compatibility with Microsoft Word formats, intuitive text editing features, and dedicated PDF-to-Word conversion tools that prevent line breaks from happening in the first place.

  1. 1. Open your document: Open the document containing the broken text in WPS Writer.
  2. 2. Launch Find and Replace: Select the broken text and press Ctrl+H to open the Replace dialog.
  3. 3. Replace the marks: Type ^p in the 'Find what' field and press the Spacebar in the 'Replace with' field.
  4. 4. Apply formatting: Click 'Replace All' to instantly join your broken lines into a perfectly formatted paragraph.
Easily replace paragraph marks using the familiar Find and Replace toolFully compatible with Microsoft Word (.docx) formatsBuilt-in PDF to Word conversion minimizes formatting errorsLightweight, fast, and completely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why does text copied from PDFs paste with broken lines?

PDFs store text as fixed lines on a page rather than continuous paragraphs. When you copy and paste this text, your word processor interprets the physical end of each line in the PDF as a hard paragraph break.

How do I see the hidden paragraph marks in my document?

You can view hidden formatting symbols by clicking the 'Show/Hide ¶' button in the Paragraph group on the Home tab, or by pressing Ctrl+* (Ctrl+Shift+8) on your keyboard.

Can I prevent lines from breaking when converting a PDF?

Yes. Instead of manually copying and pasting, try opening the PDF directly in Word or using a dedicated PDF converter like WPS Office. These programs use conversion algorithms that reconstruct continuous paragraphs automatically.