How-To Geek
How to turn on the develop menu in safari on mac.
The Develop menu lets you view page source in Safari on Mac.

Quick Links
How to enable the develop menu in safari on mac, how to view page source in safari on mac.
When you right-click on any web page in Safari on Mac, it doesn't reveal the Show Page Source and Inspect Element buttons. To see these, you need to enable the Develop menu---we'll show you how to do that.
Once you've enabled the Develop menu, right-clicking a blank space on any website will reveal the Inspect Element and Show Page Source buttons. These allow you to take a look at the source code of any website, which is useful for things like downloading images from websites and debugging code or finding out what it looks like behind any site (for website designers).
You can easily turn on the Develop menu in Safari by following a couple of steps. Open Safari on your Mac and click the "Safari" button in the menu bar.
Next, select "Preferences." Alternatively, you can use the keyboard shortcut Command+, (comma). This will also open up Safari preferences.
Go to the "Advanced" tab.
Check the box for "Show Develop Menu in Menu Bar."
Now the Develop menu will appear between Bookmarks and Window at the top.
Apart from being able to view the page source, this will allow you to access developer-focused features, such as disabling JavaScript on any website.
Once you've enabled the Develop menu, there are a couple of ways to view the page source in Safari.
Open any website in Safari and right-click the blank space on the page. Now, select "Show Page Source." You can also get to this menu by using the keyboard shortcut Option+Command+u.
If you're looking for images or other media elements from any web page, Safari makes it easy to find these. In the left-hand pane, you will see various folders such as Images, Fonts, etc. Click the "Images" folder to quickly find the photos that you need.
After selecting an image, you can view its details easily by opening up the details sidebar. The button to open this is located at the top-right of the console, just below the gear icon. You can also open this with the shortcut Option+Command+0.
Click "Resource" at the top of the details sidebar to view details, such as the size of the image and its full URL.
You can change the position of the page source console easily, too. There are two buttons at the top-left of this console, right next to the X button. Click the rectangle icon to move the console to a different side within the browser window.
If you'd like to open the page source console in a separate window, you can click the two-rectangles icon. This will detach the console and open it in a separate window.
To check out the code for any specific element on the page, you can right-click that element and select "Inspect Element." This will take you directly to the code for the element that you selected.
Whenever you're done looking at the code, click the X button to close the page source console and return to browsing on Safari. You can also check out how to view a website's page source in Google Chrome here.
Related: How to View the HTML Source in Google Chrome
- Shop 'Til You Drop
- Our Picks: The Best Tech Gifts This Year
How to Activate the iPhone Debug Console or Web Inspector
Use Safari's web developer tools to study problematic websites
:max_bytes(150000):strip_icc():format(webp)/ScottOrgera-f7aca23cc84a4ea9a3f9e2ebd93bd690.jpg)
- Saint Mary-of-the-Woods College
- Switching from Android
What to Know
- Activate Web Inspector on iOS: Go to Settings > Safari > Advanced and move the Web Inspector toggle switch to the On position.
- Use Web Inspector on macOS: Connect your iOS device to a Mac and choose the URL to inspect from the Develop menu.
If you run into a bug or another issue with a website on Safari mobile, use the Web Inspector tool to investigate. This article explains how to use the Safari console for iPhone to debug errors with the help of your Mac computer. Instructions apply to iPhones with iOS 14, iOS 12, or iOS 11, and well as Macs with macOS Big Sur (11.0), macOS Catalina (10.15), or macOS Mojave (10.14).
Activate Web Inspector on Your iPhone or Other iOS Device
The Web Inspector is disabled by default since most iPhone users have no use for it. However, if you're a developer or you're curious, you can activate it in a few short steps. Here's how:
Open the iPhone Settings menu.
On an iPhone with an early version of iOS, access the Debug Console through Settings > Safari > Developer > Debug Console . When Safari on the iPhone detects CSS, HTML, and JavaScript errors, details of each display in the debugger.
Scroll down and tap Safari to open the screen that contains everything related to the Safari web browser on your iPhone, iPad, or iPod touch.
Scroll to the bottom of the page and select Advanced .
Move the Web Inspector toggle switch to the On position.
Connect Your iOS Device to Safari on a Mac
To use the Web Inspector, connect your iPhone or another iOS device to a Mac that has the Safari web browser and enable the Develop menu .
With Safari open, select Safari from the menu bar and choose Preferences .
Select the Advanced tab.
Select the Show Develop menu in menu bar check box and close the settings window.
From the Safari menu bar, select Develop and choose the name of your attached iOS device, then select the URL that appears under Safari to open the debug console for that site.
After you connect your device, use your Mac to inspect the website you want to debug and have it open in the Safari mobile browser.
What Is Web Inspector?
Web developers use Web Inspector to modify, debug, and optimize websites on Macs and iOS devices. With Web Inspector open, developers can inspect the resources on a web page. The Web Inspector window contains editable HTML and notes regarding the styles and layers of the web page in a separate panel.
Before iOS 6, the iPhone Safari web browser had a built-in Debug Console that developers used to find web page defects. Recent versions of iOS use Web Inspector instead.
With Safari 9 and OS X Mavericks (10.9), Apple introduced Responsive Design Mode in Web Inspector. Developers use this built-in simulator to preview how web pages scale to different screen sizes, resolutions, and orientations.
To set up Web Inspector on your iPad, open your iPad's Settings and select Safari > Advanced , then turn Web Inspector On . Connect the iPad to a Mac computer, then open Safari on the Mac and select Safari > Preferences > Advanced , then turn on Show Develop menu in menu bar .
You cannot just connect your iPhone to a Windows PC and start using Web Inspector through Chrome like you can with a Mac. Installing package manager software can provide you a sort of workaround, but it's not recommended unless you're familiar with the package management app you intend to use.
Get the Latest Tech News Delivered Every Day
- How to Activate and Use Responsive Design Mode in Safari
- How to Save Videos From X (Formerly Twitter)
- Add More Features by Turning on Safari's Develop Menu
- 10 Hidden Features in macOS Sonoma (2023)
- How to Use Web Browser Developer Tools
- How to Change Your Homepage in Safari
- How to Use the PS4 Web Browser
- How to Disable JavaScript in Safari for iPhone
- How to Manage Your Browsing History in Safari
- What Is macOS?
- How to Inspect an Element on a Mac
- How to Use Safari Extensions on the iPhone, iPad, or iPod Touch
- How to View HTML Source in Safari
- Modifying Startup Behavior and Home Pages for macOS
- How to View the Source Code of a Web Page
- Manage Smart Search in Safari for Mac
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
How to open the browser developer console
The browser developer console is a tool which logs the information associated with a web application, such as network requests and errors.
The information printed to the developer console can be helpful for the Screenful support team when we're trying to figure out how to solve an issue. The Screenful support team might ask you to take a screenshot of the console.
Below you’ll find instructions for how to open the developer console on various browsers.
To open the developer console window on Chrome, use the keyboard shortcut Cmd-Shift-J on Windows or Cmd-Option-J on a Mac.
To open the console on Edge, hit F12 to access the Developer Tools. Once in the Developer Tools, navigate to the Console tab.
To open the console on Firefox, use the keyboard shortcut Cmd-Shift-K on Windows or Cmd-Option-K on a Mac. The toolbox will appear at the bottom of the browser window, with the Web Console activated.
To open the console on Safari, you will first need to turn on the Develop menu. To do this, open the Safari menu in the Mac menu bar, then select Preferences. Once in the Preferences dialog, navigate to the Advanced tab, then check the "Show Develop menu in the menu bar" box.
Once the Develop menu has been enabled, you can go to the Develop menu in the menu bar and then select the "Show JavaScript Console" option. The JavaScript Console will show up on the bottom half of the active browser window.
Related articles
How to set weekend days and office hours?
How to embed Screenful into Notion?
How to enable single sign-on (SSO)
How to manage custom fields
👋🏽 We wrote a book! Order Wireframing for Everyone today →
Finding Your Browser's Developer Console
Native web apps like Balsamiq Cloud can be tricky to troubleshoot, especially when it comes to the number of browser and browser plugins available to users today. One thing that can help us (and you) figure out what's going on is your browser's developer (or Javascript) console. Here is how to find it on most modern browsers.
Apple Safari
Google chrome, mozilla firefox, microsoft edge.
Before you can access the developer console in Safari, you first need to enable the Developer Menu . To do that, go into Safari's preferences ( Safari Menu > Preferences ) and select the Advanced Tab .
Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console .
You can also use the shortcut Option + ⌘ + C .
The console will either open up within your existing Safari window, or in a new window. It will automatically select the Console tab.
To open the developer console in Google Chrome, open the Chrome Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools .
You can also use Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux).
The console will either open up within your existing Chrome window, or in a new window. You may have to select the Console tab.
To open the developer console in Firefox, click on the Firefox Menu in the upper-right-hand corner of the browser and select More Tools > Browser Console .
You can also use the shortcut Shift + ⌘ + J (on macOS) or Shift + CTRL + J (on Windows/Linux).
The Browser console will open in a new window.
To open the developer console in Microsoft Edge, open the Edge Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools .
You can also press CTRL + Shift + i to open it.
The console will either open up within your existing Edge window, or in a new window. You may have to select the Console tab.
Safari Web Inspector Guide
- Table of Contents
- Jump To
- Download Sample Code

