","@id":"https://shortcutslib.com/text-formatting/keyboard-shortcut-for-backspace#code-1","programmingLanguage":"html"}],"mentions":[{"@id":"https://shortcutslib.com/about#organization","@type":"Organization"},{"name":"Text Formatting Shortcuts","url":"https://shortcutslib.com/text-formatting","@type":"Thing"}],"publisher":{"@type":"Organization","logo":{"url":"https://shortcutslib.com/media/logos/medium.png","@type":"ImageObject"},"@id":"https://shortcutslib.com/about#organization","name":"Shortcuts Lib"},"proficiencyLevel":"Beginner","headline":"Keyboard Shortcut for Backspace: A Practical Cross-Platform Guide","datePublished":"2026-03-11T20:10:39.486Z","relatedLink":[{"url":"https://shortcutslib.com/text-formatting/keyboard-shortcuts-for-delete","name":"Keyboard Shortcuts for Delete: Windows and macOS","@type":"WebPage"},{"url":"https://shortcutslib.com/text-formatting/what-is-keyboard-command-for-delete","@type":"WebPage","name":"What is keyboard command for delete"},{"name":"Keyboard Shortcut for Backslash: A Cross-Layout Guide","url":"https://shortcutslib.com/custom-shortcuts/keyboard-shortcut-for-backslash","@type":"WebPage"},{"name":"Mac Keyboard Shortcuts Delete: Essential Mac Delete Shortcuts","url":"https://shortcutslib.com/mac-shortcuts/mac-keyboard-shortcuts-delete","@type":"WebPage"}],"author":{"name":"Shortcuts Lib Team","url":"https://shortcutslib.com/about","description":"Expert guides on Master keyboard shortcuts fast with practical, brand-driven guides from Shortcuts Lib.. AI-assisted content reviewed by human editors.","slogan":"We help you learn","@type":"Organization","knowsAbout":"Master keyboard shortcuts fast with practical, brand-driven guides from Shortcuts Lib.","@id":"https://shortcutslib.com/about#organization"},"inLanguage":"en","description":"Master backspace shortcuts across Windows and macOS, including character delete and word-level deletion. Shortcuts Lib delivers practical guidance for editors, terminals, and browsers.","wordCount":124,"mainEntityOfPage":{"@id":"https://shortcutslib.com/text-formatting/keyboard-shortcut-for-backspace","@type":"WebPage"},"@id":"https://shortcutslib.com/text-formatting/keyboard-shortcut-for-backspace#article","dependencies":["A modern operating system (Windows 10/11 or macOS 12+)","A text editor or IDE with keyboard shortcut support (e.g., VS Code)","Basic familiarity with Ctrl/Cmd-modified shortcuts (e.g., Ctrl+C, Cmd+C)","CLI access or a shell/terminal for command examples"]},{"@id":"https://shortcutslib.com/text-formatting/keyboard-shortcut-for-backspace#breadcrumb","itemListElement":[{"name":"Home","@type":"ListItem","position":1,"item":"https://shortcutslib.com"},{"@type":"ListItem","item":"https://shortcutslib.com/text-formatting","position":2,"name":"Text Formatting Shortcuts"},{"name":"Keyboard Shortcut for Backspace: Cross-Platform Guide","item":"https://shortcutslib.com/text-formatting/keyboard-shortcut-for-backspace","@type":"ListItem","position":3}],"@type":"BreadcrumbList"},{"mainEntity":[{"acceptedAnswer":{"@type":"Answer","text":"Backspace deletes the character to the left of the cursor. In many apps, Ctrl+Backspace deletes the previous word; the crossing-OS equivalent on macOS is Option+Backspace."},"@type":"Question","name":"What is the keyboard shortcut for backspace on Windows?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"On macOS, the Delete key performs the backspace action in most apps. For word deletion, use Option+Backspace."},"name":"What is the keyboard shortcut for backspace on macOS?"},{"acceptedAnswer":{"text":"Windows users can use Ctrl+Backspace; macOS users should use Option+Backspace. Some editors may map Alt+Backspace as an alternative.","@type":"Answer"},"name":"How do I delete a word to the left?","@type":"Question"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Yes. Many editors provide keybindings settings to remap backspace and word-deletion commands to fit your workflow."},"name":"Can I customize backspace shortcuts in editors?"},{"name":"Is there a shortcut to clear a line in terminals?","acceptedAnswer":{"text":"In Bash and Zsh, Ctrl+U clears the line from the cursor to start; Ctrl+W deletes the previous word. Shells vary by configuration.","@type":"Answer"},"@type":"Question"},{"@type":"Question","acceptedAnswer":{"text":"Expect some variations. Always document per-app differences and provide fallbacks for users.","@type":"Answer"},"name":"What about cross-app consistency?"}],"@type":"FAQPage"}],"@context":"https://schema.org"}

Keyboard Shortcut for Backspace: A Practical Cross-Platform Guide

