Webpage Source Viewer
View webpage source with custom UA, Referer, Cookie and POST parameters, or extract text, forms and links
Note: This tool will send network requests to the entered URL to fetch source code.
How to use
What is this tool?
This tool fetches HTML source from a target URL and can extract plain text, form elements or link lists when needed.
Key features
- Customize User-Agent, Referer, Cookie and POST parameters to simulate different clients
- View raw source, extract text, form elements and links
- Optional response headers for status and cache inspection
- Multiple encodings with optional code highlighting
Steps
1
Enter a full URL starting with http:// or https://
2
Select or customize User-Agent and fill optional parameters
3
Choose display content, encoding and highlight options
4
Click 'View Source', then copy or download the result
FAQ
Why can’t I fetch some pages?
Some sites block crawlers or require login. Try a different UA, provide Referer/Cookie, or retry later.
What POST formats are supported?
Both form-encoded strings and JSON (object or array) are supported.
Is my data uploaded to the server?
The server performs the fetch on your behalf. Provided URL/headers are used only for that request and are not stored.
Tips
- Use results for learning and debugging, and respect target site policies.
- Choose 'Extract links' to get a quick URL list from the page.
- Switch to a mobile UA when you need the mobile layout source.