Retired Document
Important: This document no longer represents the most current version of Safari developer tools. Links to downloads and other resources may no longer be valid. For new documentation on Safari Web Inspector, please visit Safari Developer Help .
The Console
The console offers a way to inspect and debug your webpages. Think of it as the Terminal of your web content. The console has access to the DOM and JavaScript of the open page. Use the console as a tool to modify your web content via interactive commands and as a teaching aid to expand your knowledge of JavaScript. Because an object’s methods and properties autocomplete as you type, you can see all available functions that are valid in Safari.
For example, open the console and type $$(‘p’)[1] . ( $$ is shorthand for document.querySelectorAll —see more shorthand commands in Table 5-1 .) Because this paragraph is the second instance of the p element on this page ( [1] in a 0-based index), the node represents this paragraph. As you hover over the node, its position on the page is visibly highlighted. You can expand the node to see its contents, and even press Command-C to copy it to your clipboard.
Command-Line API
You can inspect HTML nodes and JavaScript objects in more detail by using the console commands listed in Table 5-1 . Type the command-line APIs interactively within the console.
If your scripts share the same function name as a Command-Line API function, the function in your scripts takes precedence.
The functions listed in Table 5-1 are regular JavaScript functions that are part of the Web Inspector environment. That means you can use them as you would any JavaScript function. For example, you can assign a chain of Console API commands to a variable to create a useful shorthand. Listing 5-1 shows how you can quickly see all event types attached to the selected node.
Listing 5-1 Find the events attached to this element
After defining this function, inspect the magnifying glass in the top-right corner of this webpage, and type evs() in the console. An array containing the string “click” is returned, because there is a click event listener attached to that element.
Of course, these functions shouldn’t be included in your website’s JavaScript files because they are not available in the browser environment. Only use these functions in the Web Inspector console. Console functions you can include in your scripts are described in Console API .
Console API
You can output messages to the console, add markers to the timeline, and control the debugger directly from your scripts by using the commands listed in Table 5-2 .
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-02-07
Safari developer tools developer console, Inspect options
- Nov 6, 2023

