HTTP Header Checker

Header grade link for this URL—
Site to check—
How it works—

How HTTP Header Checker is calculated: This page opens securityheaders.com with your URL pre-filled (securityheaders.com/?q={url}&followRedirects=on) — a browser page cannot fetch another site's headers because of CORS, so the grade comes from Scott Helme's free checker.

What is an HTTP header checker?

HTTP headers are the invisible instructions a web server sends with every page. They tell the browser how to behave: whether to insist on HTTPS, whether other sites may frame the page, whether scripts may load from other domains, and what the browser may tell other sites. You never see them on screen, but they decide a large part of how safe a visit is.

The headers that matter most have plain jobs. Strict-Transport-Security tells browsers to use HTTPS only and never fall back to plain HTTP. Content-Security-Policy lists where scripts, styles, and images may come from. X-Frame-Options stops other sites framing the page in a hidden window. X-Content-Type-Options stops browsers guessing file types, and Referrer-Policy controls what the browser reveals to other sites.

This page checks any URL through securityheaders.com, the free checker built by security researcher Scott Helme. Type a URL, click the button, and the grade opens in a new tab with your URL already filled in. There is nothing to install and no account to create, and the check itself runs on securityheaders.com, not on this page.

How this HTTP header checker works

This page does not fetch the headers itself, and it is honest about that. A browser page cannot fetch another site's headers because of CORS — the browser blocks cross-site reads by design, so a page that claimed to show another site's headers without leaving the page would be lying or using a hidden server. The grades here come from securityheaders.com, which fetches the headers from its own servers.

What this page does is build the securityheaders.com link for your URL. You type a URL — https://sortrun.com, for example — and the page adds https:// if you left it out and strips any # fragment you pasted by accident. Click the button and two things happen: the results box shows the full link, and the grade opens in a new tab on securityheaders.com.

The link pattern is the whole method: securityheaders.com/?q= followed by your URL, with followRedirects=on so the checker follows redirects to the final page instead of grading the redirect itself. Securityheaders.com reads that part of the URL as the site to test, so the grade loads without you typing anything twice.

Your URL never leaves your browser except in the tab you open yourself. Nothing is uploaded, nothing is stored, and the grading runs on securityheaders.com. If the tab is blocked, check your pop-up blocker — the link in the results box opens the same grade when clicked.

The headers that decide the grade

Strict-Transport-Security, or HSTS, is the single most valuable header for most sites. It tells browsers to use HTTPS for this site for a set time, usually a year or two, and to refuse plain HTTP entirely. Without it, a visitor can be downgraded to an unencrypted connection on a hostile network. With it, the browser will not even try.

Content-Security-Policy is the most powerful header and the hardest to get right. It is a list of allowed sources for scripts, styles, images, and frames. A tight policy blocks injected scripts outright, which is why it stops most cross-site scripting attacks cold. A loose policy of default-src * is barely better than none, and securityheaders.com says so in the grade.

The framing and sniffing headers are smaller but still graded. X-Frame-Options with DENY or SAMEORIGIN stops clickjacking, where a page is framed invisibly and the visitor clicks something they cannot see. X-Content-Type-Options with nosniff stops the browser guessing that a file is a script when the server said it was something else. Permissions-Policy, the newer header, switches off browser features a site does not use, like the camera and microphone.

A worked example: checking sortrun.com

Take https://sortrun.com, the site this page runs on. Type it into the box and click Check Headers. The results box shows the destination — https://securityheaders.com/?q=https%3A%2F%2Fsortrun.com&followRedirects=on — the site to check, sortrun.com, and the note that the grade opens in a new tab. The tab opens at the same moment.

On the securityheaders.com page, each header gets its own line with a pass or fail, and the site gets a grade from A+ down to F. A site with HSTS, a real Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, and a Referrer-Policy scores an A or A+. A site missing most of them lands around D or F, which is where most of the web still sits.

Try the same check on a site you run. If the grade is low, the report itself tells you which header is missing and what value to add — the fix is usually one line in the server or hosting config, and a re-check after deploying shows the new grade at once. That loop, check, fix, re-check, is the whole workflow.

Who uses header checks, and why

Site owners use header checks after every launch and every hosting move. A new server, a new CDN, or a new framework can silently drop headers that the old setup sent, and the grade is the fastest way to catch it. A check that takes ten seconds can save a week of wondering why the padlock looks fine but the site still fails a security review.

