Skip to main content

Chrome DevTools Keyboard Shortcuts for Developers

Keyboard shortcuts for opening DevTools

Windows / LinuxMacDescription
Ctrl + Shift+ JCmd(⌘) + Option(⌥) + JOpen the Console panel
Ctrl + Shift + CCmd(⌘) + Shift + C or
Cmd(⌘) + Option(⌥) + C
Open the Elements panel
F12 or
Ctrl + Shift + I
Cmd(⌘) + Option(⌥) + IOpen whatever panel you used last

Global keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + ]Cmd(⌘) + ]Focus the next panel
Ctrl + [Cmd(⌘) + [Focus the previous panel
Ctrl + Shift + MCmd(⌘) + Shift + MToggle Device Mode
F5 or
Ctrl + R
Cmd(⌘) + RNormal Reload
Ctrl + F5 or
Ctrl + Shift + R
Cmd(⌘) + Shift + RHard Reload
Ctrl + Shift + +Cmd(⌘) + Shift + +Zoom in
Ctrl + -Cmd(⌘) + -Zoom out
Ctrl + 0Cmd(⌘) + 0Restore default zoom level
Ctrl +Shift + PCmd(⌘) + Shift + POpen the Command Menu
Ctrl + FCmd(⌘) + FSearch for text within the current panel. Supported only in the Elements, Console, Sources, Performance, Memory, JavaScript Profiler, and Quick Source panels.

Elements panel keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + ZCmd(⌘) + ZUndo change
Ctrl + YCmd(⌘) + Shift + ZRedo change
Right Arrow(→)Right Arrow(→)Expand the currently-selected node.
If the node is already expanded, this shortcut selects the element below it
Left arrow(←)Left arrow(←)Collapse the currently-selected node.
If the node is already collapsed, this shortcut selects the element above it
Enter(↵)Enter(↵)Toggle Edit Attributes mode on the currently-selected element
HHHide the currently-selected element
Function + F2F2Toggle Edit as HTML mode on the currently-selected element

Styles pane keyboard shortcuts

Windows / LinuxMacDescription
Hold Ctrl then click the property valueHold Cmd(⌘) then click the property valueGo to the line where a property value is declared
Hold Chift then click the
Color Preview box next to the value
Hold Shift then click the
Color Preview box next to the value
Cycle through the RBGA, HSLA, and Hex representations of a color value
Click a property name or value then press Tab(↹) or Shift + Tab(↹)Click a property name or value then press Tab(↹)or Shift + Tab(↹)Select the next / previous property or value
Click a value then press the Up Arrow(↑) or Down Arrow(↓)Click a value then press the Up Arrow(↑) or Down Arrow(↓)Increment / decrement a property value by 1
Click a value then press the Shift + Up Arrow(↑) or Shift + Down Arrow(↓)Click a value then press the Shift + Up Arrow(↑) or Shift+ Down Arrow(↓)Increment / decrement a property value by 10
Click a value then press the Ctrl + Up Arrow(↑) or Ctrl + Down Arrow(↓)Click a value then press the Cmd(⌘) + Up Arrow(↑) or Cmd(⌘) + Down Arrow(↓)Increment / decrement a property value by 100

Sources panel keyboard shortcuts

Windows / LinuxMacDescription
F8 or
Ctrl + \
F8 or
Cmd(⌘) + \
Pause script execution (if currently running) or
resume (if currently paused)
F10 or
Ctrl + '
F10 or
Cmd(⌘) + '
Step over next function call
F11 or
Ctrl + ;
F11 or
Cmd(⌘) + ;
Step into next function call
Shift + F11 or
Ctrl + Shift + ;
Shift + F11 or
Cmd(⌘) + Shift + ;
Step out of current function
Ctrl + SCmd(⌘) + SSave changes to local modifications
Ctrl + Alt + SCmd(⌘) + Option(⌥) + SSave all changes
Ctrl + GCtrl + GGo to line
Alt + WOption(⌥) + WClose the active tab
Ctrl + Shift + YCmd(⌘) + Shift + YToggle the Navigation sidebar on the left
Ctrl + Shift + HCmd(⌘)+ Shift + HToggle the Debugger sidebar on the right

Code Editor keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + Delete(del)Option(⌥) + Delete(del)Delete all characters in the last word, up to the cursor
Ctrl + MCtrl + MGo to matching bracket
Ctrl + BCmd + BAdd or remove a line-of-code breakpoint
Ctrl + D or
Ctrl + U
Cmd + D or
Cmd + U
Select / de-select the next occurrence of whatever word the cursor is on. Each occurrence is highlighted simultaneously
Ctrl + /Cmd(⌘) + /Toggle single-line comment.
If multiple lines are selected, DevTools adds a comment to the start of each line

Network panel keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + ECmd(⌘) + EStart/stop recording
Ctrl + RCmd(⌘) + RRecord a reload
RRReplay a selected XHR request
Escape(esc)Escape(esc)Hide the details of a selected request

Performance panel keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + ECmd(⌘) + EStart/stop recording
Ctrl + SCmd(⌘) + SSave recording
Ctrl + OCmd(⌘) + OLoad recording

Memory panel keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + ECmd(⌘)+ EStart/stop recording

Console panel keyboard shortcuts

Windows / LinuxMacDescription
Right Arrow(→) or
Tab(↹)
Right Arrow(→) or
Tab(↹)
Accept autocomplete suggestion
Escape(esc)Escape(esc)Reject autocomplete suggestion
Up Arrow(↑)Up Arrow(↑)Get previous statement
Down Arrow(↓)Down Arrow(↓)Get next statement
Ctrl + `Ctrl + `Focus the Console
Ctrl + LCmd(⌘) + K or
Option(⌥) + L
Clear the Console

Search tab keyboard shortcuts

Windows / LinuxMacDescription
Ctrl + Shift + { or
Ctrl + Shift + }
Cmd(⌘) + Option(⌥) + { or
Cmd(⌘) + Option(⌥) + }
Expand/collapse all search results