Safari - View the source code of a webpage

Ask a question


Issue


How to view the source code of a webpage under Safari?

Solution


To be able to view the source code of a webpage under Safari, you first need to enable the Developer menu:
  • Click on Safari menu > Preferences > Advanced.
  • Check "Show Develop menu in menu bar".
  • Close the Preferences window.
  • Go to the Develop menu > Show Page Source
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team