🌐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 captured automatically by an echo server. To read the response headers of a URL it must allow cross-origin requests (CORS) — what a browser can and cannot see.
Loading your request headers…

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.

Headers are invisible to users but decide a surprising amount of behaviour: whether a page may be embedded in an iframe, how long a CDN keeps a file, which origins may call an API, and whether the browser will ever load the site over plain HTTP again.

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 findings in penetration tests, and the cheapest to fix — most are a single line of server configuration. The headers checked by the Security Analysis tab, with a safe starting value for each:

HeaderProtects againstRecommended starting value
Strict-Transport-SecuritySSL stripping and accidental HTTP loadsmax-age=31536000; includeSubDomains (add preload once everything works over HTTPS)
Content-Security-PolicyCross-site scripting (XSS), injected scripts and stylesStart with default-src 'self' in report-only mode, then allow what the reports show you need.
X-Frame-OptionsClickjacking (your site embedded in an invisible iframe)DENY or SAMEORIGIN; the modern equivalent is CSP frame-ancestors.
X-Content-Type-OptionsMIME-type sniffing turning uploads into executable scriptsnosniff
Referrer-PolicyLeaking full URLs (with tokens or IDs) to third partiesstrict-origin-when-cross-origin
Permissions-PolicyUnwanted use of camera, microphone, geolocation, payment APIscamera=(), microphone=(), geolocation=()
Cross-Origin-Opener-PolicyCross-window attacks such as Spectre-style leaks and tab-nabbingsame-origin
Cross-Origin-Resource-PolicyOther sites hot-linking or reading your resourcessame-site (or cross-origin for public assets)

What this tool can and cannot see from a browser

Common header problems and what they look like

Console or browser messageHeader involvedFix
"blocked by CORS policy: No 'Access-Control-Allow-Origin' header"Access-Control-Allow-OriginHave the API return the calling origin (not * if cookies are involved) and answer OPTIONS preflights.
"Refused to display … in a frame"X-Frame-Options / CSP frame-ancestorsIntentional on most sites; allow specific parent origins with frame-ancestors https://partner.example if embedding is required.
"Refused to load the script … violates Content Security Policy"Content-Security-PolicyAdd the script's origin to script-src, or move inline code to a file; avoid 'unsafe-inline'.
Site keeps redirecting to HTTPS after you disabled itStrict-Transport-SecurityBrowsers remember HSTS for max-age seconds; clear it in chrome://net-internals/#hsts and lower the value before testing.
Old file served after a deployCache-Control / ETagFingerprint asset filenames and send Cache-Control: no-cache for HTML, long max-age, immutable for hashed assets.

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. The Response Headers tab shows the exact CORS headers returned by any URL that permits cross-origin reads, helping you diagnose cross-origin issues without needing to write test code.

HTTP headers questions

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.
Browser security (CORS) restricts which response headers JavaScript can access. A site has to opt in with Access-Control-Allow-Origin, and even then only a few safelisted headers are visible unless it also sends Access-Control-Expose-Headers. Some headers like Set-Cookie and Authorization are never exposed to JavaScript. To see all headers for a URL, use browser DevTools (F12 → Network tab) or a command-line tool like curl.
Request headers travel from your browser to the server and describe the client and what it wants: User-Agent, Accept-Language, Cookie, Authorization. Response headers travel back and describe the answer and how to treat it: Content-Type, Cache-Control, Set-Cookie and the security headers above. Some names, such as Content-Type and Content-Length, appear in both directions.
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!