![Kayce Basques](https://web.dev/images/authors/kaycebasques.jpg) Kayce Basques [X](https://twitter.com/kaycebasques) [GitHub](https://github.com/kaycebasques) ![Sofia Emelianova](https://web.dev/images/authors/sofiayem.jpg) Sofia Emelianova [GitHub](https://github.com/sofiayem)

<br />

This page is a reference of keyboard shortcuts in Chrome DevTools.

You can also find shortcuts in tooltips. Hover over a UI element of DevTools to display its tooltip.
If the element has a shortcut, the tooltip includes it.

## Keyboard shortcuts for opening DevTools

To open DevTools, press the following keyboard shortcuts while your cursor is focused on the browser
viewport:

| Action | Mac | Windows / Linux |
|---|---|---|
| Open whatever panel you used last | <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>I</kbd> | <kbd>F12</kbd> or <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> |
| Open the **Console** panel | <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>J</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>J</kbd> |
| Open the **Elements** panel | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> or <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>C</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> |

## Global keyboard shortcuts

The following keyboard shortcuts are available in most, if not all, DevTools panels.

| Action | Mac | Windows / Linux |
|---|---|---|
| Show **Settings** | <kbd>?</kbd> or <kbd>Function</kbd>+<kbd>F1</kbd> | <kbd>?</kbd> or <kbd>F1</kbd> |
| Focus the next panel | <kbd>Command</kbd>+<kbd>]</kbd> | <kbd>Control</kbd>+<kbd>]</kbd> |
| Focus the previous panel | <kbd>Command</kbd>+<kbd>[</kbd> | <kbd>Control</kbd>+<kbd>[</kbd> |
| Switch back to whatever [docking position](https://developer.chrome.com/docs/devtools/customize.md.txt#placement) you last used. If DevTools has been in its default position for the entire session, then this shortcut undocks DevTools into a separate window | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd> |
| Toggle **[Device Mode](https://developer.chrome.com/docs/devtools/device-mode.md.txt)** | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd> |
| Toggle **Inspect Element Mode** | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> |
| Open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> |
| Toggle the **[Drawer](https://developer.chrome.com/docs/devtools/customize.md.txt#drawer)** | <kbd>Escape</kbd> | <kbd>Escape</kbd> |
| Normal reload | <kbd>Command</kbd>+<kbd>R</kbd> | <kbd>F5</kbd> or <kbd>Control</kbd>+<kbd>R</kbd> |
| Hard reload | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> | <kbd>Control</kbd>+<kbd>F5</kbd> or <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> |
| Search for text within the current panel. Supported only in the **Elements** , **Console** , **Sources** , **Performance** , **Memory** , **JavaScript Profiler** , and **Quick Source** panels. | <kbd>Command</kbd>+<kbd>F</kbd> | <kbd>Control</kbd>+<kbd>F</kbd> |
| Opens the **Search** tab in the **[Drawer](https://developer.chrome.com/docs/devtools/customize.md.txt#drawer)**, which lets you search for text across all loaded resources | <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>F</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> |
| Open a file in the **Sources** panel | <kbd>Command</kbd>+<kbd>O</kbd> or <kbd>Command</kbd>+<kbd>P</kbd> | <kbd>Control</kbd>+<kbd>O</kbd> or <kbd>Control</kbd>+<kbd>P</kbd> |
| Zoom in | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>+</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>+</kbd> |
| Zoom out | <kbd>Command</kbd>+<kbd>-</kbd> | <kbd>Control</kbd>+<kbd>-</kbd> |
| Restore default zoom level | <kbd>Command</kbd>+<kbd>0</kbd> | <kbd>Control</kbd>+<kbd>0</kbd> |
| Run snippet | Press <kbd>Command</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>!</kbd> followed by the name of the script, then press <kbd>Enter</kbd> | Press <kbd>Control</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>!</kbd> followed by the name of the script, then press <kbd>Enter</kbd> |

## Elements panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Undo change | <kbd>Command</kbd>+<kbd>Z</kbd> | <kbd>Control</kbd>+<kbd>Z</kbd> |
| Redo change | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd> | <kbd>Control</kbd>+<kbd>Y</kbd> |
| Select the element above / below the currently-selected element | <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> | <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> |
| Expand the currently-selected node. If the node is already expanded, this shortcut selects the element below it | <kbd>Right Arrow</kbd> | <kbd>Right Arrow</kbd> |
| Collapse the currently-selected node. If the node is already collapsed, this shortcut selects the element above it | <kbd>Left Arrow</kbd> | <kbd>Left Arrow</kbd> |
| Expand or collapse the currently-selected node and all of its children | Hold <kbd>Option</kbd> then click the arrow icon next to the element's name | Hold <kbd>Control</kbd>+<kbd>Alt</kbd> then click the arrow icon next to the element's name |
| Toggle **Edit Attributes** mode on the currently-selected element | <kbd>Enter</kbd> | <kbd>Enter</kbd> |
| Select the next / previous attribute after entering **Edit Attributes** mode | <kbd>Tab</kbd> / <kbd>Shift</kbd>+<kbd>Tab</kbd> | <kbd>Tab</kbd> / <kbd>Shift</kbd>+<kbd>Tab</kbd> |
| Hide the currently-selected element | <kbd>H</kbd> | <kbd>H</kbd> |
| Toggle **Edit as HTML** mode on the currently-selected element | <kbd>Function</kbd>+<kbd>F2</kbd> | <kbd>F2</kbd> |

### Styles pane keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Go to the line where a property value is declared | Hold <kbd>Command</kbd> then click the property value | Hold <kbd>Control</kbd> then click the property value |
| Cycle through the CSS rules | <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> | <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> |
| Cycle through the properties and the controls in property values within a CSS rule | <kbd>Left Arrow</kbd> / <kbd>Right Arrow</kbd> | <kbd>Left Arrow</kbd> / <kbd>Right Arrow</kbd> |
| Open the CSS value tooltip when focusing a function in a property value (e.g., var, calc, clamp, etc., identified by a dotted underline) | <kbd>Option</kbd>+<kbd> Down Arrow</kbd> | <kbd>Alt</kbd>+<kbd>Down Arrow</kbd> |
| Change the representation of a color value (e.g., RGB, hex, oklch, etc.) | Hold <kbd>Shift</kbd> then click the **Color Preview** box next to the value | Hold <kbd>Shift</kbd> then click the **Color Preview** box next to the value |
| Edit the next / previous property or value | Click a property name or value then press <kbd>Tab</kbd> / <kbd>Shift</kbd>+<kbd>Tab</kbd> | Click a property name or value then press <kbd>Tab</kbd> / <kbd>Shift</kbd>+<kbd>Tab</kbd> |
| Increment / decrement a property value by 0.1 | Click a value then press <kbd>Option</kbd>+<kbd>Up Arrow</kbd> / <kbd>Option</kbd>+<kbd>Down Arrow</kbd> | Click a value then press <kbd>Alt</kbd>+<kbd>Up Arrow</kbd> / <kbd>Alt</kbd>+<kbd>Down Arrow</kbd> |
| Increment / decrement a property value by 1 | Click a value then press <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> | Click a value then press <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> |
| Increment / decrement a property value by 10 | Click a value then press <kbd>Shift</kbd>+<kbd>Up Arrow</kbd> / <kbd>Shift</kbd>+<kbd>Down Arrow</kbd> | Click a value then press <kbd>Shift</kbd>+<kbd>Up Arrow</kbd> / <kbd>Shift</kbd>+<kbd>Down Arrow</kbd> |
| Increment / decrement a property value by 100 | Click a value then press <kbd>Command</kbd>+<kbd>Up Arrow</kbd> / <kbd>Command</kbd>+<kbd>Down Arrow</kbd> | Click a value then press <kbd>Control</kbd>+<kbd>Up Arrow</kbd> / <kbd>Control</kbd>+<kbd>Down Arrow</kbd> |
| Cycle through the degrees (deg), gradians (grad), radians (rad) and turns (turn) representations of an angle value | Hold <kbd>Shift</kbd> then click the **Angle Preview** box next to the value | Hold <kbd>Shift</kbd> then click the **Angle Preview** box next to the value |
| Increment / decrement an angle value by 1 | Click the **Angle Preview** box next to the value then press <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> | Click the **Angle Preview** box next to the value then press <kbd>Up Arrow</kbd> / <kbd>Down Arrow</kbd> |
| Increment / decrement an angle value by 10 | Click the **Angle Preview** box next to the value then press <kbd>Shift</kbd>+<kbd>Up Arrow</kbd> / <kbd>Shift</kbd>+<kbd>Down Arrow</kbd> | Click the **Angle Preview** box next to the value then press <kbd>Shift</kbd>+<kbd>Up Arrow</kbd> / <kbd>Shift</kbd>+<kbd>Down Arrow</kbd> |
| Increment / decrement an angle value by 15 | Click the **Angle Preview** box next to the value then press <kbd>Shift</kbd>, click / mouse slide on the **Angle Clock Overlay** | Click the **Angle Preview** box next to the value then press <kbd>Shift</kbd>, click / mouse slide on the **Angle Clock Overlay** |

## Sources panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Pause script execution (if currently running) or resume (if currently paused) | <kbd>F8</kbd> or <kbd>Command</kbd>+<kbd>\</kbd> | <kbd>F8</kbd> or <kbd>Control</kbd>+<kbd>\</kbd> |
| Step over next function call | <kbd>F10</kbd> or <kbd>Command</kbd>+<kbd>'</kbd> | <kbd>F10</kbd> or <kbd>Control</kbd>+<kbd>'</kbd> |
| Step into next function call | <kbd>F11</kbd> or <kbd>Command</kbd>+<kbd>;</kbd> | <kbd>F11</kbd> or <kbd>Control</kbd>+<kbd>;</kbd> |
| Step out of current function | <kbd>Shift</kbd>+<kbd>F11</kbd> or <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>;</kbd> | <kbd>Shift</kbd>+<kbd>F11</kbd> or <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>;</kbd> |
| [Continue to a certain line of code while paused](https://developer.chrome.com/blog/new-in-devtools-60.md.txt#continue) | Hold <kbd>Command</kbd> and then click the line of code | Hold <kbd>Control</kbd> and then click the line of code |
| Select the call frame below / above the currently-selected frame | <kbd>Control</kbd>+<kbd>.</kbd> / <kbd>Control</kbd>+<kbd>,</kbd> | <kbd>Control</kbd>+<kbd>.</kbd> / <kbd>Control</kbd>+<kbd>,</kbd> |
| Save changes to local modifications | <kbd>Command</kbd>+<kbd>S</kbd> | <kbd>Control</kbd>+<kbd>S</kbd> |
| Save all changes | <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>S</kbd> | <kbd>Control</kbd>+<kbd>Alt</kbd>+<kbd>S</kbd> |
| Go to line | <kbd>Control</kbd>+<kbd>G</kbd> | <kbd>Control</kbd>+<kbd>G</kbd> |
| Jump to a line number of the currently-open file | Press <kbd>Command</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>:</kbd> followed by the line number, then press <kbd>Enter</kbd> | Press <kbd>Control</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>:</kbd> followed the line number, then press <kbd>Enter</kbd> |
| Jump to a column of the currently-open file (for example line 5, column 9) | Press <kbd>Command</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>:</kbd>, then the line number, then another <kbd>:</kbd>, then the column number, then press <kbd>Enter</kbd> | Press <kbd>Control</kbd>+<kbd>O</kbd> to open the **[Command Menu](https://developer.chrome.com/docs/devtools/command-menu.md.txt)** , type <kbd>:</kbd>, then the line number, then another <kbd>:</kbd>, then the column number, then press <kbd>Enter</kbd> |
| Go to a function declaration (if currently-open file is HTML or a script), or a rule set (if currently-open file is a stylesheet) | Press <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd>, then type in the name of the declaration / rule set, or select it from the list of options | Press <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd>, then type in the name of the declaration / rule set, or select it from the list of options |
| Close the active tab | <kbd>Option</kbd>+<kbd>W</kbd> | <kbd>Alt</kbd>+<kbd>W</kbd> |
| Open next or previous tab | <kbd>Function</kbd>+<kbd>Command</kbd>+<kbd>Up</kbd> or <kbd>Down</kbd> | <kbd>Control</kbd>+<kbd>Page Up</kbd> or <kbd>Page Down</kbd> |
| Toggle the **Navigation** sidebar on the left | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>Y</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>Y</kbd> |
| Toggle the **Debugger** sidebar on the right | <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> |

### Code Editor keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Delete all characters in the last word, up to the cursor | <kbd>Option</kbd>+<kbd>Delete</kbd> | <kbd>Control</kbd>+<kbd>Delete</kbd> |
| Add or remove a [line-of-code breakpoint](https://developer.chrome.com/docs/devtools/javascript/breakpoints.md.txt#loc) | Focus your cursor on the line and then press <kbd>Command</kbd>+<kbd>B</kbd> | Focus your cursor on the line and then press <kbd>Control</kbd>+<kbd>B</kbd> |
| Open the breakpoint edit dialog to edit [conditional breakpoints](https://developer.chrome.com/docs/devtools/javascript/breakpoints.md.txt#conditional-loc) or [logpoints](https://developer.chrome.com/docs/devtools/javascript/breakpoints.md.txt#log-loc) | Focus your cursor on the line and then press <kbd>Command</kbd>+<kbd>Alt</kbd>+<kbd>B</kbd> | Focus your cursor on the line and then press <kbd>Control</kbd>+<kbd>Alt</kbd>+<kbd>B</kbd> |
| Open the [conditional breakpoint](https://developer.chrome.com/docs/devtools/javascript/breakpoints.md.txt#conditional-loc) dialog | <kbd>Command</kbd>+click a line number | <kbd>Control</kbd>+click a line number |
| Open the [logpoint](https://developer.chrome.com/docs/devtools/javascript/breakpoints.md.txt#log-loc) dialog | <kbd>Command</kbd>+<kbd>Shift</kbd>+click a line number | <kbd>Control</kbd>+<kbd>Shift</kbd>+click a line number |
| Go to matching bracket | <kbd>Control</kbd>+<kbd>M</kbd> | <kbd>Control</kbd>+<kbd>M</kbd> |
| Toggle single-line comment. If multiple lines are selected, DevTools adds a comment to the start of each line | <kbd>Command</kbd>+<kbd>/</kbd> | <kbd>Control</kbd>+<kbd>/</kbd> |
| Select / de-select the next occurrence of whatever word the cursor is on. Each occurrence is highlighted simultaneously | <kbd>Command</kbd>+<kbd>D</kbd> / <kbd>Command</kbd>+<kbd>U</kbd> | <kbd>Control</kbd>+<kbd>D</kbd> / <kbd>Control</kbd>+<kbd>U</kbd> |

## Network panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Search headers, payloads, and responses | <kbd>Command</kbd>+<kbd>F</kbd> | <kbd>Control</kbd>+<kbd>F</kbd> |
| Start / stop recording | <kbd>Command</kbd>+<kbd>E</kbd> | <kbd>Control</kbd>+<kbd>E</kbd> |
| Record a reload | <kbd>Command</kbd>+<kbd>R</kbd> | <kbd>Control</kbd>+<kbd>R</kbd> |
| Hide the details of a selected request | <kbd>Escape</kbd> | <kbd>Escape</kbd> |

## Performance panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Start / stop recording | <kbd>Command</kbd>+<kbd>E</kbd> | <kbd>Control</kbd>+<kbd>E</kbd> |
| Save recording | <kbd>Command</kbd>+<kbd>S</kbd> | <kbd>Control</kbd>+<kbd>S</kbd> |
| Load recording | <kbd>Command</kbd>+<kbd>O</kbd> | <kbd>Control</kbd>+<kbd>O</kbd> |

## Memory panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Start / stop recording | <kbd>Command</kbd>+<kbd>E</kbd> | <kbd>Control</kbd>+<kbd>E</kbd> |

## Console panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Accept autocomplete suggestion | <kbd>Right Arrow</kbd> or <kbd>Tab</kbd> | <kbd>Right Arrow</kbd> or <kbd>Tab</kbd> |
| Reject autocomplete suggestion | <kbd>Escape</kbd> | <kbd>Escape</kbd> |
| Navigate the autocomplete list up or down | <kbd>Up</kbd> / <kbd>Down</kbd> or <kbd>Control</kbd>+<kbd>P</kbd> / <kbd>N</kbd> | <kbd>Up</kbd> / <kbd>Down</kbd> or <kbd>Control</kbd>+<kbd>P</kbd> / <kbd>N</kbd> |
| Get previous statement | <kbd>Up Arrow</kbd> | <kbd>Up Arrow</kbd> |
| Get next statement | <kbd>Down Arrow</kbd> | <kbd>Down Arrow</kbd> |
| Focus the **Console** | <kbd>Control</kbd>+<kbd>`</kbd> | <kbd>Control</kbd>+<kbd>`</kbd> |
| Clear the **Console** | <kbd>Command</kbd>+<kbd>K</kbd> or <kbd>Option</kbd>+<kbd>L</kbd> | <kbd>Control</kbd>+<kbd>L</kbd> |
| Force a multi-line entry. Note that DevTools should detect multi-line scenarios by default, so this shortcut is now usually unnecessary | <kbd>Shift</kbd>+<kbd>Return</kbd> | <kbd>Shift</kbd>+<kbd>Enter</kbd> |
| Execute | <kbd>Return</kbd> | <kbd>Enter</kbd> |
| Expand all sub-properties of an object that's been logged to the Console | Hold <kbd>Alt</kbd> then click **Expand** **\>** | Hold <kbd>Alt</kbd> then click **Expand** **\>** |

## Search tab keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Expand/collapse all search results | <kbd>Command</kbd>+<kbd>Option</kbd>+<kbd>{</kbd> or <kbd>}</kbd> | <kbd>Control</kbd>+<kbd>Shift</kbd>+<kbd>{</kbd> or <kbd>}</kbd> |

## Recorder panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Start or stop recording | <kbd>Command</kbd>+<kbd>E</kbd> | <kbd>Control</kbd>+<kbd>E</kbd> |
| Replay recording | <kbd>Command</kbd>+<kbd>Enter</kbd> | <kbd>Control</kbd>+<kbd>Enter</kbd> |
| Copy recording or selected step | <kbd>Command</kbd>+<kbd>C</kbd> | <kbd>Control</kbd>+<kbd>C</kbd> |
| Toggle code view | <kbd>Command</kbd>+<kbd>B</kbd> | <kbd>Control</kbd>+<kbd>B</kbd> |

## Layers panel keyboard shortcuts

| Action | Mac | Windows / Linux |
|---|---|---|
| Move the diagram along the X and Y axes | <kbd>W</kbd> (up), <kbd>A</kbd> (left), <kbd>S</kbd> (down), <kbd>D</kbd> (right) | <kbd>W</kbd> (up), <kbd>A</kbd> (left), <kbd>S</kbd> (down), <kbd>D</kbd> (right) |
| Toggle pan mode | <kbd>X</kbd> | <kbd>X</kbd> |
| Toggle rotate mode | <kbd>V</kbd> | <kbd>V</kbd> |
| Reset the diagram's position and rotation | <kbd>0</kbd> | <kbd>0</kbd> |
| Zoom in on the diagram | <kbd>Shift</kbd>+<kbd>+</kbd> or mousewheel up | <kbd>Shift</kbd>+<kbd>+</kbd> or mousewheel up |
| Zoom out of the diagram | <kbd>Shift</kbd>+<kbd>-</kbd> or mousewheel down | <kbd>Shift</kbd>+<kbd>-</kbd> or mousewheel down |