HomeWebpage Source Viewer

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.



Documentation

What is Webpage Source Viewer

Webpage Source Viewer requests a target URL and shows the returned content. It can display full HTML, plain text, form fragments, or link lists. You can customize User-Agent, Referer, Cookie, POST payload, encoding, and highlighting to debug request behavior and response differences.

Key Features

  • Request a URL and inspect returned source content.
  • Switch between common UA presets (desktop, mobile, WeChat, QQ, search engines).
  • Add Referer, Cookie, and POST data to simulate real requests.
  • Extract text-only, forms-only, or links-only results.
  • Copy or download output for troubleshooting and archiving.

Steps

  1. Enter the target URL.
  2. Configure UA, Referer, Cookie, POST data, and encoding if needed.
  3. Choose content mode (all/text/forms/links) and click View.
  4. Review the output and use Copy or Download if needed.

FAQ

Why can some sites not return full source?

Some sites use anti-bot controls, authentication, geo restrictions, or dynamic rendering, which can lead to incomplete or blocked responses.

What is the difference between text, links, and forms extraction?

Text extraction focuses on readable content, links extraction collects a[href], and forms extraction keeps form-related nodes like form/input/select/textarea.

How should I choose encoding and highlight options?

Use the encoding that matches the target site. Highlighting only changes presentation and does not alter the original response data.