Why Safari Dev tools are required?
In Web application development, Web Developers need to test and debug the functionality in different browsers. Chrome, Firefox, and Safari browsers are used by most developers.
Safari browser is one of the popular web browsers from Apple.
Sometimes, the functionality works in chrome, But it will not work on other browsers like safari. Developers need to debug the code to find out the root issue. All the browsers provide developer tools to debug the code.
Configure web developer tools in safari browser
Developer tools can be enabled by Safari—> Preferences-Advanced Tab - Check Show Developer menu in menu bar.

Enable Dev tools in safari
Develop menu is enabled in the menu of a browser as follows

How to Inspect elements in the safari browser?
Web Inspector is one of the important developer tools provides different tabs to inspect all the front-end resources like HTML/CSS/javascript, the performance of the Network request time, time taken to load all resources, and console log messages. You can inspect DOM elements.
In the Develop menu, Please select the Show Web Inspector option
The shortcut command for configuring a web inspector is Ctrl+Alt+I. It opens the window to the same safari browser at the bottom.
Please enable JavaScript
You can also open this inspect tool in a new window using a docking feature as below.

Show error console feature in safari browser
This feature can be enabled using either Develop menu or the shortcut command Ctrl+Alt+C. It lists out all broken elements, and error messages in red color on the web page. It is very useful for debugging the code and the message will be displayed with a line number and useful message for fixing the issue.

