How to remove all empty paragraphs in Word?
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.
- Open the Find and Replace dialog box by clicking Home > Replace, or by pressing Ctrl + H to speed up access.
- In the dialog box, select the More>> button to expand advanced options and show more search functions.

- 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.

- 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’.
- 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.

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.

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.



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:
- Open the document from which you want to remove all empty paragraphs. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
- In the VBA window, click Insert > Module to create a new module. An empty editing pane will open.

- 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 - Press the F5 key or click the 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!

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!
✨ 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
- 🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- 📘 Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- ✏ Contents Editing: Batch Find and Replace / Resize All Pictures
- 🧹 Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- ➕ Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- 🌍 Supports 40+ Languages: Kutools speaks your language – 40+ languages supported!




to execute the code. The script will automatically remove all consecutive empty paragraphs from the entire document.