Content negotiation helper

← All tools

Paste a client Accept header, list what the server can return, and see which representation wins under RFC 9110 rules. Build headers from MIME presets in the second tab.

~~~

Mode

Shareable URL keeps offered types, builder presets, and short Accept values. Long Accept strings stay local. Everything runs in the browser.

~~~

About this tool

Content negotiation lets a client tell the server which representations it prefers — usually via Accept — and the server picks the best available match before setting Content-Type.

APIs often offer application/json and text/html; browsers send long Accept lists with q weights. Wrong matching means returning HTML to an API client or triggering a 406 Not Acceptable when nothing matches.

For a broader header reference, see the HTTP headers explainer.

~~~

Read more