View page source
The raw HTML behind any public page.
No page handy?
Any page's source, one paste away
Browsers hide view-source behind menus and a view-source: prefix that phones can't even use. Paste a URL here instead: we fetch the page anonymously and hand you the exact HTML the server sends — before JavaScript changes anything.
Want to edit what you found? Open it in the HTML viewer to preview changes, or publish a copy straight from here.
Page source questions
How do I view a web page's source code?
Paste the page's URL and select View source. We fetch the page the way a browser would and show the exact HTML the server sends back, ready to copy or download.
Is this page source viewer free?
Yes. Fetching, copying and downloading are free and need no account. Pages up to 1 MiB are shown in full; larger pages are truncated at that mark.
Why is the source different from what DevTools shows?
This tool shows the HTML the server sends before any JavaScript runs. DevTools shows the live DOM after scripts have modified it, so a single-page app may appear here as little more than a script tag and an empty container.
Can I see the source of a page that needs a login?
No. Pages are fetched anonymously, with no cookies or accounts, so you see exactly what an unauthenticated visitor receives — which for protected sites is usually the sign-in page.
What can I do with the source afterwards?
Copy it, download it as an .html file, or publish a copy to a live URL you can share. Publishing is optional; anonymous links stay live for 30 days.