Get HTTP Headers
FreeSee the exact HTTP response headers a URL returns, with a security, CORS and cookie review.
30 free uses per day
About This Tool
Get HTTP Headers shows the exact response headers a URL sends back, then reviews them. Alongside the raw list you get a security check, a look at how the server handles requests from other websites (CORS), and a review of any cookies it sets.
Headers are invisible when you browse, but they control caching, compression, redirects and a good deal of a site's security. Being able to read them settles a lot of arguments about what a server is really doing.
How Does This Tool Work?
The tool sends a HEAD request so it doesn't have to download the page. If the server refuses that with a 403, 405 or 501, it repeats the request as a normal GET. It also sends an Origin header from a reserved domain nobody owns, to see how the server responds to a website it has never heard of.
How to Use Get HTTP Headers
- 1
Enter the URL
Any public http or https address will do.
- 2
Choose whether to follow redirects
Leave it off to inspect a redirect itself. Turn it on to see the headers of the final page.
- 3
Work through the review
Start with anything marked Fail, then Warning. Info items are optional improvements.
Understanding Your Results
| Result | Meaning | Example | Why it matters |
|---|---|---|---|
| Security summary | A one-line count of the checks passed, warned and failed. | 2 of 7 checks passed · 2 warnings · 3 failed | |
| Security checks | HTTPS, Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, clickjacking protection, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and whether software versions are exposed. | Each result says what was found and what to do about it. | |
| CORS review | How the server answers a request from an unknown website. | A server that reflects any origin while allowing credentials can expose private data to other sites. | |
| Cookie review | Whether cookies set by the response use the Secure, HttpOnly and SameSite attributes. | ||
| Raw headers | Every header exactly as received, so you can check details such as cache-control or content-encoding yourself. |
Example
Reviewing a simple page
ExampleInput
https://example.com/Output
{
"status": 200,
"method": "HEAD",
"securitySummary": "2 of 7 checks passed · 2 warnings · 3 failed",
"security": [
{ "check": "Served over HTTPS", "result": "Pass", "finding": "The connection is encrypted." },
{ "check": "Strict-Transport-Security", "result": "Fail", "finding": "Missing. Browsers may be tricked into loading the site over insecure HTTP…" },
{ "check": "X-Content-Type-Options", "result": "Fail", "finding": "Missing. Add nosniff so browsers don't reinterpret files as a different type…" }
],
"cors": [
{ "check": "Access-Control-Allow-Origin", "result": "Pass", "finding": "Not sent to an unknown site…" }
],
"headers": { "content-type": "text/html; charset=utf-8", "server": "cloudflare", "content-encoding": "br" }
}Shortened for reading. example.com is a static placeholder with little need for these protections, so failures here aren't alarming. On a site with logins or payments, the same failures would deserve attention.
Examples are illustrative demonstrations, not live results — run the tool above for your own data.
Use Cases
Tips for Better Results
Add Content-Security-Policy carefully
A strict policy can break scripts on your site. Start with the Report-Only version and watch what it would block.
Don't advertise software versions
A header like 'Apache/2.4.41' tells attackers exactly which known bugs to try.
Be sure before enabling HSTS
Once browsers receive it, they refuse plain HTTP for that domain until it expires, so make sure HTTPS works everywhere first.
Important Notes
Headers can differ by page, by country and by the kind of visitor, so one result describes one request. This tool reviews headers only. It isn't a vulnerability scan, and passing every check doesn't mean a site is secure.
Frequently Asked Questions
Related Tools
Related Articles
Looking at the rest of the response?
Trace a redirect chain, or measure how heavy a page's HTML is and whether it's compressed.