Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog
Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog

Shortcuts

Published on

Settings. Settings > Shortcuts lists default shortcuts you can use while focused in DevTools to speed up your workflow.

For a full list of default shortcuts, see Keyboard shortcuts.

Important

You can use the Visual Studio Code alternatives to default shortcuts. Select Visual Studio Code from Settings. Settings > Shortcuts > Drop-down. Match shortcuts from preset.

Visual Studio Code shortcut alternatives.

Customize shortcuts

This is a preview option. To enable it, check Settings. Settings > Experiments > Checkbox. Enable keyboard shortcut editor.

To customize keyboard shortcuts:

  1. Open Settings.

  2. In the Shortcuts tab, hover over any shortcut and click the Edit. Edit button.

    Edit shortcut.
  3. Put the cursor in the text bar and press any convenient combination of keys (chord). DevTools notifies you if the combination is already in use.

    A chord shortcut that is already in use.
  4. Record a new combination and click the Check. Check button.

    Important

    To add an additional synonymous combination, click Add a shortcut and record another chord in a similar way.

    Save the new shortcut.

To revert or delete changes, click Back. Back or Delete. Delete.

Add shortcuts to unassigned actions

This is a preview option. To enable it, check Settings. Settings > Experiments > Checkbox. Enable keyboard shortcut editor.

By default, DevTools doesn't assign shortcuts to all available actions.

For example, to toggle light and dark theme preference with a keystroke, in the Settings. Settings > Shortcuts > Rendering section, set your own shortcut as described in Customize shortcuts.

Toggle light and dark themes with keyboard shortcut.

Restore default shortcuts

To bring back defaults, click Restore default shortcuts in the bottom-right corner of the Settings. Settings > Shortcuts tab.

Restore default shortcuts.

Updated on Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.