About the Source Code Viewer
View-source is easy on a desktop browser and awkward everywhere else. This page fetches the URL from our edge and shows the exact bytes the server returned, before any JavaScript ran, which is also what search engine crawlers see on their first pass. A comment at the top records the final URL after redirects, the status code, the content type, the size and the fetch time. Bodies larger than 512 KB are cut at that point and marked.
Because the fetch happens without your cookies, a page that needs a login will show its login form or a redirect instead of the content. That is a feature when you want to know what a logged-out visitor or a bot receives: whether the title and meta description are in the HTML, whether the canonical tag is right, whether the structured data is present, or whether the page is an empty shell that only fills in after scripts run.
Only the URL you enter is fetched; the HTML is returned to you and nothing is stored. Private addresses are refused. Press Download to save the source, or paste it into the HTML formatter to indent it.
How to use
- Paste the page URL and press Fetch source.
- Read the comment on the first line for the status, type and size.
- Use Download to save the HTML, or Copy and paste it into another tool.
Common questions
- Why is the source different from what I see in the browser?
- Browsers show the DOM after scripts have run; this is the server's original HTML. Single-page apps often send a near-empty document that scripts fill in.
- Can it fetch pages behind a login?
- No. The request carries no cookies or credentials, so you get whatever an anonymous visitor gets.
- Is there a size limit?
- Yes, 512 KB of body. The header comment says when the output was cut.