KutoolsforOffice — One Suite. Five Tools. Get More Done.February Sale: 20% Off

How to remove all empty paragraphs in Word?

AuthorSunLast modified

Empty paragraphs—lines in a Word document that contain no characters—are a frequent issue, especially when importing content from external sources, copying and pasting, or after heavy formatting edits. These gaps can make your document look less organized and impair readability, posing a challenge when preparing formal reports, academic papers, or client deliverables. Manually searching for and deleting each empty paragraph can be time-consuming, particularly in documents that span dozens or hundreds of pages.

Fortunately, Microsoft Word offers practical methods to remove empty paragraphs efficiently, helping you maintain a professional and tidy document layout. In this tutorial, you'll learn several effective techniques to clean up empty paragraphs in Word. Whether you're seeking a built-in feature, an automated add-in, a VBA-coded method even a manual solution, you'll find an approach that fits your workflow and document needs.

Recommended Productivity Tools for Word

Kutools for Word: Integrating AI 🤖, over 100 advanced features save 50% of your document handling time.Free Download

Office Tab: Introduces the browser-like tabs to Word (and other Office tools), simplifying multi-document navigation.Free Download


Remove all empty paragraphs with Find and Replace function

If your document contains unwanted blank lines, identifying and deleting each one manually is often impractical. Instead, Word's Find and Replace function offers a streamlined way to target and eliminate empty paragraphs anywhere in the document. This feature is especially helpful for lengthy files or situations where empty paragraphs appear in bulk after text formatting or pasting.

  1. Open the Find and Replace dialog box by clicking Home > Replace, or by pressing Ctrl + H to speed up access.
  2. In the dialog box, select the More>> button to expand advanced options and show more search functions.

    Find and Replace dialog box with More button highlighted

  3. Click inside the Find What field. Then open the Special drop-down menu and choose Paragraph Mark. This assures the search is specifically for paragraph breaks.

    Paragraph Mark selected from the Special drop-down list

  4. After selecting Paragraph Mark, you'll notice the symbol “^p” automatically appears in the Find What field. This is Word's code for ‘end of paragraph’.
  5. To find only true empty paragraphs (consecutive paragraph marks with nothing between them), add one more “^p” so the field reads “^p^p”. In the Replace With field, leave it empty, then click Replace All. This step will remove every blank paragraph throughout your document by replacing double paragraph marks with a single one.

Note: Make sure to use “^p^p” in the Find What box to avoid deleting essential paragraph breaks. Using “^p” alone will remove all paragraph spacing and merge your text, which can break the structure of your document. If you notice previously hidden formatting marks or subtle layout issues after the replacement, review the document for unintended changes.

Navigate through documents using Office Tab

Office Tab

Tabbed navigation for Word, Excel, PowerPoint, and more—just like a web browser, with smooth switching in one window.


 

Standard Word features require several steps to remove empty paragraphs, and custom macros require some skill to implement and maintain. Kutools for Word offers a straightforward one-click method, making it a convenient option for users who routinely need to tidy up documents or manage large files.

Kutools for Word

Kutools for Word helps you handle everyday document tasks faster with practical tools built right into Microsoft Word—no coding, no complex setup.

  • AI writing, polishing, translation, and summarization
  • Batch find and replace across documents
  • Merge and split Word documents easily
  • Batch Word ↔ PDF conversion

To efficiently remove empty paragraphs from your document using Kutools for Word, follow these steps:

  • If you want to process the entire document, simply choose Kutools > Paragraphs > Remove All Empty Paragraph Marks in Selected Ranges.
  • To target a specific part of the document, highlight your desired section first. Then go to Kutools > Paragraphs > Remove All Empty Paragraph Marks in Selected Ranges.

    Remove All Empty Paragraph Marks in Selected Ranges option on the Kutools tab on the ribbon

After running this command, Kutools instantly scans the selected range (or entire document), removes all empty paragraphs, and preserves non-empty content. This method avoids modifying existing formatting or merging paragraphs unintentionally, providing precision in cleanup operations.

Document with empty paragraphs

Arrow

Document with empty paragraphs removed