Developers use the grade as a checklist before shipping. Headers are easy to forget because nothing on the page looks different when they are missing — the site works exactly the same with or without them. The grade makes the invisible visible, and a team that checks it in the release checklist never ships a site with no HSTS by accident.

Security reviewers and auditors use the same grade as a first pass on any site they are asked about. It is not a full audit — it says nothing about the code, the passwords, or the server patches — but a site scoring F on headers is a site that has not thought about browser-side security at all. Pair the grade with an SSL checker for the certificate side, and the two together cover the connection and the browser policy.

HTTP header checker vs SSL checker: different jobs

A header checker and an SSL checker both protect visitors, but they guard different things. The SSL checker tests the connection: is the certificate valid, are the TLS versions modern, is the encryption strong. The header checker tests the browser policy: once the encrypted connection exists, what is the browser told to do with it.

A site needs both, and one cannot cover for the other. A perfect A+ certificate does nothing if the page can be framed by an attacker or if any script from anywhere may run on it. Tight headers do nothing if the connection itself is unencrypted and the headers can be stripped in transit. Security is a stack, and each layer has its own tool.

Use the header checker when the question is about the page's policy: is HSTS set, is there a Content-Security-Policy, can the page be framed. Use the SSL checker when the question is about the connection: did the certificate install correctly, is it still valid, did the host change anything. For the domain itself, a WHOIS checker shows who registered it and when it expires.

Common mistakes with HTTP headers

The first mistake is thinking HTTPS alone is enough. HTTPS encrypts the connection, but it does not tell the browser what to allow on the page. A site over HTTPS with no Content-Security-Policy will still run any injected script, and a site with no X-Frame-Options can still be framed. Encryption and policy are separate jobs.

The second mistake is copying a Content-Security-Policy from a tutorial without testing it. A policy that blocks a script the site actually needs breaks the site — buttons stop working, fonts vanish, videos refuse to load. Always test the policy on a staging copy first, and watch the browser console for blocked resources before pushing it live.

The third mistake is setting HSTS with a short max-age, or forgetting includeSubDomains. A max-age of a few minutes is barely a promise, and without includeSubDomains the subdomains stay unprotected. The other way round is also a mistake: a long HSTS on a site that still needs plain HTTP for some subdomain locks visitors out of it. Decide the scope first, then set the header.

The fourth mistake is grading the wrong URL. A check of the bare domain can score differently from a check of the www version, because redirects and hosting rules often apply to one and not the other. This page turns followRedirects on for that reason — the grade follows the redirect to the final page — but if your site serves different headers on different paths, check each path that matters.

How to use this HTTP header checker

Type the URL you want to check — just the address, like https://sortrun.com. If you paste a bare domain, the page adds https:// for you. Then click Check Headers.

Two things happen on that click. The results box shows the securityheaders.com link, the site, and a note explaining that the grade opens in a new tab. The securityheaders.com grade opens at the same time, with your URL already filled in — no typing twice.

Read the grade first, then the per-header lines. Each missing header has a suggested value next to it, and the fix is usually one line in your server config or hosting dashboard. After changing anything, come back and re-check — the grade updates on every fresh check. If a URL in your content needs cleaning up first, a URL encoder decoder sorts out the odd characters before you paste it here.

Nothing you type is uploaded or stored, and the grading runs on securityheaders.com. Use the checker as often as you like, for sites you own and sites you are curious about. Once a year, run it on every site you run and write the grades down next to the certificate expiry dates.

Frequently Asked Questions

Because a browser page cannot fetch another site's headers. CORS blocks cross-site reads by design, so no page can read headers from a different site directly. This page builds the securityheaders.com link with your URL pre-filled, and securityheaders.com — Scott Helme's free checker — fetches the headers from its own servers and grades them.

A or A+. That means HSTS with a long max-age, a real Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, and a Referrer-Policy. Most sites start at D or F, and each missing header the report names is usually a one-line fix in the server config. A+ needs a tight policy too, not just the easy headers.

Yes. A header check only reads public information — the headers a server sends to every visitor. It does not log in, does not access private data, and does not change anything on the tested server. Checking a competitor's grade is as normal as checking their homepage.

The new host or CDN is probably not sending the headers the old one did. Headers live in the server or CDN config, not in the page, so a move can drop them silently. Re-check, read which headers the report now marks missing, add them in the new host's dashboard or config, and re-check to confirm the grade came back.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.