How to Remove Blank Lines and Empty Paragraphs in Microsoft Word

When compiling research papers, drafting reports, or cleaning up documents copied from PDF files, web pages, or external text editors, Microsoft Word documents frequently become cluttered with dozens of unnecessary blank lines. These redundant empty lines are created when authors press the Enter key multiple times to space out paragraphs manually rather than relying on standard paragraph spacing styles.

Deleting empty paragraphs manually line by line is tedious and time-consuming in extensive multi-page manuscripts. Fortunately, Microsoft Word includes robust pattern-matching tools inside the Find and Replace dialogue, allowing you to instantly strip out all consecutive empty paragraph returns across an entire document in seconds. This tutorial explains how to display hidden formatting marks, replace double paragraph marks, and clean up empty lines using Wildcards in Microsoft Word.

Understanding Paragraph Marks and Line Spacing in Word

In Microsoft Word, pressing the Enter key creates a hard paragraph break represented in the underlying document structure by a Pilcrow mark (¶). In Word’s Find and Replace engine, this special character is represented by the code ^p.

When consecutive Enter keystrokes occur, Word stores adjacent paragraph breaks (^p^p), producing empty vertical gaps. Rather than leaving empty paragraph rows, clean document formatting requires setting consistent paragraph spacing rules under Paragraph > Spacing After / Before. Removing redundant paragraph codes restores structural consistency and prevents erratic page breaks.

Step 1: Display Non-Printing Formatting Marks

Before executing bulk text replacements, making hidden paragraph breaks visible ensures you target the correct characters:

  1. Open your document in Microsoft Word.
  2. On the Home tab of the ribbon, navigate to the Paragraph group.
  3. Click the Show/Hide (¶) button, or press the keyboard shortcut Ctrl + Shift + 8 (or Cmd + 8 on Mac).

Word now displays Pilcrow symbols (¶) at the end of every paragraph and empty line, spaces as small dots (·), and soft manual line breaks as bent arrows (↵).

Step 2: Remove Double Paragraph Marks Using Find and Replace

The standard and most reliable method to remove unwanted blank lines replaces every instance of two consecutive paragraph marks with a single paragraph mark:

  1. Press Ctrl + H (or Cmd + H on Mac) to open the Find and Replace dialogue.
  2. In the Find what field, type:
    ^p^p
  3. In the Replace with field, type:
    ^p
  4. Click Replace All.
  5. Word will report how many replacements were made. If your document contained triple or quadruple blank lines, click Replace All repeatedly until the replacement count reaches 0.

All consecutive empty lines disappear, leaving single paragraph breaks throughout your document.

Step 3: Handle Soft Line Breaks (Manual Line Breaks)

Text copied from email clients or web browsers often contains manual soft line breaks (created via Shift + Enter) rather than standard paragraph returns. In Word’s search syntax, soft line breaks are represented by ^l (caret followed by a lowercase L).

If blank gaps persist after running the ^p^p replacement:

  1. Open Find and Replace (Ctrl + H).
  2. In the Find what box, enter:
    ^l^l
  3. In the Replace with box, enter:
    ^p
  4. Click Replace All to convert redundant soft breaks into clean paragraph structure.

Step 4: Advanced Removal of Blank Lines with Spaces Using Wildcards

Frequently, seemingly blank lines refuse to disappear with ^p^p because they contain invisible trailing space characters or tabs pressed before or after the Enter key.

To eliminate empty paragraphs containing stray whitespace in a single pass using Wildcard regular expressions:

  1. Press Ctrl + H and click the More >> button to expand advanced search options.
  2. Check the box labelled Use wildcards.
  3. In the Find what box, enter:
    (^13)[ @t]{1,}(^13)
    (Here, ^13 represents paragraph breaks in wildcard mode, [ @t] matches spaces and tabs, and {1,} matches one or more whitespace characters).
  4. In the Replace with box, enter:
    \1
  5. Click Replace All.

This expression strips out spaces trapped between returns, allowing subsequent ^p^p replacements to cleanly merge all remaining gaps.

Step 5: Apply Proper Paragraph Spacing Styles

Once empty paragraphs are removed, establish elegant vertical spacing across your manuscript without ever pressing Enter twice:

  1. Select your entire document (Ctrl + A).
  2. On the Home tab, click the small dialogue launcher arrow in the corner of the Paragraph group.
  3. Under Spacing, set Before to 0 pt and After to 8 pt or 10 pt.
  4. Set Line spacing to Multiple (1.15) or 1.5 lines.
  5. Click OK.

Your document now displays clean, consistent typographic spacing across all paragraphs while maintaining a professional document structure.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.