Format HTTP Headers
Paste raw HTTP headers copied from your browser's developer tools or a client like Postman: the tool breaks them into a readable table, detects duplicates, and provides reformatted output sorted alphabetically.
How it works
Each line of the pasted text is split at the first colon encountered, separating the header name from its value. Header names are compared case-insensitively (HTTP treats Content-Type and content-type as the same header) to detect duplicates, which is very useful to spot before sending a request where one header would accidentally overwrite another. The result is shown as a table, plus a reformatted text sorted alphabetically and ready to copy.
Why might a header appear twice?
This often happens when copying headers from multiple sources (a proxy, an interceptor, a test configuration): two headers with the same name but different casing (Accept-Encoding vs accept-encoding) are actually the same HTTP header, and generally only the last one sent takes effect depending on the client used.
Does the order of headers matter?
Generally no: the HTTP standard does not guarantee any semantics related to the order of headers (with a few exceptions on the server side). The alphabetical sorting offered here is only to make reading and visual comparison easier; it does not change the behavior of the request.
Processing is entirely local: your headers, including any authentication tokens, never leave your browser.