![Umar Hansa](https://web.dev/images/authors/umarhansa.jpg) Umar Hansa [X](https://twitter.com/umaar) [Homepage](https://umaar.com/)

<br />

![Toggle the DevTools dock state with a keyboard shortcut](https://developer.chrome.com/static/blog/toggle-the-devtools-dock-state-with-a-keyboard-shortcut-2/image/toggle-devtools-dock-sta-af6cf8ea50bfa.gif)

Use `Cmd + Shift + D` to toggle the DevTools dock state between the last two recently used states. Dock options are:

- Dock to right
- Dock to bottom
- Undock DevTools