Skip to content

View Page Source: Any URL, Formatted & Searchable

To view page source, enter any URL: we fetch the HTML the server sends — before JavaScript runs — and show it with line numbers, search, copy and download, formatting minified pages so they're readable. The SEO tags (title, description, robots, canonical, Open Graph, JSON-LD) are listed with the line where each one appears.

Try:

We fetch the page from our server as a desktop browser and show the response (up to 1 MB). Minified HTML gets line breaks between tags for reading; the content is unchanged and nothing is executed. Free, no signup. Updated Oct 24, 2026 by the AEOeye team.

This viewer shows the HTML the server sent, with line numbers down the side and a search box that highlights matches. Many sites serve minified HTML — a whole page on a few lines — so we put each tag on its own line; the content stays exactly the same. It also works on phones and tablets, where browsers hide the view-source option.

Copy the whole document or download it as source.html to diff against another version.

Close-up of colorful programming code displayed on a computer monitor with a dark background.
Photo by Nemuel Sereti on Pexels

Source Code Viewer: Find Meta, Canonical and Scripts Fast

Above the source, we list the tags that matter for search and the line each one starts on: title, meta description, meta robots, canonical, hreflang, og:title, og:image, twitter:card, viewport and JSON-LD blocks. If a tag says "not found", it isn't in the raw HTML.

Most big sites have the basics in place. In our October 2026 analysis of 315 homepages (dataset), 94.3% had a canonical tag, 98.4% had a title and 74% had at least one JSON-LD block.

Why is "view source" different from "inspect element"?

View source is what the server sent; inspect element is the page after JavaScript has changed it. Search engines and AI crawlers start from the source. Googlebot renders JavaScript later, but Google recommends keeping important content in the initial HTML, and many AI crawlers never run JavaScript at all.

If your main text, links or structured data appear only in "inspect element", crawlers may not see them.

Close-up of HTML code lines highlighting web development concepts and techniques.
Photo by Pixabay on Pexels

What should I look for in the source?

Start with the head, then check that the body actually contains your content:

  1. One title and one meta description, matching what you expect in search.
  2. A canonical pointing to the URL you want indexed.
  3. No stray noindex in a robots meta tag.
  4. JSON-LD that parses — test it in the schema validator.
  5. Your main text in the body, not just an empty app shell.

To compare what Googlebot receives with what a browser receives, use the Googlebot simulator. For the rendered version Google itself sees, run the URL Inspection tool in Search Console.

One page checked. What about the rest of your site?

The free SEO audit crawls your site and scores ~90 checks across 7 areas — with the evidence and the fix for each problem.

Free · no account · crawls up to 20 pages and runs Google PageSpeed Insights. Usually 60–90 seconds.

FAQ

How do I view page source on a phone?

+

Mobile browsers mostly hide view-source. Enter the URL in this tool instead; it fetches the HTML and shows it with line numbers and search on any screen size.

Why is the source different from what I see in my browser?

+

The source is the HTML before JavaScript runs. Your browser then executes scripts that add or change content. Crawlers that don't render JavaScript only see the source.

Can I view the source of any website?

+

Any public URL that returns a response to our server. Pages behind a login, or sites that block automated requests, will show the error or challenge page they send instead.

Sources

Related free tools

All crawling & indexing tools