Runs in your browser. Your input is not uploaded.

Accept header content negotiation

Pick the best media type from an Accept header and a list of available types.

Loading the tool…

What it does, how to use it, and questions

What it does

Content negotiation picks a representation using Accept and quality values (q). Servers sort available types against the header.

This page runs that ranking locally against a list of types you supply.

How to use it

  1. Paste an Accept header.
  2. List available media types (one per line).
  3. Read the chosen type and ranked table.

Things to watch for

  • */* and type/* wildcards are supported; more specific types win when q is equal.
  • Accept-Language uses related rules when provided.

Questions

Does this call my server?
No.
Where do I get Accept?
From the request headers in DevTools or your API client.
What if nothing matches?
The result is empty and the detail explains why.
Are headers uploaded?
No.