HTTP Headers 解析
将原始请求头/响应头解析为结构化 JSON
🔒 100% client-side — your data never leaves this page输入
输出
Parsed headers will appear here
🔒 100% client-side
About this tool
粘贴原始 HTTP 请求头或响应头块,工具会自动解析首行信息、常见字段和完整 Header 映射,并输出结构化 JSON。适合接口联调、网关日志排查、复现客户端请求场景。每个关键字段都可独立复制,提高排查效率。
Frequently Asked Questions
Can this parse both requests and responses?
Yes. It detects request lines and response status lines, then normalizes header key-value pairs into one structure.
What happens to duplicate headers?
Current output keeps the latest value for duplicate keys. For advanced multi-value handling, expand parser logic as needed.
Is this useful for API debugging?
Yes. It helps quickly inspect and copy header data when troubleshooting auth, content negotiation, or proxy issues.