how to preserve log-in safari developer tools?
By default, the safari log is reset during the navigation of pages in the console log. You can find this option in developer tools as follows.
- Keep Log on Navigation in older versions
- preserve log in the latest safari versions
We can do the same thing easily in Chrome. From the safari 14 version, We can find the preserve log option in the Network tab of the Developer console.
Check Developer console + Network tab + preserve log .
For Older safari versions, You can right-click on the console area and select Keep Log on Navigation
Safari User Guide
- Get started
- Go to a website
- Bookmark web pages to revisit
- See your favourite websites
- Use tabs for webpages
- Import bookmarks and passwords
- Pay with Apple Pay
- Autofill credit card info
- View links from friends
- Keep a Reading List
- Hide ads when reading
- Translate a web page
- Download items from the web
- Add passes to Wallet
- Save part or all of a webpage
- Print or create a PDF of a webpage
- Interact with text in a picture
- Change your homepage
- Customise a start page
- Create a profile
- Block pop-ups
- Make Safari your default web browser
- Hide your email address
- Manage cookies
- Clear your browsing history
- Browse privately
- Prevent cross-site tracking
- See who tried to track you
- Change Safari settings
- Keyboard and other shortcuts

Use the developer tools in the Develop menu in Safari on Mac
If you’re a web developer, the Safari Develop menu provides tools you can use to make sure your website works well with all standards-based web browsers.
If you don’t see the Develop menu in the menu bar , choose Safari > Settings, click Advanced, then select Show features for web developers.
Open Safari for me

