Free HTML Source Viewer
Viewing a page's source is basic SEO reconnaissance — but a web page can't fetch another site's HTML for you (CORS would make that a security nightmare). NToolHub's HTML Source Viewer gives you the legitimate workaround: a drag-to-bookmarks source-viewer bookmarklet plus a view-source: URL opener for Chromium and Firefox.
How to Use the HTML Source Viewer
- Copy the bookmarklet code above.
- Create a new bookmark in your browser and paste the code as its URL.
- Visit any page and click the bookmark — its source opens in a new tab.
- Alternatively, paste a URL below and hit Open view-source:.
Features
Copy-ready bookmarklet code that opens view-source: for whatever page you're on, one-click view-source: opener for any pasted URL, and clear setup instructions — no extensions, no fake fetches.
Benefits & Use Cases
You inspect real, current page source — including the exact HTML Google sees — with a one-click tool that works on any site, behind logins included, since it runs with your own browsing privileges.
Tips
Use view-source: to audit meta tags, schema and heading structure; remember it shows initial HTML (not JS-rendered DOM — use DevTools Elements for that); keep the bookmarklet on your bookmarks bar permanently.
Frequently Asked Questions
Why can't this tool fetch the HTML for me?
A page fetching and displaying another site's raw HTML would be a cross-site data leak — browsers block it via CORS. The bookmarklet runs with your own page privileges instead, which is both legitimate and more powerful.
How do I install the bookmarklet?
Copy the code, create a new bookmark, paste the code as the bookmark's URL. Click it on any page to open that page's source in a new tab.
Does view-source work in all browsers?
Chrome, Edge and Firefox support view-source:. Safari doesn't — use Develop → Show Page Source instead.
view-source vs DevTools Elements — what's the difference?
view-source: shows the raw HTML the server sent (what crawlers get); DevTools Elements shows the live DOM after JavaScript runs. SEOs need both.
Related Tools
Page Size Checker
Measure HTML page size with a real in-browser gzip transfer-size estimate. Free Page Size Checker — performance insights for better SEO, no sign-up.
Open tool →HTTP Header Checker
HTTP Header Checker helper: real curl commands plus SecurityHeaders.com scans. Honest header inspection walkthrough — free, no sign-up needed.
Open tool →Meta Tag Generator
Generate SEO and social meta tags with NToolHub’s free tool. Title, description, Open Graph, Twitter cards — copy-ready HTML head code.
Open tool →Heading Analyzer
Analyze H1–H6 heading structure: hierarchy outline, counts and SEO issues flagged. Free Heading Analyzer by NToolHub — instant audit, no sign-up.
Open tool →Web Manifest Checker
Validate your PWA manifest JSON with 10 installability checks, scored. Free Web Manifest Checker — paste your JSON and verify instantly, no sign-up.
Open tool →