View Page Source Online
Quick answer: enter a page address and see its HTML source code, the server response headers and the key SEO tags. It works on any phone or tablet because our server fetches the page for you, so you do not need developer tools or a browser extension. It is free and needs no sign-up.
How to View Page Source on a Phone
Mobile browsers on iPhone and Android do not have a built-in view-source option. Paste the page address into the box above and tap View source. On a desktop computer you can also press Ctrl+U (Cmd+Option+U on a Mac) to open the source of the page you are on.
What You Can See
- Source: the HTML with line numbers, colours, a find box, copy and download buttons
- Response headers: status code, content type, caching and security headers
- Key tags: title, meta description, canonical, robots, language, H1 headings, image and link counts and JSON-LD types
View the Page as a Crawler
Pick how the page is requested: desktop browser, mobile browser, Googlebot, ChatGPT (OAI-SearchBot), Claude (Claude-SearchBot) or Perplexity (PerplexityBot). The tool sends that crawler’s user agent, so you can see whether your server returns the same HTML to everyone. It does not come from the crawlers’ own IP addresses, so a firewall that verifies crawler IPs may still answer differently. To test how ready your site is for AI search, run the free GEO audit.
Limits
- It shows the raw HTML your server sends. It does not run JavaScript, so content added by scripts is not included.
- Only the first 1.5 MB of a page is loaded.
- Only public pages work. Pages behind a login cannot be fetched.
Frequently Asked Questions
How do I view page source on iPhone?
Safari on iPhone has no view-source option. Paste the page address into the tool above, tap View source and you get the HTML, headers and key tags right on your phone.
How do I view page source on Android?
Chrome on Android blocks the view-source option in the address bar for most users. Paste the page address into the tool above and tap View source. It works in any mobile browser.
Is View Source the same as Inspect?
No. View source shows the raw HTML your server sent. Inspect shows the page after the browser has run JavaScript and built the page, so it can contain elements that are not in the source.
Does the tool run JavaScript?
No. It shows the HTML exactly as the server returns it. That is also what most search and AI crawlers read first.
Is it free and what data do you save?
It is free with no sign-up. We save only the domain, the date and your country (worked out from your IP address, which is not stored), so we can see how the tool is used. We never save the page path or query string, and we do not ask for your email. For the hourly limit we keep a temporary hash of your IP address for one hour.
Want to check your whole site? Try the free SEO audit or the free GEO audit, or see our SEO & GEO service.
