Skip to main content

Keyboard Shortcut Guide: Ctrl + W (Close Tab or Window)

Ctrl + W
The Ctrl + W (on Windows) or Command + W (on macOS) shortcut is used to close the current window, tab, or document in most applications, including web browsers, file explorers, and text editors. It helps you quickly exit the current task without closing the entire program.
💡 Pro Tip:
Use Ctrl + W to close one tab at a time in your browser. To close the entire browser at once, use Ctrl + Shift + W or Alt + F4.