Skip to content
Gridlode

View a page's HTML source

Fetch the raw HTML of any public page with its final URL, status code, redirect chain and key headers such as X-Robots-Tag and Last-Modified.

Try . Free, no account needed.

Need this at scale?

The same lookup is one API call at 1 credit / request (one credit is $0.0003 to $0.001 depending on volume), with failed requests free.

cURL
curl "https://api.gridlode.com/v1/url/html?url=https%3A%2F%2Fexample.com" \
  -H "Authorization: Bearer $GRIDLODE_KEY"

FAQ

Why does the HTML differ from what my browser shows?

Browsers run JavaScript that can change the page after it loads. This tool shows the HTML exactly as the server sent it, which is also what most crawlers see first. The API can also render JavaScript with render=true.

More free tools