Keyhab
⌘⌥I
Chrome DevTools

Chrome DevTools Keyboard Shortcuts

Master Chrome DevTools with essential keyboard shortcuts for debugging, inspecting, network analysis, and console. Mac and Windows included.

Why Learn Chrome DevTools Shortcuts?

Chrome DevTools is the primary debugging tool for web developers. Whether you are inspecting DOM elements, debugging JavaScript, profiling performance, or analyzing network requests, DevTools has a shortcut for it. Using keyboard shortcuts instead of clicking through menus can cut your debugging time dramatically.

This guide covers the most useful Chrome DevTools shortcuts for both Mac and Windows/Linux.

---

Opening DevTools

ActionMacWindows / Linux
Open DevTools (last panel)Cmd + Option + IF12 or Ctrl + Shift + I
Open Elements panelCmd + Option + CCtrl + Shift + C
Open Console panelCmd + Option + JCtrl + Shift + J
Open Command MenuCmd + Shift + PCtrl + Shift + P
Toggle DevTools dock positionCmd + Shift + DCtrl + Shift + D
Open SettingsF1 (when DevTools focused)F1 (when DevTools focused)

---

Elements Panel

The Elements panel is where you inspect and modify the DOM and CSS.

ActionMacWindows / Linux
Inspect element modeCmd + Shift + CCtrl + Shift + C
Toggle element state (:hover, etc.)Click :hov in StylesClick :hov in Styles
Edit as HTMLF2 on selected elementF2 on selected element
Navigate DOM up/downUp / Down arrowsUp / Down arrows
Expand/collapse nodeRight / Left arrowsRight / Left arrows
Expand all childrenOption + Click arrowAlt + Click arrow
Hide elementHH
Delete elementDelete or BackspaceDelete or Backspace
Edit attributeEnter on selected attributeEnter on selected attribute
Next/previous attributeTab / Shift + TabTab / Shift + Tab

Styles Pane Tips

  • Click a CSS value and use Up/Down to increment/decrement by 1.
  • Hold Shift + Up/Down to change by 10.
  • Hold Option/Alt + Up/Down to change by 0.1.
  • Hold Cmd/Ctrl + Up/Down to change by 100.

---

Console Panel

ActionMacWindows / Linux
Focus consoleCmd + Option + JCtrl + Shift + J
Clear consoleCmd + KCtrl + L
Multi-line entryShift + EnterShift + Enter
Execute expressionEnterEnter
Previous commandUp ArrowUp Arrow
Next commandDown ArrowDown Arrow
Toggle console drawerEscEsc

Useful Console Shortcuts

  • $0 — Reference the currently selected element in Elements panel.
  • $_ — Reference the result of the last evaluated expression.
  • $('selector') — Shorthand for document.querySelector().
  • $$('selector') — Shorthand for document.querySelectorAll().
  • copy(object) — Copy any object to clipboard as a string.
  • monitor(fn) — Log when a function is called.

---

Sources Panel (Debugging)

ActionMacWindows / Linux
Open fileCmd + PCtrl + P
Go to lineCmd + G or Ctrl + GCtrl + G
Find in fileCmd + FCtrl + F
Search across all filesCmd + Option + FCtrl + Shift + F
Toggle breakpointCmd + BCtrl + B
Pause/ResumeF8 or Cmd + \F8 or Ctrl + \
Step overF10 or Cmd + 'F10
Step intoF11 or Cmd + ;F11
Step outShift + F11 or Cmd + Shift + ;Shift + F11
Deactivate breakpointsCmd + F8Ctrl + F8
Run snippetCmd + EnterCtrl + Enter
Toggle all breakpointsvia Breakpoints panevia Breakpoints pane

---

Network Panel

ActionMacWindows / Linux
Start/Stop recordingCmd + ECtrl + E
Clear network logCmd + KCtrl + L
Search requestsCmd + FCtrl + F
Toggle filter barCmd + FCtrl + F
Copy as cURLRight-click > Copy > Copy as cURLSame
Replay XHRRight-click > Replay XHRSame

Filtering Tips

Use the filter bar to quickly narrow down requests:

  • is:running — Show in-progress requests
  • larger-than:100k — Show requests larger than 100KB
  • method:POST — Show only POST requests
  • status-code:404 — Show only 404 responses
  • domain:api.example.com — Filter by domain
  • -domain:cdn.example.com — Exclude a domain

---

Performance Panel

ActionMacWindows / Linux
Start/Stop recordingCmd + ECtrl + E
Record and reloadCmd + Shift + ECtrl + Shift + E
Zoom into timelineScroll up/down or W/SScroll up/down or W/S
Pan timelineA/DA/D

---

Application Panel

No dedicated shortcuts, but useful quick actions:

  • Clear Storage: Application > Storage > Clear site data
  • View Cookies: Application > Cookies
  • Inspect Service Workers: Application > Service Workers
  • Local/Session Storage: Application > Local Storage / Session Storage

---

General DevTools Navigation

ActionMacWindows / Linux
Switch panelsCmd + [ / Cmd + ]Ctrl + [ / Ctrl + ]
Toggle console drawerEscEsc
Search across panelsCmd + Shift + FCtrl + Shift + F
DevTools Command MenuCmd + Shift + PCtrl + Shift + P
Increase font sizeCmd + +Ctrl + +
Decrease font sizeCmd + -Ctrl + -
Reset font sizeCmd + 0Ctrl + 0

---

Chrome Shortcuts (Browser Level)

These are not DevTools shortcuts, but they complement your debugging workflow:

ActionMacWindows / Linux
Hard reload (no cache)Cmd + Shift + RCtrl + Shift + R
View page sourceCmd + Option + UCtrl + U
Clear browsing dataCmd + Shift + DeleteCtrl + Shift + Delete
Toggle bookmark barCmd + Shift + BCtrl + Shift + B
Open new incognito windowCmd + Shift + NCtrl + Shift + N
Task ManagerWindow menu > Task ManagerShift + Esc

---

Top 10 DevTools Shortcuts to Memorize

  1. Cmd/Ctrl + Option/Shift + I — Open DevTools.
  2. Cmd/Ctrl + Shift + C — Inspect element mode.
  3. Cmd/Ctrl + Shift + P — Command Menu (the DevTools equivalent of a command palette).
  4. Cmd/Ctrl + P — Open file in Sources panel.
  5. Cmd/Ctrl + Shift + F — Search across all source files.
  6. F8 — Pause/Resume script execution.
  7. F10 — Step over during debugging.
  8. Esc — Toggle the console drawer from any panel.
  9. Cmd/Ctrl + K — Clear the console.
  10. Cmd/Ctrl + Shift + R — Hard reload the page without cache.

---

Practice Makes Perfect

The most efficient way to internalize these shortcuts is through consistent practice. Consider using Keyhab, a spaced-repetition shortcut trainer, to drill DevTools shortcuts until they become automatic. Even 5 minutes of daily practice can make a noticeable difference in your debugging speed within a couple of weeks.

---

Conclusion

Chrome DevTools is an incredibly powerful toolkit, and keyboard shortcuts are the fastest way to navigate it. Start with the top 10 list, then progressively learn panel-specific shortcuts as you work. Your future self — and your debugging sessions — will thank you.

⌘⌥I

Learn Chrome shortcuts with quick quizzes

Keyhab quizzes you on 1,050 shortcuts for 15 tools, from Basics to Advanced. Five minutes a day on iPhone or iPad — VSCode (Mac) and Vim Basics are free.

Download free on the App Store

Related