Network · Made a little simpler

Request Header Builder

Build HTTP request headers with a dedicated Accept media range and preference editor. Preview and save header text or JSON on your device.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Accept media ranges

Use a media type or wildcard. A blank q uses 1, and 0 excludes the range.

Enter one Field-Name: value per line. Add Accept using the editor above.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Request Header Builder: how to use it

  1. Add media ranges and q values in the Accept editor or load the workshop preferences.
  2. Enter other request headers as one Field-Name: value per line and select Build headers.
  3. Review the text or JSON and copy or download the generated fields.

Limits and notes

Up to 16 Accept ranges and 64 other printable ASCII header lines, with a total of up to 32,768 characters in the other fields. Quality is 0 to 1 with up to three decimal places. Header values stay local and are exported as entered, after trimming surrounding spaces and tabs.

How your privacy works →

Request Header Builder: common questions

What does q=0 mean in an Accept header?

It marks the matching range as unacceptable. Leave q blank to use the default 1.

How do I add a MIME parameter with a comma?

Write its value inside double quotes in the media-range field. The comma remains part of that parameter value.

What does the JSON download contain?

It contains an ordered array of objects with a name and a value. Repeated fields remain separate entries.

Guides