The fastest way to remove a line

To delete a single line in Microsoft Word, click anywhere on that line, then press Ctrl+Shift+K (Windows) or Command+Shift+K (Mac). This keyboard shortcut deletes the entire line without requiring you to select it first. If the shortcut doesn't work, your version of Word may not support it — in that case, triple-click the line to select it, then press Delete or Backspace.

If you're using Google Docs instead, click at the beginning of the line you want to remove, hold Shift, and press End to select to the end of the line, then press Delete. There's no single keyboard shortcut in Google Docs, but this method is faster than clicking and dragging.

For older versions of Word or if you prefer using the mouse, you can also click in the left margin next to the line (the margin will show a right-pointing arrow when you hover over it), then press Delete. This selects the entire line at once.

Key Takeaways

  • In Microsoft Word on Windows, press Ctrl+Shift+K to delete an entire line without selecting it first.
  • On Mac, use Command+Shift+K to delete a line with the same keyboard shortcut.
  • In Google Docs, select the line by clicking at the start and pressing Shift+End, then press Delete.
  • Clicking in the left margin next to a line and pressing Delete works in all versions of Word and doesn't require memorizing a shortcut.

Selecting and deleting multiple lines at once

If you need to remove more than one line, select all the lines you want to delete before pressing Delete. Click at the start of the first line, then hold Shift and click at the end of the last line. All the text between those two points will highlight in blue.

Alternatively, click at the beginning of the first line you want to delete, then hold Shift and press the Down arrow key once for each additional line. This selects multiple full lines without accidentally including text from a line you want to keep. Once the lines are highlighted, press Delete or Backspace to remove them.

In Google Docs, you can also click the line number on the left side of the document (if line numbers are visible) to select an entire line, then Shift+click another line number to select a range.

Removing blank lines and extra spacing

Blank lines often appear when you press Enter too many times or when pasted text includes extra spacing. To remove a single blank line, click on it and press Delete or Backspace. Word will pull the next line up to close the gap.

If you have many blank lines scattered through your document, use Find & Replace to remove them all at once. Press Ctrl+H (Windows) or Command+H (Mac) to open Find & Replace. In the "Find" field, type ^p^p (this represents two paragraph marks in a row). Leave the "Replace" field empty and click "Replace All". This removes all instances of double line breaks, leaving only single spaces between paragraphs.

In Google Docs, open Find & Replace with Ctrl+H or Command+H, then search for \n\n (two line breaks) and replace with \n (one line break).

Deleting lines with specific content

If you want to remove every line that contains a particular word or phrase, Find & Replace is faster than deleting manually. Open Find & Replace (Ctrl+H or Command+H), type the text you're looking for in the "Find" field, and leave the "Replace" field empty. Click "Replace All" to remove every instance.

This works well for removing repeated headers, outdated notes, or placeholder text. Be careful to search for something specific enough that you don't accidentally delete lines you want to keep. If you're unsure, click "Replace" one at a time instead of "Replace All" so you can review each match before it's deleted.

Undoing a deletion you didn't mean to make

If you delete a line by mistake, press Ctrl+Z (Windows) or Command+Z (Mac) immediately to undo. Word and Google Docs both keep a history of recent changes, so you can undo multiple times if you need to go back several steps.

If you closed the document without saving, you may still be able to recover it. In Word, go to File > Info > Version History to see previous versions. In Google Docs, click File > Version History to see all saved versions and restore an earlier one if needed.

Differences between deleting and clearing formatting

Deleting a line removes the text and the line break. Clearing formatting is different — it keeps the text but removes bold, italics, colors, and other styling. If you only want to remove formatting from a line (not the line itself), select the line and press Ctrl+Spacebar (Windows) or Command+Spacebar (Mac).

This is useful when you've copied text from a website or another document and it brought unwanted colors or font sizes with it. Clearing formatting returns the text to plain black text in your document's default font, but the words stay in place.

Frequently Asked Questions

What's the difference between pressing Delete and Backspace when removing a line?

In most cases, they work the same way — both remove the selected text and close the gap. The difference matters only when your cursor is positioned at the start or end of a line. Delete removes the character to the right of the cursor, while Backspace removes the character to the left. For deleting entire lines, select first, then use either key.

Can I delete a line without losing the text?

Yes. Instead of deleting, cut the line using Ctrl+X (Windows) or Command+X (Mac). The text is removed from the document but saved to your clipboard, so you can paste it elsewhere if you change your mind. This is safer than Delete if you think you might need the text later.

Why doesn't Ctrl+Shift+K work in my version of Word?

Older versions of Word and some regional keyboard layouts don't support this shortcut. Use the margin-click method instead: click in the left margin next to the line (the cursor will change to an arrow), then press Delete. This works in all versions of Word.

How do I delete a line in a table without deleting the whole table?

Click inside the row you want to delete, then right-click and select "Delete Rows" from the menu. This removes only that row, not the entire table. In Google Docs, right-click the row and choose "Delete row".