CODE & CLONING

How to inspect element on a Mac

To inspect element on a Mac, right-click any part of a page and choose Inspect in Chrome, Edge or Firefox, or press Cmd+Option+I. In Safari, first open Safari > Settings > Advanced and tick Show features for web developers. Then right-click and choose Inspect Element, or press Cmd+Option+I.

“Inspect Element on a Mac.” A right-click menu with Inspect highlighted opens a code panel beside a web page, above three keys labeled Cmd, Option and I.
Right-click and choose Inspect, or press Cmd+Option+I.

In short

  • Chrome, Edge and Firefox: right-click, then Inspect, or press Cmd+Option+I
  • Safari: tick Show features for web developers first
  • Cmd+Shift+C lets you click an element to pick it (Cmd+Option+C in Firefox)
  • Anything you change while inspecting is only on your screen
On this page7
  1. Step by step
  2. Inspect element shortcuts on a Mac
  3. Turn on Inspect Element in Safari
  4. Why Inspect is greyed out or missing
  5. What to do once it is open
  6. See fonts, colors and spacing without DevTools
  7. Questions

Step by step

  1. Open the page

    Open the page in Chrome, Edge, Firefox or Safari and let it finish loading.

  2. Turn on Safari’s tools

    Safari only: choose Safari > Settings > Advanced and tick Show features for web developers.

  3. Right-click and inspect

    Right-click (or Control-click) the part you want and choose Inspect. Safari calls it Inspect Element.

  4. Or use the keyboard

    Press Cmd+Option+I to open the tools, or Cmd+Shift+C to pick an element by clicking it.

  5. Read the element

    The panel shows the element’s HTML and the CSS rules that style it.

Inspect element shortcuts on a Mac

Shortcuts and menus that open the developer tools on a Mac
BrowserOpen the toolsPick an elementMenu
ChromeCmd+Option+ICmd+Shift+CView > Developer > Developer Tools
EdgeCmd+Option+ICmd+Shift+CSettings and more > More tools > Developer tools
FirefoxCmd+Option+ICmd+Option+CTools > Browser Tools > Web Developer Tools
SafariCmd+Option+ICmd+Shift+CDevelop > Show Web Inspector
HTML & CSS extractor in the Sitepeel interface
HTML & CSS extractor in actionExplore the tool

Turn on Inspect Element in Safari

Safari’s developer tools are off by default, so a new Mac shows no Inspect Element in the right-click menu.

  • Choose Safari > Settings in the menu bar.
  • Open the Advanced tab.
  • Tick Show features for web developers. A Develop menu appears in the menu bar.
  • Right-click the page and choose Inspect Element, or choose Develop > Show Web Inspector.

Why Inspect is greyed out or missing

Reasons Inspect doesn’t show or doesn’t open on a Mac
What you seeWhyWhat to do
No Inspect Element or Develop menu in SafariSafari’s developer features are offTick Show features for web developers in Safari > Settings > Advanced
Inspect is missing or greyed out in Chrome or EdgeA work or school Mac can turn the developer tools offAsk the administrator: it is their setting
Right-click shows the site’s own menuThe page replaces the browser’s right-click menuPress Cmd+Option+I, or use the browser menu
The shortcut does nothingAnother app or the address bar has the keyboardClick the page once, then press it again

What to do once it is open

  • Press Cmd+Shift+C (Cmd+Option+C in Firefox), then click any part of the page to select it.
  • Read its CSS beside the HTML: font, color, size, padding and margin.
  • Double-click text or a CSS value to change it. The change is only on your screen.
  • Press Cmd+F inside the tools to search the panel you have open.
  • Press Cmd+Shift+M in Chrome or Edge (Cmd+Option+M in Firefox) to see the page at phone sizes.

See fonts, colors and spacing without DevTools

If you only want design details, the Sitepeel Chrome extension is quicker. Click an element with its Inspect tool for the code, font, colors and box. Hover with Measure for sizes, padding and margins. It runs in Chrome, Edge and Brave on a Mac, not in Safari or Firefox.

Questions

How do I open the Inspector window on my Mac?

Press Cmd+Option+I in Chrome, Edge, Firefox or Safari. In Safari, tick Show features for web developers in Safari > Settings > Advanced first. You can also right-click the page and choose Inspect, or Inspect Element in Safari.

Why won’t it let me inspect on my Mac?

In Safari, Inspect Element only appears after you tick Show features for web developers in Safari > Settings > Advanced. In Chrome or Edge on a work or school Mac, an administrator may have turned the developer tools off.

What is the shortcut for Inspect Element on a Mac?

Cmd+Option+I opens the developer tools in Chrome, Edge, Firefox and Safari. Cmd+Shift+C starts picking an element in Chrome, Edge and Safari; Firefox uses Cmd+Option+C.

Is there a Ctrl+F on Mac?

Yes: Cmd+F. It finds text on the page. Inside the developer tools it searches the panel you have open, which is a fast way to find a class name or a word in the HTML.

Does Inspect Element change the website?

No. You are changing your browser’s copy of the page. Nobody else sees it, and a reload brings the original back.

TAKE A CLOSER LOOK

Your next starting point is already on the web.

Inspect it. Understand it. Build something of your own.

Add to ChromeFree installTry the free tools