About ViewSource.net
ViewSource.net is a free tool that shows the HTML source of any public web page, in any browser, on any device. Paste a URL and you get the page's source with syntax highlighting, a formatted view, and copy and download buttons. The site also has 14 guides to viewing and understanding source code.
Why it's useful
Reading a page's source is easy in a desktop browser and awkward on a phone, where browsers hide the option or leave it out altogether. ViewSource.net does the same job from any browser, with nothing to install.
How the tool works
When you submit a URL, our server requests that page and streams the response back to your browser.
- It shows the HTML the server sends, before any JavaScript runs. Pages built in the browser can look almost empty.
- It follows up to five redirects, waits 15 seconds for a response, and stops at 5 MB.
-
It identifies itself as
ViewSource.net Bot/1.0and sends no cookies, so you see what an anonymous visitor would get. Some sites block it. - It can only reach public addresses, not private networks.
- We don't keep the URLs you submit or the source we return. Our privacy policy has the details.
How the guides are written
Our guides are written with the help of AI tools. Each one shows the date it last changed, and that date only moves when the guide itself changes. Browsers change their menus and shortcuts often, so if a step doesn't match what you see, please tell us.
How the site is funded
ViewSource.net is free and has no paid plan. It currently carries no advertising and no affiliate links. If that changes, this page and our privacy policy will say so.
Who publishes it
ViewSource.net is published by S5 Ltd, an independent company that builds and runs a portfolio of reference sites, tools and software across Ireland, the UK and the US. S5 Ltd is registered in England and Wales, company number 16842049, registered office 20 Wenlock Road, London, N1 7GU.
Something wrong?
Email hello@viewsource.net or use our contact page and it gets fixed.