Skip to main content
ConvertLab
Tools

Developer & Data

HTTP Headers Reference

Search and explore HTTP request/response headers with descriptions and examples.

  • Runs in your browser

Search headers

Header details

Content-Typeboth

The media type of the resource. Tells the recipient how to interpret the content.

application/json; charset=utf-8
Acceptrequest

Media types the client can understand, used for content negotiation.

text/html, application/json
Authorizationrequest

Credentials for authenticating the client with the server.

Bearer eyJhbGciOi...
Cache-Controlboth

Directives for caching mechanisms in both requests and responses.

no-cache, no-store, must-revalidate
Content-Lengthboth

The size of the request/response body in bytes.

348
Content-Encodingboth

Any encodings applied to the content (compression).

gzip
Cookierequest

Stored cookies previously sent by the server via Set-Cookie.

session=abc123; theme=dark
Set-Cookieresponse

Send cookies from the server to be stored by the client.

session=abc123; HttpOnly; Secure; SameSite=Lax
CORS Headersresponse

Access-Control-Allow-Origin, Methods, Headers — control cross-origin access.

Access-Control-Allow-Origin: *
ETagresponse

An identifier for a specific version of a resource, used for caching.

"33a64df551425fcc55e"
Hostrequest

The domain name of the server (required in HTTP/1.1).

example.com
If-None-Matchrequest

Makes the request conditional — returns 304 if the ETag still matches.

"33a64df551425fcc55e"
Locationresponse

The URL to redirect to (used with 3xx status codes).

https://example.com/new-page
Originrequest

The origin (scheme, host, port) that triggered the request.

https://example.com
Refererrequest

The address of the previous page from which this request was made.

https://example.com/previous-page
Serverresponse

Information about the server software.

nginx/1.21.0
User-Agentrequest

Information about the client (browser, OS, version).

Mozilla/5.0 (Windows NT 10.0...)
X-Forwarded-Forrequest

The originating client IP when behind a proxy or load balancer.

203.0.113.50, 70.41.3.18
X-Frame-Optionsresponse

Whether the page can be displayed in an iframe (clickjacking protection).

DENY
X-Content-Type-Optionsresponse

Prevents MIME-sniffing — forces the declared Content-Type.

nosniff
Strict-Transport-Securityresponse

Tells the browser to always use HTTPS for this domain.

max-age=31536000; includeSubDomains
X-XSS-Protectionresponse

Enables the browser's built-in XSS filtering (deprecated in modern browsers).

1; mode=block
Referrer-Policyresponse

Controls how much referrer information is sent with requests.

strict-origin-when-cross-origin
Content-Security-Policyresponse

Defines allowed sources for scripts, styles, images and other resources.

default-src 'self'; script-src 'self' cdn.example.com

Was this tool useful?

Stored locally in your browser only — not sent anywhere.

Tools you may need