Keyboard Shortcuts Delete Word by Word
When you need to remove text quickly while typing or editing, deleting one word at a time is far faster than holding Backspace to erase character by character. Word-delete shortcuts let you clear mistakes, rewrite phrases, and trim content without stopping to select text first.
The Two Delete Directions
Your keyboard has two delete keys that work in opposite directions. Understanding both is essential before adding word-delete shortcuts.
Backspace → deletes one character TO THE LEFT of the cursor Delete (Del) → deletes one character TO THE RIGHT of the cursor TEXT: "Hello| World" (| = cursor position) Press Backspace: "Hell| World" (removed "o" on the left) Press Delete: "Hello| orld" (removed "W" on the right)
Delete Word to the Left — Ctrl + Backspace
Ctrl + Backspace deletes the entire word sitting immediately to the left of your cursor. This is the most-used word-delete shortcut because you typically notice a mistake right after typing it.
WINDOWS / LINUX: Ctrl + Backspace MAC: Option + Backspace EXAMPLE: TEXT: "I want to go to the supermaket |" (| = cursor at end) Notice the typo "supermaket" — press Ctrl + Backspace once: TEXT: "I want to go to the |" Type the correct word: TEXT: "I want to go to the supermarket" Total keypresses: 1 (Ctrl+Backspace) + 12 (typing) = 13 vs Backspace 10 times + retyping = also ~22 keypresses Advantage: You do not need to count characters, just press once
Delete Word to the Right — Ctrl + Delete
Ctrl + Delete removes the entire word immediately to the right of the cursor. Use this when your cursor is positioned before a word you want to remove.
WINDOWS / LINUX: Ctrl + Delete MAC: Option + Delete (forward) — varies by app EXAMPLE: TEXT: "The | very long unnecessary phrase ends here" Cursor after "The " Ctrl + Delete (4 times): Press 1 → "The | long unnecessary phrase ends here" (removed "very") Press 2 → "The | unnecessary phrase ends here" (removed "long") Press 3 → "The | phrase ends here" (removed "unnecessary") Press 4 → "The | ends here" (removed "phrase")
Comparing Delete Methods
TEXT: "Please send the attachment in the email" GOAL: Remove "in the email" from the end METHOD A — Backspace (character by character): Press Backspace 14 times ↑ Count carefully, easy to delete too much or too little METHOD B — Ctrl + Backspace (word by word): Press Ctrl + Backspace 3 times (email → the → in) ↑ No counting, clean result, takes about 1 second
Delete Whole Lines
Some editors offer shortcuts to delete an entire line at once — not just a word.
VS Code: Ctrl + Shift + K → delete current line Sublime Text: Ctrl + Shift + K → delete current line Vim / terminal: dd → delete current line Microsoft Word: Select line (Shift+End) → Delete Google Docs: Select line → Delete In Word and Docs, the fastest approach is: Home → Shift + End → Shift + Delete (goes to line start, selects to end, cuts the line)
Delete to End of Line
WINDOWS (most text editors): Shift + End → Delete (select to end of line, then delete) MAC: Ctrl + K (in terminal and some editors — "kill to end of line") Cmd + Delete (in some Mac text apps — deletes to line start) EXAMPLE: TEXT: "Meeting at 3pm | — bring the report and presentation materials" Cursor after "3pm " Shift + End → Delete: Removes "— bring the report and presentation materials" Result: "Meeting at 3pm "
Word Delete in the Browser Address Bar
Word-delete shortcuts also work inside browser address bars and form text fields.
ADDRESS BAR: https://www.example.com/old-page/section| (cursor at end) Ctrl + Backspace (once): https://www.example.com/old-page/| Ctrl + Backspace (once): https://www.example.com/old-| Ctrl + Backspace (once): https://www.example.com/| Now type new path: https://www.example.com/new-page
Word Delete in the Terminal / Command Line
WINDOWS CMD / POWERSHELL: Ctrl + Backspace → delete word left (in some terminal apps) LINUX / MAC TERMINAL (bash/zsh): Ctrl + W → delete word to the left Alt + D → delete word to the right Ctrl + U → delete entire line to the left of cursor Ctrl + K → delete entire line to the right of cursor
Terminal word-delete shortcuts follow different conventions than regular text editors. Ctrl + W is the most commonly used terminal word-delete shortcut across Linux and Mac systems.
Undo After Accidental Word Delete
If you delete too much with Ctrl + Backspace, press Ctrl + Z immediately to undo the deletion. Each Ctrl + Z undoes one word-delete action.
Accidentally deleted wrong word → Ctrl + Z → word restored Deleted three words too many → Ctrl + Z three times
Quick Reference
ACTION WINDOWS MAC ───────────────────────────────────────────────────────── Delete word left Ctrl + Backspace Option + Backspace Delete word right Ctrl + Delete Option + Delete Delete to line end Shift + End → Delete Cmd + Delete (some apps) Delete whole line (code) Ctrl + Shift + K Cmd + Shift + K Delete to line start (term) Ctrl + U Ctrl + U Delete word left (terminal) Ctrl + W Ctrl + W Undo last delete Ctrl + Z Cmd + Z
Ctrl + Backspace is the word-delete shortcut to learn first. The moment you finish typing a word and realize it was wrong, one press of Ctrl + Backspace removes it cleanly so you can retype it correctly. This single habit eliminates a huge amount of repetitive backspacing from your daily editing routine.
