HTTP Header Inspector: Request & Response Fields
Inspect pasted HTTP header blocks, retain field order and duplicate values, and create a masked report without sending a request.
Enabling local controls…
HTTP header reference
Look up common field names, directions and example values. Examples are shown as HTTP/1.x text.
GET /catalog HTTP/1.1 Host: api.example.invalid Accept: application/json Accept-Language: zh-TW, en;q=0.7 Authorization: Bearer DEMO_TOKEN
42 matching fields
| Field | Direction and use | Example value |
|---|---|---|
Accept | Request-capable Preferred response media types. | application/json |
Accept-Encoding | Request-capable Content codings the client can decode. | gzip, br |
Accept-Language | Request-capable Languages the client prefers, with optional quality weights. | zh-TW, en;q=0.7 |
Access-Control-Allow-Credentials | Response-capable Allows credentialed CORS access when paired with an explicit allowed origin. | true |
Access-Control-Allow-Headers | Response-capable Request fields a CORS preflight authorizes. | Content-Type, X-Request-ID |
Access-Control-Allow-Methods | Response-capable Request methods a CORS preflight authorizes. | GET, POST |
Access-Control-Allow-Origin | Response-capable The origin allowed to read this response under CORS. | https://app.example.invalid |
Authorization | Request-capable Credentials for the target resource. Replace the placeholder locally. | Bearer DEMO_TOKEN |
Cache-Control | Both directions Cache directives. The no-cache directive requires validation before reuse under applicable rules. | no-cache |
Connection | Both directions Options for this HTTP/1.x hop, such as closing the connection after the response. | close |
Content-Encoding | Both directions Coding applied to the enclosed representation. | gzip |
Content-Length | Both directions Message content size in octets when applicable. | 128 |
Content-Security-Policy | Response-capable Browser policy for loading or executing resources and other selected actions. | default-src 'self'; object-src 'none' |
Content-Type | Both directions The media type of the enclosed representation. | application/json |
Cookie | Request-capable Cookies the client sends for the request context. | theme=light |
Date | Both directions The HTTP date when the message originated. | Sun, 22 Nov 2026 12:00:00 GMT |
ETag | Response-capable Opaque identifier for a selected representation, used in conditional requests. | "catalog-v7" |
Expires | Response-capable The date after which the response is considered stale if a higher-priority freshness directive does not apply. | Sun, 22 Nov 2026 13:00:00 GMT |
Forwarded | Request-capable Standard proxy-chain metadata. Interpret it according to your trusted proxy configuration. | for=192.0.2.17;proto=https |
Host | Request-capable The host and optional port of the HTTP/1.1 request target. | api.example.invalid |
If-Modified-Since | Request-capable Makes a retrieval conditional on a modification date. | Sun, 22 Nov 2026 12:00:00 GMT |
If-None-Match | Request-capable Makes an action conditional on the selected representation not matching the supplied tags. | "catalog-v7" |
Last-Modified | Response-capable The origin server’s stated last modification time. | Sun, 22 Nov 2026 11:00:00 GMT |
Location | Response-capable URI reference for a redirect target or the location of a created resource. | /catalog/v2 |
Origin | Request-capable The origin associated with the request, when sent. | https://app.example.invalid |
Permissions-Policy | Response-capable Controls whether documents can use selected browser features. | geolocation=(), camera=() |
Referer | Request-capable The referring URI, subject to referrer policy and browser rules. | https://app.example.invalid/docs |
Referrer-Policy | Response-capable Controls the information sent in Referer for subsequent requests. | strict-origin-when-cross-origin |
Retry-After | Response-capable Suggested delay in seconds or an HTTP date before a follow-up request. | 120 |
Server | Response-capable Optional information about software that handled the response. | ExampleOrigin/1.0 |
Set-Cookie | Response-capable Cookie instructions. Write separate field lines for separate cookies. | theme=light; Path=/; Secure; SameSite=Lax |
Strict-Transport-Security | Response-capable Asks a supporting browser to use HTTPS for this host following a secure response. | max-age=31536000 |
Transfer-Encoding | Both directions Transfer coding for HTTP/1.1 framing, separate from representation encoding. | chunked |
User-Agent | Request-capable Optional application identification supplied by the client. | ExampleClient/1.0 |
Vary | Response-capable Request fields that influenced response selection and can affect cache matching. | Accept-Encoding, Origin |
Via | Both directions A record of intermediaries involved in forwarding. | 1.1 cache.example.invalid |
WWW-Authenticate | Response-capable Authentication challenges for the requested resource. | Basic realm="Example" |
X-Content-Type-Options | Response-capable Tells browsers to apply MIME-type restrictions for relevant requests. | nosniff |
X-Forwarded-For | Request-capable Deployment convention for client or proxy addresses. Use the chain only at a trusted proxy boundary. | 192.0.2.17 |
X-Frame-Options | Response-capable Controls framing in supporting browsers. CSP frame-ancestors provides additional options. | DENY |
X-Requested-With | Request-capable Application convention used by some JavaScript clients. | XMLHttpRequest |
X-XSS-Protection | Response-capable Legacy filter setting. The example disables the browser’s legacy filter. | 0 |
1. Paste a header block
Page-memory only; no requests. Limits: 1 MiB UTF-8, 502 lines, 500 fields, 16,384 characters per line; report: 2 MiB. One HTTP/1.0 or 1.1 textual block, LF/CRLF. No body, multiple blocks, obsolete folding, HTTP/2 wire or pseudo headers.
Without a start line, select Request or Response explicitly. Duplicate fields retain their order; Set-Cookie is never merged.
All values (including custom fields) and start lines are masked by default. Hidden after 15 s, paste, inspection or leaving the tab. Copied/downloaded reports always redact every value; field names may still be private, so review before sharing. This is not a security audit.
2. Line diagnostics and redacted report
Paste a block or load a sample, then inspect.
How to use this tool
Paste a header block, choose its request or response context and inspect line diagnostics and duplicate fields. Reveal values deliberately; use the masked report for sharing.
When not to use it
This is not a remote endpoint tester or a full HTTP wire parser. A pasted block cannot establish authenticity, transport security or what a browser actually received.
Read the guide →