DevTools Keyboard Shortcuts
Chrome DevTools keyboard shortcut reference covering 66 bindings for Windows, Mac & Linux. Commonly searched bindings include Open whatever panel you used last, Open the Console panel, and Open the Elements panel. 66 of 66 shortcuts are verified against official Chrome DevTools documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.
Official Chrome DevTools documentation
Console
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Accept autocomplete suggestion | Right then Tab |
Right then Tab |
Windows, macOS, Linux | Source | |
| Reject autocomplete suggestion | Escape |
Escape |
Windows, macOS, Linux | Source | |
| Get previous statement | Up |
Up |
Windows, macOS, Linux | Source | |
| Get next statement | Down |
Down |
Windows, macOS, Linux | Source | |
| Focus the Console | Ctrl+` |
Ctrl+` |
Windows, Linux | Source | |
| Clear the Console | Ctrl+L |
Cmd+K then Option+L |
Windows, macOS, Linux | Source | |
| Force a multi-line entry | Force a multi-line entry. Note that DevTools should detect multi-line scenarios by default, so this shortcut is now usually unnecessary | Shift+Enter |
Shift+Enter |
Windows, macOS, Linux | Source |
| Execute | Enter |
Enter |
Windows, macOS, Linux | Source |
Debug
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Pause script execution (if currently running) or resume (if currently paused) | F8 then Ctrl+\ |
F8 then Cmd+\ |
Windows, Linux | Source | |
| Step over next function call | F10 then Ctrl+' |
F10 then Cmd+' |
Windows, Linux | Source | |
| Step into next function call | F11 then Ctrl+; |
F11 then Cmd+; |
Windows, Linux | Source | |
| Step out of current function | Shift+F11 then Ctrl+Shift+; |
Shift+F11 then Cmd+Shift+; |
Windows, Linux | Source | |
| Save changes to local modifications | Ctrl+S |
Cmd+S |
Windows, Linux | Source | |
| Save all changes | Ctrl+Alt+S |
Cmd+Option+S |
Windows, Linux | Source | |
| Go to line | Ctrl+G |
Ctrl+G |
Windows, Linux | Source | |
| Close the active tab | Alt+W |
Option+W |
Windows, Linux | Source | |
| Open next or previous tab | Ctrl+PageUp then PageDown |
Cmd+Up then Down |
Windows, macOS, Linux | Source | |
| Toggle the Navigation sidebar on the left | Ctrl+Shift+Y |
Cmd+Shift+Y |
Windows, Linux | Source | |
| Toggle the Debugger sidebar on the right | Ctrl+Shift+H |
Cmd+Shift+H |
Windows, Linux | Source | |
| Delete all characters in the last word, up to the cursor | Ctrl+Delete |
Option+Delete |
Windows, macOS, Linux | Source | |
| Go to matching bracket | Ctrl+M |
Ctrl+M |
Windows, Linux | Source | |
| Toggle single-line comment | Toggle single-line comment. If multiple lines are selected, DevTools adds a comment to the start of each line | Ctrl+/ |
Cmd+/ |
Windows, Linux | Source |
Elements
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Undo change | Ctrl+Z |
Cmd+Z |
Windows, Linux | Source | |
| Redo change | Ctrl+Y |
Cmd+Shift+Z |
Windows, macOS, Linux | Source | |
| Expand the currently-selected node | Expand the currently-selected node. If the node is already expanded, this shortcut selects the element below it | Right |
Right |
Windows, macOS, Linux | Source |
| Collapse the currently-selected node | Collapse the currently-selected node. If the node is already collapsed, this shortcut selects the element above it | Left |
Left |
Windows, macOS, Linux | Source |
| Toggle Edit Attributes mode on the currently-selected element | Enter |
Enter |
Windows, macOS, Linux | Source | |
| Hide the currently-selected element | H |
H |
Windows, macOS, Linux | Source | |
| Toggle Edit as HTML mode on the currently-selected element | F2 |
F2 |
Windows, macOS, Linux | Source | |
| Open the CSS value tooltip when focusing a function in a property value (e | Open the CSS value tooltip when focusing a function in a property value (e.g., var, calc, clamp, etc., identified by a dotted underline) | Alt+Down |
Option+Down |
Windows, Linux | Source |
General
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Open whatever panel you used last | F12 then Ctrl+Shift+I |
Cmd+Option+I |
Windows, macOS, Linux | Source | |
| Open the Console panel | Ctrl+Shift+J |
Cmd+Option+J |
Windows, macOS, Linux | Source | |
| Open the Elements panel | Ctrl+Shift+C |
Cmd+Shift+C then Cmd+Option+C |
Windows, macOS, Linux | Source | |
| Show Settings | ? then F1 |
? then F1 |
Windows, macOS, Linux | Source | |
| Focus the next panel | Ctrl+] |
Cmd+] |
Windows, Linux | Source | |
| Focus the previous panel | Ctrl+[ |
Cmd+[ |
Windows, Linux | Source | |
| Switch back to whatever docking position you last used | Switch back to whatever docking position you last used. If DevTools has been in its default position for the entire session, then this shortcut undocks DevTools into a separate window | Ctrl+Shift+D |
Cmd+Shift+D |
Windows, Linux | Source |
| Toggle Device Mode | Ctrl+Shift+M |
Cmd+Shift+M |
Windows, Linux | Source | |
| Toggle Inspect Element Mode | Ctrl+Shift+C |
Cmd+Shift+C |
Windows, Linux | Source | |
| Open the Command Menu | Ctrl+Shift+P |
Cmd+Shift+P |
Windows, Linux | Source | |
| Toggle the Drawer | Escape |
Escape |
Windows, macOS, Linux | Source | |
| Normal reload | F5 then Ctrl+R |
Cmd+R |
Windows, macOS, Linux | Source | |
| Hard reload | Ctrl+F5 then Ctrl+Shift+R |
Cmd+Shift+R |
Windows, macOS, Linux | Source | |
| Search for text within the current panel | Search for text within the current panel. Supported only in the Elements , Console , Sources , Performance , Memory , JavaScript Profiler , and Quick Source panels. | Ctrl+F |
Cmd+F |
Windows, Linux | Source |
| Opens the Search tab in the Drawer , which lets you search for text across all loaded resources | Ctrl+Shift+F |
Cmd+Option+F |
Windows, macOS, Linux | Source | |
| Open a file in the Sources panel | Ctrl+O then Ctrl+P |
Cmd+O then Cmd+P |
Windows, Linux | Source | |
| Zoom in | Ctrl+Shift |
Cmd+Shift |
Windows, Linux | Source | |
| Zoom out | Ctrl+- |
Cmd+- |
Windows, Linux | Source | |
| Restore default zoom level | Ctrl+0 |
Cmd+0 |
Windows, Linux | Source |
Layers
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Toggle pan mode | X |
X |
Windows, macOS, Linux | Source | |
| Toggle rotate mode | V |
V |
Windows, macOS, Linux | Source | |
| Reset the diagram's position and rotation | 0 |
0 |
Windows, macOS, Linux | Source | |
| Zoom in on the diagram | Shift |
Shift |
Windows, macOS, Linux | Source | |
| Zoom out of the diagram | Shift+- |
Shift+- |
Windows, macOS, Linux | Source |
Network
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Search headers, payloads, and responses | Ctrl+F |
Cmd+F |
Windows, Linux | Source | |
| Start / stop recording | Ctrl+E |
Cmd+E |
Windows, Linux | Source | |
| Record a reload | Ctrl+R |
Cmd+R |
Windows, Linux | Source | |
| Replay a selected XHR request | R |
R |
Windows, macOS, Linux | Source | |
| Hide the details of a selected request | Escape |
Escape |
Windows, macOS, Linux | Source |
Performance
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Save recording | Ctrl+S |
Cmd+S |
Windows, Linux | Source | |
| Load recording | Ctrl+O |
Cmd+O |
Windows, Linux | Source |
Recorder
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Start or stop recording | Ctrl+E |
Cmd+E |
Windows, Linux | Source | |
| Replay recording | Ctrl+Enter |
Cmd+Enter |
Windows, Linux | Source | |
| Copy recording or selected step | Ctrl+C |
Cmd+C |
Windows, Linux | Source | |
| Toggle code view | Ctrl+B |
Cmd+B |
Windows, Linux | Source |
Search
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Expand/collapse all search results | Ctrl+Shift+{ then } |
Cmd+Option+{ then } |
Windows, macOS, Linux | Source |