How to remove empty lines in Word?
When you download documents from the web, they often contain too many empty lines (manual line breaks), which can make the document look cluttered. Removing these empty lines manually can be time-consuming and tedious. Fortunately, there are easier ways to remove all empty lines from your document.
In this tutorial, we will list three effective methods to remove all empty lines from the entire document or a selection within the document:
Remove all empty lines with the Find and Replace option
Remove all empty lines with Kutools for Word
Remove all empty lines with VBA
Remove all empty lines with the Find and Replace option
The Find and Replace function in Word is commonly used to remove all empty lines, which are referred to as Manual Line Breaks in the Find What field.
- Click Replace on the Home tab. Alternatively, you can use the shortcut keys Ctrl + H.
- In the popping Find and Replace dialog box, click the More >> button to show more options. Then, place the cursor in the Find What field and select Manual Line Break from the Special drop-down menu.
- A "^l" character will appear in the Find What field. Click Replace All to delete all manual line breaks at once.
Remove all empty lines with Kutools for Word
While the previous methods require multiple steps, Kutools for Word simplifies the process, allowing you to remove all empty lines with just one click.
- Apply this utility by clicking Kutools > Parapraphs > Remove All Empty Manual Line Breaks in Selected Ranges.
- A prompt box will appear asking for confirmation. Click Yes.
- After clicking Yes, all empty lines will be removed from the document.
Note: If you only want to remove empty lines from a specific selection, select the desired range before applying this feature.
Remove all empty lines with VBA
Alternatively, you can use a macro to remove all empty lines if you are familiar with VBA code. Follow the instructions below:
- Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
- Click Insert > Module, and then copy the following VBA code into the module window:
Sub Deleemptylines() Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "^l" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchByte = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = False .MatchFuzzy = False End With Selection.Find.Execute Replace:=wdReplaceAll End Sub
- Click the Run Sub button
to execute the code. All manual line breaks will be removed from the document.
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 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!