GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Web Platform
  • Isolated Web Apps (IWA)
  • Capabilities
  • Automation and testing
  • ChromeDriver
  • Extensions
  • Chrome Web Store
  • Chromium
  • Web on Android
  • Origin trials
  • Release notes
  • DevTools
  • Lighthouse

This view

  • Original page
  • New address

GeezerVison is showing developer.chrome.com — Open Chrome DevTools | Chrome for Developers

Open Chrome DevTools Stay organized with collections Save and categorize content based on your preferences.

Kayce Basques
Kayce Basques
Jecelyn Yeen
Jecelyn Yeen
Sofia Emelianova
Sofia Emelianova

There are many ways to open Chrome DevTools. Choose your favorite way from this comprehensive reference.

You can access DevTools using Chrome UI or keyboard:

  • From drop-down menus in Chrome.
  • With dedicated shortcuts that open Elements, Console, or the last panel you used.

Additionally, learn how to auto-open DevTools for every new tab.

Open DevTools from Chrome menus

If you prefer UI, you can access DevTools from drop-down menus in Chrome.

Open the Elements panel to inspect the DOM or CSS

To inspect, right-click an element on a page and select Inspect.

The Inspect option in a drop-down menu in Chrome.

DevTools opens the Elements panel and selects the element in the DOM tree. In the Styles tab, you can see CSS rules applied to the selected element.

An element selected in the Elements panel.

Open the last panel you used from Chrome's main menu

To open the last DevTools panel, click the more_vert button to the right of the address bar and select More Tools > Developer Tools.

The Developer Tools option selected from the three-dot menu.

Alternatively, you can open the last panel with a shortcut. See the next section to learn more.

Open panels with shortcuts: Elements, Console, or your last panel

If you prefer keyboard, press a shortcut in Chrome depending on your operating system:

OS Elements Console Your last panel
Windows or Linux Ctrl + Shift + C Ctrl + Shift + J F12
Ctrl + Shift + I
Mac Cmd + Option + C Cmd + Option + J Fn + F12
Cmd + Option + I

Here's an easy way to memorize the shortcuts:

  • C stands for CSS.
  • J for JavaScript.
  • I designates your choice.

The C shortcut opens the Elements panel in ink_selection inspector mode. This mode shows you helpful tooltips when you hover over elements on a page. You can also click any element to view its CSS in the Elements > Styles tab.

The Elements panel in inspector mode with a tooltip.

For the full list of DevTools shortcuts, see Keyboard shortcuts.

With DevTools open, reload the page with or without cache

With DevTools open, you can reload your page in three ways. In the main action bar of the Chrome window, long-press the refresh Reload button and choose one of the options:

Three reload options with DevTools open.

  • Normal Reload. Uses cache to speed up reload time.

    Shortcut: Cmd+R (macOS) or Ctrl+R (Windows/Linux).

    Note: check_box Disable cache in the Network panel forces all normal reloads not to use cache.
  • Hard Reload. Bypasses cache but doesn't empty it.

    Shortcut: Cmd+Shift+R (macOS) or Ctrl+Shift+R (Windows/Linux).

  • Empty cache and hard reload. Empties cache for all sites before reloading.

Auto-open DevTools on every new tab

Run Chrome from the command line and pass the --auto-open-devtools-for-tabs flag:

  1. Quit any running Chrome instance.

    Key point: This flag works only for the first Chrome instance you open. If it doesn't work for you, for example, on Windows, make sure to end any residing Chrome processes from the Task Manager.
  2. Run your favorite terminal or command line application.

  3. Depending on your operating system, run the following command:

  • macOS:

    open -a "Google Chrome" --args --auto-open-devtools-for-tabs
    
  • Windows:

    start chrome --auto-open-devtools-for-tabs
    
  • Linux:

    google-chrome --auto-open-devtools-for-tabs
    

DevTools will automatically open for every new tab until you close Chrome.

What's next?

Success: Congratulations! You've successfully unlocked the power of Chrome DevTools.

Next, watch the following video to learn some useful shortcuts and settings for quicker DevTools navigation.

For a more hands-on learning experience, see how to customize DevTools.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2018-12-14 UTC.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.