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
- 1Enter the address of the page.
- 2Click View Source.
- 3Use the filter to find a tag or text, such as "canonical" or "og:image".
- 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.
Use this tool. Most mobile browsers do not have an easy view-source option.
Content added by JavaScript after loading is not in the original HTML.
Yes, with no sign-up.
Related tools
Continue with these related webmaster tools.
Meta Tag Generator
Free meta tag generator: create your title tag, meta description, robots and canonical tags with a live Google search preview and character counter.
XML Sitemap Generator
Free XML sitemap generator: crawl your website (up to 5,000 pages) or paste a URL list and download a valid sitemap.xml. Leaves out redirects, errors and noindex pages.
URL Encoder / Decoder
Free URL encoder and decoder: decode percent-encoded URLs or encode text for safe use in web addresses and query strings, and split a URL into its parts.