Names and numbers from a short list
Join a header name and value
The name must be a token. The value cannot contain a line break.
The result is a single header line, ready to read.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
HTTP header
The sample is fixed. It uses the same rule as the form.
- Name
- Accept
- Value
- application/json
- Result
- Accept: application/json
How to use it
- 1Fill in the fields.
- 2Read the result.
- 3Copy the line you need.
Good to know
- The page does not send the header.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
The page does not send the header.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Read what an HTTP method means
Each method has one sentence about how it is normally used.
- Write a Basic Authorization header
The user and password are joined with a colon and encoded as Base64.
- Look up a common media type
The list pairs a file extension with the media type usually sent for it.