🌐My IP Address πŸ”ŒPort Checker πŸ”DNS Lookup πŸ“‹WHOIS Lookup πŸ”’SSL Checker πŸ—ΊοΈIP Location Map πŸ“‘HTTP Headers ⚑Latency Test πŸ–₯️User Agent πŸ”’IPv6 Detector
Request Headers Β· Security Headers Β· CORS

HTTP Headers Checker

Inspect your browser's HTTP request headers exactly as servers see them. Check security headers, analyze response headers from any URL, and identify missing security configurations.

HTTP Headers Inspector
Your request headers are shown automatically. To check response headers from a URL, enter it below.
Loading your request headers…
Advertisement

What are HTTP headers?

HTTP headers are key-value pairs sent between clients (browsers) and servers with every HTTP request and response. Request headers tell the server about the client β€” its browser, accepted languages, cookies, and authentication tokens. Response headers tell the browser how to handle the content β€” caching rules, content type, security policies, and CORS settings.

Why do security headers matter?

Security headers protect your web application from common attacks. Missing or misconfigured security headers are one of the most common web vulnerabilities. Key headers include:

More free developer tools

HTTP security headers checklist

Every production web application should implement these security headers: Content-Security-Policy (CSP) β€” prevents XSS by specifying allowed content sources. Strict-Transport-Security (HSTS) β€” forces HTTPS connections. X-Frame-Options β€” prevents clickjacking. X-Content-Type-Options: nosniff β€” prevents MIME sniffing attacks. Referrer-Policy β€” controls referrer information sent with requests.

Missing or misconfigured security headers are consistently among the top web vulnerabilities. Use this HTTP headers checker to verify your security header configuration and identify gaps before attackers do.

What is CORS and how do CORS headers work?

CORS (Cross-Origin Resource Sharing) headers control which external domains can make requests to your API or web service from a browser. The key headers are: Access-Control-Allow-Origin (which domains can access the resource), Access-Control-Allow-Methods (which HTTP methods are allowed), and Access-Control-Allow-Headers (which request headers are permitted).

CORS errors are one of the most common issues when building frontend applications that connect to APIs. This tool shows the exact CORS headers returned by any URL, helping you diagnose cross-origin issues without needing to write test code.

Advertisement

HTTP headers questions

What is the most important security header to add?
β–Ύ
Strict-Transport-Security (HSTS) is arguably the most critical β€” it forces all connections to use HTTPS and prevents SSL stripping attacks. For most sites, adding "Strict-Transport-Security: max-age=31536000; includeSubDomains" provides immediate security improvement. Content-Security-Policy is more complex to configure but provides the most comprehensive XSS protection.
Why can't I see all response headers?
β–Ύ
Browser security (CORS) restricts which response headers JavaScript can access. Some headers like Set-Cookie and Authorization are never exposed to JavaScript for security reasons. To see all headers for a URL, use browser DevTools (F12 β†’ Network tab) or a command-line tool like curl.
What is CORS and why does it matter?
β–Ύ
CORS (Cross-Origin Resource Sharing) is a browser security mechanism that controls which origins can make requests to your API. The Access-Control-Allow-Origin header tells browsers which domains are allowed to read your responses. Misconfigured CORS (like using wildcard * on authenticated endpoints) can expose sensitive data to malicious sites.
Copied!