Skip to main content

HTTP Header Formatter

Format pasted HTTP header fields into consistent Name: value lines, preserving order and duplicates. Processing stays in your browser; input is not uploaded or saved.

Accepts header fields only, without a request/status line or body. Names must use HTTP token characters; surrounding spaces and tabs in values are trimmed. Order, casing, duplicate fields, and value contents are preserved. Maximum: 50,000 UTF-16 code units and 2,000 lines. Copy includes all values, so treat copied output as sensitive.

Formatted headers

4 fields

Was this tool helpful?