Viewing Your Page's Source Code the Way Search Engines Do
- Viewing your page's source code in Google Chrome
- Viewing your page's source code in Safari
- Checking what search engines and AI crawlers can see
Most AI crawlers don't run JavaScript. They read only the HTML your server sends, so anything a script adds stays invisible.
Viewing your page's source code in Google Chrome
You can use Google Chrome's developer tools to view your page's source code the way search engines and AI crawlers do.
To view using Google Chrome:
Open the relevant page of your site in Google Chrome.
Open the page's source code view:
Windows: Right-click the page and select View page source (or View source). Alternatively, you can press Ctrl + U on your keyboard.
Mac: Press Cmd + Option + U on your keyboard.
Open the developer tools:
Windows: Press the F12 key on your keyboard.
Mac: Press Cmd + Option + I on your keyboard.
Click the Customize and Control DevTools icon
at the top right. Hover over More tools and select Network conditions.

Deselect Use browser default under User Agent.
Select Googlebot from the dropdown menu.

- Refresh the page.
Viewing your page's source code in Safari
You can use the Develop tab in Safari to view your page's code the way search engines and AI crawlers do.
To view using Safari:
Click Safari in the top menu.
Click Settings.
Click Advanced.
Select the Show features for web developers checkbox.

Open the relevant page of your site in Safari.
Click Develop in the top menu.
Hover over User Agent.
Select Other at the bottom.
Replace the text in the field with the following: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36
Click OK to confirm.
Click Develop in the top menu and select Show Page Source.
Checking what search engines and AI crawlers can see
Your page source shows the HTML your server sends, before any scripts run. Open it and look for the content you expect visitors to find:
Text: Your headings and body text.
Links: Links to your other pages, and the text on those links.
Images: Your image files and their alt text.
Anything missing from the page source is content that crawlers can't read.


