Skip to the main content

Chrome DevTools

Close the active editor tab

OptionW

Mac Web app Chrome DevTools

Practice this

In Chrome DevTools, Alt + W will close the active editor tab. On a Mac, press Option + W instead. It works in the browser version.

Where it works: Sources panel

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Web app OptionW
Windows Web app AltW

Where this comes from

Keyboard shortcuts - Chrome DevTools - Chrome for Developers

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction