ShotMark
Skip to Content
Developer tools 8 min read

Every Chrome Inspect Shortcut You Should Know

Complete reference for Chrome DevTools keyboard shortcuts. Covers inspect element, console, network tab, and debugging shortcuts for Mac and Windows.

Rumana Parvin
Rumana ParvinFounder & QA Engineer
Every Chrome Inspect Shortcut You Should Know

50+ Shortcuts, and You Probably Use 5

Chrome DevTools has over 50 keyboard shortcuts. Most developers know how to open the inspector and maybe clear the console. That means dozens of time-saving chrome inspect shortcuts go unused every day.

We organized every shortcut worth knowing by panel, with Mac and Windows/Linux keys side by side. Bookmark this page. You’ll come back to it.

Opening DevTools

These are the shortcuts you’ll use most. They open DevTools directly to the panel you need.

ActionMacWindows / Linux
Open DevTools (last panel)Cmd + Option + IF12 or Ctrl + Shift + I
Open Console panelCmd + Option + JCtrl + Shift + J
Open Elements panel (inspect mode)Cmd + Option + CCtrl + Shift + C
Open Command MenuCmd + Shift + PCtrl + Shift + P
Toggle DevTools dock positionCmd + Shift + DCtrl + Shift + D

The Command Menu (Cmd + Shift + P) is the most underused shortcut on this list. It works like VS Code’s command palette. You can switch panels, toggle settings, take screenshots, and run DevTools experiments from a single search bar.

Opening to a Specific Panel

If you always start in the Network tab or Sources panel, the Command Menu is faster than clicking through tabs. Type “Network” or “Sources” after opening it, and you’ll jump directly there.

For developers who keep DevTools open all day, Cmd + Shift + D cycles through dock positions (bottom, right, undocked window) without touching the mouse.

Elements Panel Shortcuts

The Elements panel is where you inspect and edit the DOM. These shortcuts speed up navigation and style editing.

ActionMacWindows / Linux
Move up/down through nodesUp / Down arrowsUp / Down arrows
Expand nodeRight arrowRight arrow
Collapse nodeLeft arrowLeft arrow
Edit as HTMLF2F2
Hide element (toggle)HH
Delete elementDelete or BackspaceDelete
Search DOM by string, selector, or XPathCmd + FCtrl + F

The H shortcut is particularly useful for debugging layout issues. It toggles visibility: hidden on the selected element, letting you see what’s behind it without removing it from the flow.

Editing Styles

ActionMacWindows / Linux
Increment value by 1Up arrowUp arrow
Decrement value by 1Down arrowDown arrow
Increment by 10Shift + UpShift + Up
Decrement by 10Shift + DownShift + Down
Increment by 0.1Option + UpAlt + Up
Increment by 100Cmd + UpCtrl + Up
Toggle property on/offClick the checkboxClick the checkbox
Add new style ruleClick + in Styles paneClick + in Styles pane

When tweaking CSS values (padding, margins, font sizes), the increment shortcuts save significant time. Instead of selecting the value, deleting it, and typing a new one, just press Up or Down to nudge it.

Console Panel Shortcuts

Command Line Shortcuts

ActionMacWindows / Linux
Clear consoleCmd + KCtrl + L
Multi-line inputShift + EnterShift + Enter
Previous commandUp arrowUp arrow
Next commandDown arrowDown arrow
Focus console promptCtrl + backtickCtrl + backtick

Cmd + K (clear console) is worth memorizing if you haven’t already. When debugging, a clean console makes new errors easier to spot.

Console Utilities You Should Know

These aren’t keyboard shortcuts, but they’re console commands that act like shortcuts:

  • $0 returns the currently selected element in the Elements panel. Select a node, switch to Console, type $0.textContent, and you get its text without writing document.querySelector().
  • $_ returns the result of the last evaluated expression. Useful for chaining operations without assigning to variables.
  • copy() copies any value to your clipboard. copy($0.outerHTML) grabs the full HTML of the selected element.
  • monitor(functionName) logs every call to that function with its arguments. Call unmonitor() to stop.
  • monitorEvents(element, 'click') logs every click event on an element. Great for debugging event handlers.
Every Chrome Inspect Shortcut You Should Know infographic

Network Panel Shortcuts

Filtering and Navigation

ActionMacWindows / Linux
Search requestsCmd + FCtrl + F
Clear network logCmd + KCtrl + L
Toggle recordingCmd + ECtrl + E
Select next/previous requestUp / Down arrowsUp / Down arrows

The Network panel’s filter bar supports type filters without keyboard shortcuts. Type is:from-cache to show cached requests, status-code:404 to find broken requests, or domain:api.example.com to isolate API calls.

Debugging Network Requests

Right-clicking any request in the Network panel gives you options that replace manual work:

  • Copy as cURL: Generates a cURL command you can paste into a terminal or share with a teammate. This is the fastest way to reproduce an API issue outside the browser.
  • Copy as fetch: Same idea, but generates JavaScript fetch() code.
  • Replay XHR: Re-sends the request with the same headers and payload. Useful for testing API changes without refreshing the page.
  • Block request URL: Simulates network failures for specific endpoints. Helpful for testing error handling.

For deeper network request debugging workflows, we have a dedicated guide.

Sources Panel and Debugging

Breakpoint Shortcuts

ActionMacWindows / Linux
Toggle breakpointCmd + BCtrl + B
Toggle breakpoint enabledRight-click breakpointRight-click breakpoint
Pause / ContinueF8 or Cmd + \F8 or Ctrl + \
Step overF10 or Cmd + 'F10 or Ctrl + '
Step intoF11 or Cmd + ;F11 or Ctrl + ;
Step outShift + F11 or Cmd + Shift + ;Shift + F11 or Ctrl + Shift + ;

If you set breakpoints by clicking line numbers, that works. But Cmd + B sets a breakpoint on the current line without moving your hands off the keyboard.

Code Navigation

ActionMacWindows / Linux
Go to fileCmd + PCtrl + P
Go to lineCtrl + GCtrl + G
Search across filesCmd + Option + FCtrl + Shift + F

Cmd + P (Go to file) works like your editor’s file opener. Type a filename, and it opens in the Sources panel. This is faster than navigating the file tree, especially in large applications.

Shortcuts That Save the Most Time

If you only learn 10 chrome inspect shortcuts from this entire reference, make it these:

  1. Cmd + Option + I (Open DevTools) - the one everyone knows
  2. Cmd + Shift + P (Command Menu) - the one everyone should know
  3. Cmd + Option + C (Inspect mode) - click any element to jump to it
  4. Cmd + K (Clear console) - start fresh when debugging
  5. H (Hide element) - debug layouts without deleting nodes
  6. Cmd + P (Go to file) - navigate source files fast
  7. Cmd + B (Toggle breakpoint) - set breakpoints from the keyboard
  8. F8 (Pause/Continue) - control execution during debugging
  9. Up/Down in Styles (Increment values) - tweak CSS without typing
  10. Copy as cURL (right-click in Network) - share API reproduction steps instantly

These 10 shortcuts cover the most common debugging tasks across Elements, Console, Network, and Sources panels.

When Shortcuts Aren’t Enough

Keyboard shortcuts make you faster at using DevTools. But they don’t help when you need to share what DevTools is showing you with a teammate.

Copying console errors by hand, screenshotting the Network tab, and pasting it all into a Slack message or ticket takes time. And it misses context: the screenshot doesn’t include the console log, the console log doesn’t include the network failure, and none of it includes the user’s viewport or browser version.

This is the gap that console log capture tools fill. Instead of manually exporting data from each DevTools panel, you capture everything in one action.

ShotMark grabs what DevTools shows you (screenshots, console logs, network requests) in a single click. The developer productivity tools that save the most time are the ones that eliminate manual data collection.

Keep This Reference Handy

Chrome DevTools shortcuts are the kind of knowledge that compounds. Learning one or two new chrome inspect shortcuts per week adds up to hours saved per month. The tables above cover every shortcut worth knowing, organized by the panel where you’ll use them.

ShotMark captures everything DevTools shows you, automatically. No more copying console errors or screenshotting the Network tab. Join the waitlist .

Newsletter

Get new posts in your inbox.

One email when we publish: notes on QA, AI, and shipping faster. No spam, unsubscribe anytime.

Early access

Be first to ship bugs straight to your agent.

One email when ShotMark is ready, plus founding pricing locked in and the occasional build-in-public post. No spam, unsubscribe anytime.

Private beta accessFounding pricing lockNo spam ever