IMAGES
VIDEO
COMMENTS
Console Sources Network Timelines Storage Graphics Layers Audit Elements. View and inspect the elements that make up the DOM of a web page. Clicking elements from the fully editable markup tree on the left reveals the node's styles in the middle sidebar, with more details in the right sidebar. Responsive Design Mode
Open Safari on your Mac and click the "Safari" button in the menu bar. Next, select "Preferences." Alternatively, you can use the keyboard shortcut Command+, (comma). This will also open up Safari preferences. Go to the "Advanced" tab. Check the box for "Show Develop Menu in Menu Bar."
To do this, simply click on the action button in the top-right corner and go to More Tools > Developer Tools. Developer Tools If you're looking to work as efficiently as possible, here's a list of Chrome Console shortcuts that you can use. How to Open the Console on Google Microsoft Edge
From the Safari menu bar, select Develop and choose the name of your attached iOS device, then select the URL that appears under Safari to open the debug console for that site. After you connect your device, use your Mac to inspect the website you want to debug and have it open in the Safari mobile browser. What Is Web Inspector?
Safari for developers Safari is the best way to experience the internet on iPhone, iPad, and Mac. Thanks to blazing-fast performance and industry-leading energy efficiency, millions of users enjoy exploring the web with Safari.
To enable the Debug Console in Safari, follow these instructions. Tap the Settings icon on the iPhone or iPad desktop. The Settings screen opens. Tap to choose Safari from the list of software available on your device. The Safari Settings screen opens. Scroll to the bottom of the screen and then tap Developer. The Developer screen appears.
If you're a web developer, the Safari Develop menu provides tools you can use to make sure your website works well with all standards-based web browsers. If you don't see the Develop menu in the menu bar, choose Safari > Settings, click Advanced, then select "Show features for web developers.". See also Change Advanced settings in ...
To open the console on Safari, you will first need to turn on the Develop menu. To do this, open the Safari menu in the Mac menu bar, then select Preferences. Once in the Preferences dialog, navigate to the Advanced tab, then check the "Show Develop menu in the menu bar" box.
Step 1: To open the console in Safari, you must first enable the "Develop menu" in the Mac menu bar. To do this, go to Safari in the Mac menu bar at the top of your screen and then select "Preferences."
Before you can access the developer console in Safari, you first need to enable the Developer Menu. To do that, go into Safari's preferences ( Safari Menu > Preferences) and select the Advanced Tab. Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console.
Enable this checkbox, and you will now be able to access Safari Developer Tools via a new Develop menu in the Safari menu bar. Click the 'Show Develop menu in menu bar' checkbox. Now that you have the Safari Developer Tools enabled, you can open the web inspector, console, and network information all from the Develop menu you enabled. By ...
In Safari 10, how to get to the console a few ways: right click "anywhere on the web page" -> "inspect" and the dev tools open up. right click on toolbar (or "view" menu) -> customize toolbar, then add "inspect element" button. When you subsequently use it, it pops up the standard dev tools.
Method 1: Debug Websites using the Responsive Design Mode on Safari How to use Safari debug console menu to identify errors? Method 2: Debug Websites using BrowserStack Live What is Safari Developer Tools? Safari Developer Tools is a set of web development tools built into Apple's Safari web browser.
Apple Safari. Before you can access the developer console in Safari, you first need to enable the Developer Menu. To do that, go into Safari's preferences (Safari Menu > Preferences) and select the Advanced Tab. Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console.
24. It works just the same in Safari as it does in Chrome and Firefox. By default the developer tools is not turned on, so make sure you go to Preferences -> Advanced -> Show Develop Menu in Menu Bar. Then you can pull up the console with Command+Option+C. (That shortcut obviously assumes Mac, not sure the PC shortcut, but it's in the dropdown ...
Introduction Get Oriented Resources and the DOM Timelines Debugger The Console Appendix A: The Develop Menu Appendix B: Keyboard Shortcuts Revision History Describes the developer tool built into Safari that helps you prototype, optimize, and debug web content.
To open the Developer Tools in your browser, you can use eithr the keyboard shortcut or the menu bar option. For Keyboard shortcuts, press Ctrl + Shift + I on Windows or Linux, or Command + Option ...
Then from the Safari " Develop " menu select " Show Web Inspector " or use the keyboard shortcut Option+Command+i. When opened the Safari developer tools pops open in a new window, to get it docked to the bottom of the current Safari window click on the middle icon to snap in at the base of the current open Safari window. And voila ...
From the safari 14 version, We can find the preserve log option in the Network tab of the Developer console. Check Developer console + Network tab + preserve log . For Older safari versions, You can right-click on the console area and select Keep Log on Navigation
Method 1: Responsive Design Mode in Safari Mobile Web First, remember that the Developer menu is, by default, disabled for the Safari browser. To access the Responsive Design Mode, enable the Safari Develop menu. Follow the steps below to enable the Develop menu: Launch Safari browser
If you're a web developer, the Safari Develop menu provides tools you can use to make sure your website works well with all standards-based web browsers. If you don't see the Develop menu in the menu bar, choose Safari > Settings, click Advanced, then select Show features for web developers. See also Change Advanced settings in Safari on ...