Parse raw HTTP request or response headers into clean JSON. Useful for inspecting CORS, cache, content type, auth, cookies and security headers copied from DevTools, curl or server logs.
Parsed headers will appear here...
HTTP headers are key-value pairs sent in requests and responses to provide additional information about the request or response.
They often explain why an API response behaves a certain way: the content format, cache rules, CORS permissions, authentication state, cookies and browser security policies are all controlled through headers.
An HTTP headers parser converts raw HTTP header text into a structured, readable format. It extracts key-value pairs from request and response headers so developers can quickly analyze API communication.
HTTP headers carry important metadata including content type, authentication tokens, caching directives, CORS policies and security headers. Parsing them manually from raw text is error-prone and time-consuming.
This tool accepts raw header text copied from browser DevTools, curl output or server logs and formats it into clean JSON. All processing happens locally in your browser.
Use this parser when you need to check Content-Type, Cache-Control, Authorization, Set-Cookie, CORS headers such as Access-Control-Allow-Origin or security headers such as Content-Security-Policy and Strict-Transport-Security.
The tool does not fetch URLs. That keeps it simple and private: paste the headers you already captured, then parse them locally into JSON.
Can I parse both request and response headers?
Yes. Paste either type of raw HTTP header text and the tool will extract the key-value pairs it can read.
Does this tool fetch headers from a URL?
No. It only parses pasted headers locally in the browser.
Why convert headers to JSON?
JSON output is easier to read, copy into bug reports and compare while debugging APIs, CORS, cache behavior or authentication issues.
If you are debugging API behavior, read the guide: How to debug HTTP headers, CORS and cache.