DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeInfo / GuidesHTTP Headers Reference

About HTTP Headers Reference

HTTP Headers Reference preview - Info / Guides tool

Search and reference HTTP request/response headers. Part of the DevTools Surf developer suite. Browse more tools in the Info / Guides collection.

Use Cases

  • Look up the correct syntax for Cache-Control directives before configuring a CDN.
  • Find which CORS headers to set when debugging cross-origin request failures.
  • Identify security headers (CSP, HSTS, X-Frame-Options) needed for a security audit.
  • Reference the correct Accept header format for content negotiation in an API client.

Tips

  • Search by use case (caching, CORS, security) rather than name when you can't remember the exact header — the reference groups headers by function.
  • Check the 'deprecated' tag before implementing a header — X-XSS-Protection and X-Content-Security-Policy have official replacements.
  • Use the 'security headers checklist' filter to quickly see which response headers your application should send for a OWASP-compliant configuration.

Fun Facts

  • The HTTP/1.1 specification (RFC 2616, 1999) defined 47 standard request and response headers. HTTP/2 (2015) added none — headers are semantically the same; only the wire encoding changed to HPACK compression.
  • The Strict-Transport-Security (HSTS) header was first proposed in 2009 by Jeff Hodges, Collin Jackson, and Adam Barth after studies showed that cookie theft via HTTP was a widespread attack. It became an RFC standard in 2012.
  • The Referrer-Policy header was introduced to address privacy concerns with the older 'Referer' header (which has a deliberate typo from the original 1996 HTTP specification — the misspelling was never corrected).

FAQ

How many HTTP headers are there?
Over 200 registered with IANA, plus dozens of non-standard 'X-' headers in common use. The reference covers the ~100 most relevant for web development and API design.
What's the difference between request and response headers?
Request headers are sent by the client (Authorization, Accept, User-Agent). Response headers are sent by the server (Content-Type, Set-Cookie, Cache-Control). Some headers appear in both (Content-Type in request bodies and responses).
Which security headers should every web app send?
Content-Security-Policy, Strict-Transport-Security, X-Frame-Options (or CSP frame-ancestors), X-Content-Type-Options: nosniff, Referrer-Policy, and Permissions-Policy are the core security header set.

Related Info / Guides Tools

Docker BasicsSEO Basics for DevelopersREST API BasicsNext.js App Router BasicsConnect Your Site to GoogleGit Basics (First Hour)Kubernetes BasicsGraphQL vs REST
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf912+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback