Chrome DevTools keyboard shortcuts

Chrome DevTools is the debugging and profiling toolkit built into Google Chrome, covering the DOM, CSS, JavaScript, network and performance. Web developers open it hundreds of times a week, so knowing the keyboard paths into each panel and through the debugger saves real time every single day. This cheat sheet covers 50 default shortcuts for Windows and Mac.

Opening DevTools

Open DevTools (last used panel)F12Cmd+Option+I
Open DevTools (Elements-style inspect)Ctrl+Shift+ICmd+Option+I
Open DevTools on the Console panelCtrl+Shift+JCmd+Option+J
Toggle inspect element modeCtrl+Shift+CCmd+Shift+C

Global (inside DevTools)

Run command menuCtrl+Shift+PCmd+Shift+P
Open a fileCtrl+PCmd+P
Search across all loaded sourcesCtrl+Shift+FCmd+Option+F
Search within current panelCtrl+FCmd+F
Open SettingsF1Fn+F1
Next panelCtrl+]Cmd+]
Previous panelCtrl+[Cmd+[
Toggle dock position (last used)Ctrl+Shift+DCmd+Shift+D
Toggle drawer (console at bottom)EscEsc
Toggle device (responsive) toolbarCtrl+Shift+MCmd+Shift+M
Zoom DevTools inCtrl+=Cmd+=
Zoom DevTools outCtrl+-Cmd+-
Reset DevTools zoomCtrl+0Cmd+0
Reload pageF5Cmd+R
Hard reload (ignore cache)Ctrl+Shift+RCmd+Shift+R

Console

Clear consoleCtrl+LCmd+K
Run expressionEnterEnter
New line without running (multi-line entry)Shift+EnterShift+Enter
Previous command from historyUpUp
Accept autocomplete suggestionTabTab

Elements Panel

Undo changeCtrl+ZCmd+Z
Redo changeCtrl+YCmd+Shift+Z
Hide selected elementHH
Edit selected element as HTMLF2Fn+F2
Delete selected elementDeleteDelete
Select next / previous elementDown / UpDown / Up
Expand / collapse selected nodeRight / LeftRight / Left
Expand node and all children recursivelyCtrl+Alt+Click arrowOption+Click arrow
Cycle color format (hex, RGB, HSL)Shift+Click color swatchShift+Click color swatch

Styles Pane (CSS values)

Increment / decrement value by 1Up / DownUp / Down
Increment / decrement value by 0.1Alt+Up / Alt+DownOption+Up / Option+Down
Increment / decrement value by 10Shift+Up / Shift+DownShift+Up / Shift+Down
Increment / decrement value by 100Ctrl+Up / Ctrl+DownCmd+Up / Cmd+Down

Sources & Debugger

Pause / resume script executionF8F8
Step over next function callF10F10
Step into next function callF11F11
Step out of current functionShift+F11Shift+F11
Toggle breakpoint on current lineCtrl+BCmd+B
Deactivate all breakpointsCtrl+F8Cmd+F8
Go to member (function in file)Ctrl+Shift+OCmd+Shift+O
Save edits to fileCtrl+SCmd+S
Toggle line commentCtrl+/Cmd+/
Select next occurrence of current wordCtrl+DCmd+D
Run snippetCtrl+EnterCmd+Enter

Network & Performance

Start / stop recording (Network or Performance)Ctrl+ECmd+E
Record performance profile of page loadCtrl+Shift+ECmd+Shift+E

Put your top Chrome DevTools shortcuts on real keys

The five Chrome DevTools actions most worth binding to a physical macropad key:

Ctrl+Shift+CCmd+Shift+C Toggle inspect element mode The fastest path from seeing a bug on the page to the DOM node that causes it.
Ctrl+Shift+PCmd+Shift+P Run command menu One key unlocks every DevTools feature, including ones with no shortcut at all.
F8F8 Pause / resume script execution The heartbeat of every JavaScript debugging session, pressed constantly.
Ctrl+Shift+RCmd+Shift+R Hard reload (ignore cache) Kills stale-cache confusion instantly when testing front-end changes.
Ctrl+Shift+MCmd+Shift+M Toggle device toolbar Responsive checks happen on every UI change; one key flips to mobile view.

I hand-build small-batch programmable macropads (QMK/VIA) in Barcelona. One press, any shortcut, any app.

See the macropads

Chrome DevTools shortcut FAQs

How do I open Chrome DevTools with the keyboard?
Press F12 or Ctrl+Shift+I on Windows, or Cmd+Option+I on Mac. Use Ctrl+Shift+J (Cmd+Option+J) to land directly on the Console, or Ctrl+Shift+C (Cmd+Shift+C) to start in inspect-element mode.
Is there a command palette in Chrome DevTools?
Yes. Press Ctrl+Shift+P (Cmd+Shift+P on Mac) to open the Command Menu, which can run any DevTools action such as capturing screenshots, toggling themes or disabling JavaScript.
What are the debugger stepping shortcuts in DevTools?
F8 pauses or resumes execution, F10 steps over a call, F11 steps into it and Shift+F11 steps out. Ctrl+B (Cmd+B) toggles a breakpoint on the current line in the Sources panel.
How do I search all files in Chrome DevTools?
Press Ctrl+Shift+F on Windows or Cmd+Option+F on Mac to search across every loaded source file. Use Ctrl+P (Cmd+P) to open a specific file by name.
How do I clear the DevTools console quickly?
Press Ctrl+L (or Cmd+K on Mac) while focused on the Console, or run clear() in the console itself.