View Page Source

Free page source viewer: see the HTML source code of any website with line numbers, a search filter and tag counts. Works on any device, including phones.

  • 100% free
  • No sign-up
  • Runs in your browser

Webmaster Tools

About the View Page Source

View Page Source shows the HTML code of any public web page, the same code your browser receives. It is handy on phones and tablets, where the browser’s own "view source" option is hard to find or missing.

The source is shown with line numbers and counts of common tags, such as links, images, scripts and iframes. Filter the lines to find something specific, or copy the whole source.

The page is fetched fresh from our server, so you see the HTML as the server sends it, before any JavaScript runs.

How to use this tool

  1. 1Enter the address of the page.
  2. 2Click View Source.
  3. 3Use the filter to find a tag or text, such as "canonical" or "og:image".
  4. 4Copy the source if you need it.

Best-practice tips

  • Search for "noindex", "canonical" or "description" to check SEO tags quickly.
  • Code added by JavaScript after the page loads will not appear here; that is the HTML search engines see first.
  • Very long pages show the first 3,000 lines; use the filter or copy the full source.

What to look for in the source

  • Title and meta description: search for <title and name="description".
  • Robots and canonical tags: search for robots and canonical.
  • Tracking codes: search for gtag or analytics to check they are installed.
  • Structured data: search for application/ld+json.

For a clearer report of the same tags, use the Meta Tags Checker or the Googlebot Simulator.

Answers

View Page Source FAQs

Enter the address above and click View Source. You see the full HTML with line numbers.

Related tools

Continue with these related webmaster tools.