Quick answer
To check HTTP headers, enter a URL and click Check headers. The tool requests the page like a browser, follows any redirects and shows the status code of every hop, the final response headers, the server's IP, page size and compression, and a security header report for Strict-Transport-Security, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy — each marked present or missing with an explanation.
- Shows:
- All response headers
- Status:
- Code for each redirect hop
- Security check:
- HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy
- Performance:
- Compression and response size
- Server:
- IP address and server software
- Protocols:
- HTTP and HTTPS
- Account:
- Not required
- Price:
- Free
Every time a browser loads a page, the server answers with a set of HTTP headers before the content itself. These short lines of text carry crucial instructions: the status of the request (200 OK, 301 redirect, 404 not found), what type of content follows, how long browsers and CDNs may cache it, whether it is compressed, which cookies to set and — increasingly important — security rules that protect visitors from attacks.
Headers are invisible in the browser window, yet they affect SEO, speed and security. A wrong status code can stop Google indexing a page. Missing cache headers make repeat visits slow. A missing Strict-Transport-Security header leaves visitors open to downgrade attacks, and a missing X-Frame-Options or CSP frame rule allows clickjacking.
Our HTTP headers checker shows them all. Enter any URL and the tool follows the full redirect chain, listing the status code of every hop, then displays the final response headers in a clean table. A dedicated security panel checks the six most important security headers and explains what each one does and why it matters.
It is the fastest way for developers, SEOs and site owners to verify server configuration after a change.
How to check HTTP headers – step by step
- 1 Enter the URLPaste the full address, including https://, or just the domain.
- 2 CheckClick Check headers. The request and any redirects are traced in a few seconds.
- 3 Review the status codesConfirm the final page returns 200 and redirects use 301 where they should.
- 4 Read the headersCheck content-type, cache-control, content-encoding and server headers.
- 5 Fix security gapsLook at the security panel; add any missing headers using the explanations provided.
Why use this HTTP headers checker?
Complete header list
Every response header in a readable table.
Redirect chain
Status code for each hop to the final URL.
Security audit
Six key security headers checked and explained.
Compression check
See whether gzip or Brotli is enabled.
Server details
IP address, server software and response size.
Free and instant
No sign-up, works for any public URL.
HTTP status codes you will see
| Code | Meaning | SEO impact |
|---|---|---|
| 200 OK | The page loaded normally | Indexable |
| 301 Moved Permanently | Permanent redirect | Passes signals to the new URL |
| 302 / 307 Found / Temporary | Temporary redirect | Original URL may stay indexed |
| 304 Not Modified | Cached copy still valid | Normal for repeat requests |
| 403 Forbidden | Access denied | Not indexable |
| 404 Not Found | Page does not exist | Dropped from the index over time |
| 410 Gone | Removed permanently | Dropped faster than 404 |
| 500 / 503 | Server error / unavailable | Crawling slows; persistent errors hurt rankings |
Security headers explained
- Strict-Transport-Security (HSTS) — tells browsers to always use HTTPS for your site, preventing downgrade and cookie-hijacking attacks. Example:
max-age=31536000; includeSubDomains. - Content-Security-Policy (CSP) — lists which sources of scripts, styles, images and frames are allowed, the strongest defence against cross-site scripting (XSS). Start with a report-only policy to avoid breaking your site.
- X-Frame-Options —
SAMEORIGINorDENYstops other sites embedding yours in a frame, preventing clickjacking. CSP'sframe-ancestorsis the modern equivalent. - X-Content-Type-Options —
nosniffstops browsers guessing file types, blocking some injection attacks. - Referrer-Policy — controls how much of your URL is shared with other sites when visitors click links;
strict-origin-when-cross-originis a sensible default. - Permissions-Policy — turns off browser features your site does not use, such as camera, microphone or geolocation.
How to add security headers
On Apache and LiteSpeed hosting (most shared hosts), add lines to your .htaccess file, for example Header always set X-Content-Type-Options "nosniff". On nginx, use add_header directives in the server block. On Cloudflare, use Transform Rules to add response headers. WordPress users can use a security plugin that sets headers. Always test after changes — a strict CSP can block legitimate scripts like analytics or payment widgets. Generate redirect rules for .htaccess with our .htaccess Redirect Generator.
Caching and compression headers
Cache-Control tells browsers and CDNs how long to keep a file. Static files such as images, CSS and JavaScript with versioned file names can be cached for a year (max-age=31536000, immutable), while HTML pages are usually cached briefly or revalidated. Content-Encoding: gzip or br shows that text is compressed — typically 60–80% smaller — which speeds up loading. If compression is missing, enable it in your hosting panel, .htaccess or server configuration. Shrink files further with our HTML, CSS and JS minifiers.
Headers that matter for SEO
Besides status codes, check X-Robots-Tag — a noindex value here hides the page from Google even if the HTML looks fine. Link headers can declare canonical URLs for PDFs and other files. Content-Type must match the content (text/html for pages). Vary: User-Agent or Accept-Encoding affects caching. For a complete on-page check, run our SEO Report, and trace redirect paths in detail with the Redirect Checker.
Understanding cookies in headers
The Set-Cookie header creates cookies in the visitor's browser. Each cookie should carry the right attributes. Secure means it is only sent over HTTPS. HttpOnly hides it from JavaScript, which protects session cookies from theft through cross-site scripting. SameSite (Lax or Strict) limits when the cookie is sent with requests from other sites, defending against cross-site request forgery. Login and session cookies should always have all three. If you see session cookies without them in the headers here, ask your developer or host to update the application or server configuration. Also review how many cookies your site sets before consent; privacy laws in many regions require consent for non-essential cookies such as analytics and advertising.
A quick header checklist for site owners
When you launch a site or move it to new hosting, run this checker on the home page and one inner page and confirm the basics. The final status should be 200 and any redirect from http or www should be a single 301. Content-Type should be text/html with UTF-8. Compression should be gzip or Brotli. HSTS should be present once HTTPS works everywhere. X-Content-Type-Options should be nosniff, and either X-Frame-Options or a CSP frame-ancestors rule should stop framing. Referrer-Policy should be set. Server version numbers should be hidden. Fixing these takes minutes and closes the most common gaps that security scanners and audits report.
Information leakage
Headers such as Server: Apache/2.4.41 (Ubuntu) or X-Powered-By: PHP/7.4.3 reveal exact software versions, which helps attackers find known vulnerabilities. It is good practice to hide version numbers (for example ServerTokens Prod in Apache, server_tokens off in nginx, expose_php = Off in PHP). It does not make an outdated server safe — keeping software updated does — but it removes an easy clue.
Troubleshooting
- "Could not connect". The server may be down, block automated requests or use a non-standard port.
- Different headers in my browser. Browsers send cookies and different request headers; CDNs may return different responses by location or device.
- Security headers missing on some pages. Headers set in application code may only apply to certain routes; set them at server level.
- Too many redirects. Check for loops between http/https or www/non-www rules.
Frequently asked questions
What are HTTP headers?
Lines of information a server sends before the page content, describing status, content type, caching, security and more.
How do I check a website's headers?
Enter the URL and click Check headers to see the status code and all response headers.
Which security headers should every site have?
HSTS, Content-Security-Policy, X-Frame-Options (or frame-ancestors), X-Content-Type-Options, Referrer-Policy and Permissions-Policy.
What is HSTS?
Strict-Transport-Security tells browsers to always use HTTPS for your site.
How do I add security headers in WordPress?
Use a security plugin or add rules to .htaccess or your server configuration.
Does the tool follow redirects?
Yes. It shows the status code of every hop and the final headers.
Why is compression important?
Gzip or Brotli makes text files much smaller, so pages load faster.
Can headers stop Google indexing my page?
Yes. An X-Robots-Tag: noindex header blocks indexing.
Is the headers checker free?
Yes. No sign-up required.
Should I hide the Server header?
Hiding version numbers is good practice, but keeping software updated is what really matters.
Can I check API endpoints?
Yes, for public URLs that respond to normal GET requests.
What does a 304 status mean?
The server says the browser's cached copy is still valid, so it does not send the content again. It is normal and saves bandwidth.
Why does my site return 403 to the checker?
A firewall or security plugin may block automated requests. Check the security settings or allow normal crawler traffic.
Last updated November 21, 2026 · Written and tested by the SmallEasyTools team.