HTTP Header Builder & Parser
NetworkBuild, parse and explain 16 HTTP headers in one place: Cache-Control, ETag, Vary, HSTS, Referrer-Policy, X-Content-Type-Options, Clear-Site-Data, Content-Disposition, Link, Retry-After, Alt-Svc, Authorization, Accept-Language, Range, Prefer and Client Hints
About HTTP Header Builder & Parser
One workspace for the HTTP headers you set by hand but rarely remember the exact syntax of. Pick a header and you get a form that builds a valid value and explains each directive, and most modes also parse an existing value you paste from a log or a response. It catches the classic mistakes along the way: an HSTS header that will not qualify for the browser preload list, a non-ASCII download filename that needs RFC 5987 encoding in Content-Disposition, an unsafe-url Referrer-Policy, or a Vary header that quietly fragments your cache. The 16 headers are grouped by job (caching, security, responses and requests), and each one has its own shareable URL through ?mode=. Headers big enough to need a tool of their own, such as Content-Security-Policy, CORS and Permissions-Policy, stay separate and are linked under the builder.
How to use HTTP Header Builder & Parser
- 1.Choose a header from the grouped buttons (Caching, Security, Responses, Requests); the URL updates so you can bookmark or share that exact header builder.
- 2.Fill in the directives; the header value updates live with a plain-English explanation and can be copied straight into your server config or code.
- 3.To understand an existing header, switch the mode to parse (where offered) and paste the raw value, for example an Authorization or Accept-Language header from a request log.
- 4.Use the code section further down to build or parse the same header from the REST API, the Node.js or Python SDK, or the MCP server.