HTTP Header Generator
Generates a real HTTP header name — fifteen standard ones and three widely used X- conventions (X-Request-ID, X-RateLimit-Remaining, X-Correlation-ID) — with an illustrative example value — useful for API documentation, mock requests, or a quick header-syntax reference.
What you'll get
This generator draws from a hand-checked list of 18 entries. Here is a spread of 6 of them, so you can see the style before you generate:
- Content-Type: application/json
- Cache-Control: no-store, max-age=0
- Accept-Language: en-GB,en;q=0.9
- If-None-Match: "33a64df551"
- Access-Control-Allow-Origin: *
- X-Correlation-ID: req-example-482910
A fixed sample of the list, not a live draw — your own results are picked at random from all 18, without repeating until the list runs out. Original authoring for Generate Random — standard, publicly documented HTTP header names and illustrative example values.. Last reviewed 2026-07-18.
How to use this tool
- Press generate for a header.
- Generate again for a different one.
Common use cases
- API documentation examples
- Mock-request construction
- Learning header syntax
Limitations and good to know
- 18 common headers rather than the full registry — enough to cover the ones an API test or mockup usually needs, not every header a server might send.
- Values are illustrative placeholders, never real tokens, IDs or credentials, so a header like Authorization needs its value replaced before the example is useful for an actual request.
- Up to five headers per press, drawn without regard to each other; a real request carries a set that belongs together, and this does not assemble one — a batch can mix request-only and response-only headers.
Practical tips
- Test with headers your code does not expect as well as ones it does; unknown headers should be ignored rather than cause a failure.
- Header names are case-insensitive, and code that assumes otherwise breaks against a different client.
Entries are chosen with your browser's cryptographic random number generator, so every entry on the list is equally likely. How Generate Random works.
Header values shown are constructed illustrative examples, never real credentials or tokens.
Frequently asked questions
- Are HTTP header names case-sensitive?
- No — Content-Type, content-type and CONTENT-TYPE are the same header as far as the HTTP specification is concerned, and a compliant server or client treats them identically. Code that assumes exact casing when reading incoming headers is relying on behaviour the spec doesn't guarantee.
Related generators
- HTTP Status Code GeneratorA real HTTP status code with its standard meaning.
- URL Query String GeneratorA sample URL query string with realistic parameter names, distinct from the site's URL-slug tool.
- MIME Type PickerA random common MIME type string.
- API Key GeneratorA sample API key for testing config, mocks or documentation examples.