TechBuzzPro

Enable Inspect Element in Safari: Step-by-Step

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can enable Inspect Element in Safari in about thirty seconds: open Safari, go to Settings (called Preferences on older macOS versions), click the Advanced tab, and tick the checkbox labelled "Show features for web developers" (older versions call it "Show Develop menu in menu bar"). Once that box is checked, a Develop menu appears in the menu bar, and the Inspect Element option lives inside it. On iPhone and iPad the same toggle exists, but it only appears after you switch on the Web Inspector in the device's own Settings app, and it only works when the device is connected to a Mac.

This guide covers Mac, iPhone and iPad. Menu labels can differ slightly by macOS or iOS version and by region, so if a name does not match exactly, look for the closest equivalent.

What You'll Need

  • A Mac running a reasonably current version of macOS with Safari installed (Safari ships with macOS, so no download is needed).
  • For iPhone or iPad inspection: a Mac, a Lightning or USB-C cable to connect the device, and both devices signed in and trusted.
  • For iPhone or iPad inspection: the setting on the phone must be enabled in Settings > Safari > Advanced > Web Inspector.
  • No developer account, paid subscription or extra software is required.

Step-by-Step

On a Mac

  1. Open Safari from the Dock, Launchpad or Applications folder.
  2. From the menu bar at the top of the screen, click Safari, then click Settings. On macOS versions before Ventura the item is called Preferences; the keyboard shortcut Command + comma opens the same window.
  3. Click the Advanced tab, the last tab in that window.
  4. At the bottom of the Advanced panel, tick Show features for web developers. On older Safari versions the checkbox reads Show Develop menu in menu bar. Either way, the effect is the same.
  5. Close the Settings window. A new Develop menu now appears in the menu bar between Bookmarks and Window.
  6. Open the page you want to inspect, then either right-click (or Control-click) any element and choose Inspect Element, or click Develop in the menu bar and choose the page name, then Inspect Element from the submenu. The Web Inspector opens, usually docked at the bottom or right of the window.
  7. Use the Elements tab to view and edit the page's HTML and CSS live. Changes are temporary and vanish on reload, which makes this a safe way to experiment.

If you only need the JavaScript console, the Develop menu also has a Show JavaScript Console entry, which opens the same inspector with the Console tab selected.

On iPhone and iPad

  1. On the iPhone or iPad, open the Settings app and scroll down to Safari.
  2. Scroll to the bottom and tap Advanced.
  3. Turn on Web Inspector. Without this, the device will not appear on the Mac at all.
  4. Connect the device to the Mac with a cable and tap Trust on the device if prompted, then enter the passcode.
  5. On the Mac, make sure the Develop menu is enabled using the Mac steps above.
  6. Open Safari on the iPhone or iPad and load the page you want to inspect.
  7. On the Mac, click Develop in the menu bar. Your device's name appears in the list; hover over it and select the open page. The Web Inspector opens on the Mac and controls the page running on the phone.

This remote inspection is a Mac-only feature. There is no built-in way to open a full Web Inspector directly on an iPhone or iPad, and Windows has no Safari version that supports it.

Common Mistakes

  • Looking for Inspect Element in Safari's own settings pages. The toggle lives in the Advanced tab of Safari's settings, but the menu it creates appears in the macOS menu bar, not inside the browser window.
  • Right-clicking and finding nothing. The context-menu entry only appears after the Develop menu has been enabled. Enable it first, then right-click.
  • Forgetting the phone-side toggle. A connected iPhone will not show up in the Develop menu unless Web Inspector is switched on in the device's Settings app.
  • Using a charge-only cable. Some USB cables carry power but no data, so the Mac never sees the device. Try a cable you know transfers files.
  • Expecting changes to stick. Edits made in the Elements tab are local and temporary. Reloading the page restores the original code.
  • Confusing Develop with the Responsive Design Mode. They are separate entries in the same menu; one inspects code, the other simulates screen sizes.

Tips

  • Press Option + Command + I on a Mac to open the Web Inspector directly once the Develop menu is enabled.
  • Use the element picker (the crosshair icon at the top of the inspector) to click a page element and jump straight to its HTML.
  • The Network tab shows every request a page makes, which is handy for spotting slow or failing resources.
  • If you share a Mac, you can turn the Develop menu back off the same way you turned it on; nothing else in Safari changes.
  • Keep Safari updated through System Settings > General > Software Update so the inspector matches current web standards.

Troubleshooting

The Develop menu is missing. Reopen Safari Settings > Advanced and confirm the checkbox is ticked. If Safari was updated or settings were reset, the toggle can switch itself off. Quit Safari fully with Command + Q and reopen it.

Right-click shows no Inspect Element. Check that you are clicking inside the page content rather than on the toolbar or a Safari interface element. Also confirm the Develop menu exists in the menu bar.

The iPhone does not appear in the Develop menu. Work through the basics in order: unlock the phone, confirm Web Inspector is on, reconnect the cable, tap Trust again if asked, and restart both Safari on the phone and Safari on the Mac. Make sure both devices are updated to versions that support remote inspection.

The inspector opens but looks empty. Reload the page with the inspector already open. Some pages load their content dynamically, so the structure only appears after scripts run.

Everything worked before and stopped. A macOS or iOS update can reset Safari settings. Re-check both the Mac toggle and the phone toggle, then try again.

Frequently Asked Questions

Is Inspect Element available in Safari on Windows?

No. Safari for Windows was discontinued and never included the Develop menu. Use a current browser on Windows for developer tools.

Does enabling the Develop menu slow Safari down?

No. It only adds a menu and the inspector; normal browsing performance is unaffected.

Can I inspect a page on my iPhone without a Mac?

Not with Safari's full Web Inspector. The remote inspector requires a Mac. On the phone itself you can view page source only through third-party apps from the App Store, which do not offer the same tools.

Will editing HTML in the inspector change the live website?

No. Changes apply only to your local copy in the open tab and disappear when you reload or close the page.

Why does the Develop menu list no devices?

Usually because the phone's Web Inspector toggle is off, the cable is charge-only, or the device has not been trusted. Check those three things first.

Can I turn the Develop menu off again?

Yes. Return to Safari Settings > Advanced and untick the checkbox. The menu disappears immediately.