Want a faster way to handle similar tasks in Word? Try Kutools for Word and simplify your daily work.

This approach is ideal when you frequently work with documents that are edited collaboratively or created from templates, where empty paragraphs can accumulate. Kutools minimizes manual effort and helps maintain a sharp document structure. It's particularly helpful for editors, writers, teachers, and business professionals who need to ensure accuracy and consistency in document presentation. If you're working on confidential or highly formatted content, always save a backup before performing mass operations.

If you run into issues—such as empty paragraphs not being fully removed—double-check that you've selected the correct range, and verify that there are not hidden characters or styles applied. You can adjust document views (e.g., show/hide paragraph marks) to better visualize changes before and after using Kutools functions.


Remove all empty paragraphs using VBA

For users comfortable with macros or seeking a fully automated approach, VBA (Visual Basic for Applications) code can remove all empty paragraphs in one run. This method is particularly beneficial for repetitive document cleanup, batch operations, or when integrating with other automated workflows.

Use the following steps to execute the macro:

  1. Open the document from which you want to remove all empty paragraphs. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
  2. In the VBA window, click Insert > Module to create a new module. An empty editing pane will open.
    Module options selected from the Insert dropdown
  3. Copy and paste the VBA code below directly into the module, ensuring there are no additional empty lines before or after the code:
    Sub Deleemptyparagraphs()
        Dim sel As Selection
        On Error Resume Next
        xTitleId = "KutoolsforWord"
        Set sel = Application.Selection
        
        sel.Find.ClearFormatting
        sel.Find.Replacement.ClearFormatting
        
        With sel.Find
            .Text = "^p^p"
            .Replacement.Text = ""
            .Forward = True
            .Wrap = wdFindContinue
            .Format = False
            .MatchCase = False
            .MatchWholeWord = False
            .MatchByte = False
            .MatchAllWordForms = False
            .MatchSoundsLike = False
            .MatchWildcards = False
            .MatchFuzzy = False
        End With
        
        sel.Find.Execute Replace:=wdReplaceAll
        
        Set sel = Nothing
    End Sub
  4. Press the F5 key or click the Run button Run button to execute the code. The script will automatically remove all consecutive empty paragraphs from the entire document.

If you see a message indicating "no matches found," or not all empty lines seem removed, repeat the process to capture any remaining instances—sometimes multiple runs are needed if multiple blank lines were stacked together. For documents with advanced styling or non-standard paragraph marks (such as imported content), double-check that paragraph marks are consistent (^p) and not other Unicode or hidden symbols.

If you need to further customize the cleanup (e.g., remove paragraphs containing only spaces), consider expanding the search criteria in the VBA code, or combine Find and Replace with manual review.


Alternative: Remove empty paragraphs one by one using Word's manual technique

While automated solutions are recommended for larger documents, you can manually clean up empty paragraphs with Word's Show/Hide ¶ feature. This is practical for small documents, or when you want full control over formatting:

  • On the Home tab, click the Show/Hide ¶ button to display all paragraph marks.
  • Scroll through the document, and delete rows containing only a paragraph mark by placing the cursor and pressing Delete or Backspace.

This technique is suited for short documents or minor cleanups, although it can be slow for bulk operations.

In summary, choosing the right method depends on your document size, formatting requirements, and preferred workflow. The Find and Replace feature is quick and straightforward for most users. Kutools for Word streamlines repetitive cleanups with a single click, while VBA macros offer power and adaptability for custom tasks. Always review the cleaned document to confirm formatting integrity and save a backup beforehand.


Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...

📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...

Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...

🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...

Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...

🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Kutools for Word tabs on the ribbon
 
 

Office Tab - Brings Tabbed interface to Office, Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Free Download     Buy Now     Learn More
 

✨ Kutools for Office – One Installation, Five Powerful Tools!

Includes Office Tab Pro · Kutools for Excel · Kutools for Outlook · Kutools for Word · Kutools for PowerPoint

📦 Get all 5 tools in one suite | 🔗 Seamless integration with Microsoft Office | ⚡ Save time and boost productivity instantly

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word