Back to Free Tools

FREE TOOLS

Accept and Accept-Language Parser

Parse strict Accept or Accept-Language preferences with exact quality values and retained source spans.

Explicit text fields

accept-preferences.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Choose Accept or Accept-Language and enter one ASCII field value without the header name.
  • Select Inspect preferences. Use final unquoted q only; zero-quality and duplicate entries remain present.
  • Download accept-preferences.json for every original span/parameter and the stable quality ordering.

Examples

text/html; q=0.8, application/json retains qualities 800 and 1000 and orders JSON first.

Limitations

  • At most 65536 UTF-8 bytes/UTF-16 units, 1000 entries, 32 parameters per entry and 4096 units per parameter; 2 MiB report and 30 seconds.
  • A quality parameter must be last, unquoted and in 0–1 with at most three fractional digits. Unsupported extensions, duplicate parameter names and malformed input are refused.
  • One ASCII field value only, with declared OWS. No representation selection, language negotiation, specificity winner or HTTP request.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool