Skip to main content

HTTP Headers Inspector

Paste any URL to fetch its HTTP response headers. Each header is explained in plain English, tagged by category, and scored for security coverage.

✓ 60K+ developers trust DevPlaybook ✓ Security header scoring ✓ No sign-up required

Frequently Asked Questions

What are HTTP response headers?▼

HTTP response headers are metadata sent by a server alongside the response body. They control caching (Cache-Control, ETag), security (Content-Security-Policy, Strict-Transport-Security), content type (Content-Type), CORS (Access-Control-Allow-Origin), and more. Every HTTP response includes headers — understanding them is essential for debugging APIs and web applications.

What security headers should every site have?▼

The essential security headers are: Strict-Transport-Security (HSTS) to enforce HTTPS, Content-Security-Policy (CSP) to prevent XSS, X-Content-Type-Options: nosniff to stop MIME sniffing, X-Frame-Options or frame-ancestors CSP to prevent clickjacking, and Referrer-Policy to control referrer leakage. Missing any of these is a common finding in security audits.

What is CORS and how do I debug it?▼

CORS (Cross-Origin Resource Sharing) controls which domains can make requests to your API from a browser. The key headers are Access-Control-Allow-Origin, Access-Control-Allow-Methods, and Access-Control-Allow-Headers. CORS errors appear in the browser console when a frontend on one domain calls an API on another. Use this tool to check whether the API returns the correct CORS headers.

What does the Cache-Control header do?▼

Cache-Control tells browsers and CDNs how to cache a response. Common directives: max-age=3600 (cache for 1 hour), no-cache (revalidate before using cached copy), no-store (never cache — use for sensitive data), public (CDNs can cache), private (only the browser can cache). Misconfigured caching is a top cause of stale content bugs.

How do I check if a site uses HSTS?▼

Inspect the response headers for Strict-Transport-Security. A proper HSTS header looks like: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload. This tells browsers to always use HTTPS for the domain. The preload directive registers the domain in browser HSTS preload lists for even stronger protection.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

CORS Policy Builder OpenAPI Validator HTTP Status Code Reference API Request Builder API Response Mock Generator HTTP Status Code Reference HTTP Status Code Lookup HTTP Status Code Lookup API Response Time Tester HTTP Methods Reference CORS Header Analyzer OpenAPI Schema Validator CORS Policy Tester OpenAPI Mock Generator API Test Case Generator HTTP Headers Analyzer API Response Formatter & Analyzer HTTP API Tester HTTP Security Headers Generator HTTP Status Code Reference CORS Policy Validator HTTP Header Analyzer API Mock Server Config Generator REST API Request Builder HTTP Security Headers Checker API Response Mocker API Rate Limit Calculator CORS Tester CORS Header Tester HTTP Code Snippet Generator HTTP Mock Response Builder LLM Cost Calculator HTTP Cache-Control Builder AI Prompt Cost Calculator HTTP/2 Server Push Headers Builder Mock Service Worker (MSW) API Mocking Guide Content Security Policy Builder LLM Prompt Cost Calculator HTTP Header Inspector AI Rate Limit Calculator HTTP Cache Header Builder Prompt Injection Tester GCP Service Account Key Auditor API Key Generator AI Doc Generator — Pro Tool AI System Guardian curl Command Builder Docker Compose Generator .htaccess Generator JSON Diff Viewer JSON Diff nginx Config Generator Password Strength Checker Developer Utilities Dockerfile Generator Rate Limiter Tester API Changelog Generator CSP Header Builder Rate Limit Calculator Webhook Tester AWS IAM Policy Validator Haproxy Config Validator Caddy Caddyfile Generator HTTP Cookie Parser HAR Diff Analyzer SBOM Generator Vue Component Generator CI/CD Pipeline Generator LLM Context Window Calculator LLM Token Counter Dockerfile Linter SSL Certificate Checker Prompt Token Estimator nginx Config Builder Pulumi Modern IaC Guide Kubernetes Resource Calculator Docker Layer Optimizer HTML5 Canvas API Playground Token Context Calculator OpenAI Function Calling Generator Token Counter & Cost Estimator AI API Rate Limit Calculator Password Strength Analyzer

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →