HTTP Header Formatter
Local ProcessingParse and format raw HTTP request or response header text into clean key-value lists.
How It Works & Processing Standards
Parse and format raw HTTP request or response header text into clean key-value lists.
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Current Limits
- Maximum input length: 100,000 characters
When headers copied from logs or developer tools have inconsistent case and spacing, this makes them tidy for docs or request examples.
What You Can Do
- Name case
- content-type becomes Content-Type.
- Spacing
- One space after the colon.
How to Use HTTP Header Formatter
- 1Paste headersOne per line.
- 2CopyCopy the tidy headers.
Examples
Case and spacing
Input: content-type:application/json
CACHE-CONTROL: no-cache
Result: Content-Type: application/json
Cache-Control: no-cache
Common Use Cases
- Tidying request examples in API docs
- Pasting clean headers into bug reports
Frequently Asked Questions (FAQ)
Are HTTP header names case-sensitive?
No, so behaviour is unchanged; only the appearance is tidied. Value case is not changed.