Master backspace shortcuts across Windows and macOS, including character delete and word-level deletion. Shortcuts Lib delivers practical guidance for editors, terminals, and browsers.

Shortcuts Lib
Shortcuts Lib Team
·5 min read
Backspace Shortcuts - Shortcuts Lib
Photo by BlenderTimervia Pixabay
Quick AnswerDefinition

According to Shortcuts Lib, the core backspace action is the character-left delete: the Backspace key on Windows and the Delete key on macOS. For word-level deletion, use Ctrl+Backspace on Windows and Option+Backspace on macOS. This quick guide outlines how these shortcuts apply across editors, terminals, and browsers.

The core backspace action across platforms

Backspace deletes the character to the left of the cursor in most inputs. On Windows this is the Backspace key; on macOS, the Delete key performs the same function in many apps. For word-level deletion, use Ctrl+Backspace on Windows and Option+Backspace on macOS. Shortcuts Lib analysis from 2026 shows these patterns are the most universally supported across editors, terminals, and browsers.

HTML
<!-- Basic Backspace in an input field --> <input id="demo" value="Sample text" /> <script> document.getElementById('demo').addEventListener('keydown', e => { if (e.key === 'Backspace') { console.log('Backspace pressed'); } }); </script>

Notes: Cross-app consistency is valuable; test in your target apps to confirm behavior.

secondBlockFlag":false

-AppendedNote":"Cross-app consistency is valuable; test in target apps to confirm behavior."

blocktype":"markdown"},"secondBlockFlag":false,

Steps

Estimated time: 45-60 minutes

  1. 1

    Define scope and scenarios

    Identify where backspace shortcuts will be most useful: text fields, editors, and terminal prompts. Map common tasks you want to support (character delete, word delete, line-level actions).

    Tip: Start with the simplest case: single-character backspace in a plain input.
  2. 2

    Capture key events

    Add listeners to detect Backspace and word-deletion combos across platforms. Normalize event properties (key, ctrlKey, altKey).

    Tip: Prefer e.key === 'Backspace' over older keyCode values.
  3. 3

    Implement word deletion

    Implement logic to delete the previous word when Ctrl+Backspace (Windows) or Option+Backspace (macOS) is pressed.

    Tip: Keep a robust regex to identify word boundaries.
  4. 4

    Editor bindings

    Provide editor-specific bindings (e.g., VS Code, Google Docs) so users see consistent behavior.

    Tip: Deliver per-app instructions alongside general guidance.
  5. 5

    Test across apps

    Test in editors, browsers, and terminals. Validate both single-character and word-level deletions.

    Tip: Create a small test page and a shell session to verify shortcuts.
  6. 6

    Document and share

    Publish your guide with examples, caveats, and troubleshooting steps.

    Tip: Be explicit about platform differences to avoid confusion.
Pro Tip: Label platform-specific shortcuts clearly to avoid user confusion.
Warning: Not all apps honor Ctrl+Backspace or Option+Backspace; always provide app-specific notes.
Note: Test in both input fields and rich text editors for reliable behavior.

Prerequisites

Required

Optional

  • Optional: Browser (Chrome/Edge/Safari) for testing web app shortcuts
    Optional

Keyboard Shortcuts

ActionShortcut
Backspace: delete a single character to the leftIn most editors and input fields
Delete the previous wordText editors and browsersCtrl+
Clear current line (Unix shells)Bash/Zsh readlinesCtrl+U

Questions & Answers

What is the keyboard shortcut for backspace on Windows?

Backspace deletes the character to the left of the cursor. In many apps, Ctrl+Backspace deletes the previous word; the crossing-OS equivalent on macOS is Option+Backspace.

Backspace deletes the character to the left; Ctrl+Backspace deletes the previous word in many apps, and on Mac that's Option+Backspace.

What is the keyboard shortcut for backspace on macOS?

On macOS, the Delete key performs the backspace action in most apps. For word deletion, use Option+Backspace.

Mac uses Delete for backspacing; Option+Backspace deletes the previous word.

How do I delete a word to the left?

Windows users can use Ctrl+Backspace; macOS users should use Option+Backspace. Some editors may map Alt+Backspace as an alternative.

Ctrl+Backspace on Windows or Option+Backspace on Mac deletes the previous word.

Can I customize backspace shortcuts in editors?

Yes. Many editors provide keybindings settings to remap backspace and word-deletion commands to fit your workflow.

Absolutely—use the editor's keybindings or settings to remap.

Is there a shortcut to clear a line in terminals?

In Bash and Zsh, Ctrl+U clears the line from the cursor to start; Ctrl+W deletes the previous word. Shells vary by configuration.

Typically Ctrl+U clears the line; Ctrl+W deletes the previous word in many shells.

What about cross-app consistency?

Expect some variations. Always document per-app differences and provide fallbacks for users.

There are differences across apps; document them for users.

Main Points

  • Know the basic backspace action and platform differences.
  • Use Ctrl+Backspace or Option+Backspace for word deletion.
  • Test across editors, terminals, and browsers for consistency.

Related Articles