Header count
--
Free · Instant · No signup
Parse Name: value lines, count fields, and flag lines that lack a colon.
Page updated 2026-09-04.
Header count
--
Three raw lines -- 'Host: www.veomark.com', 'Content-Type: text/html', and 'Cache-Control: max-age=600' -- parse into 3 headers with names Host, Content-Type, Cache-Control, and every line confirmed to follow the standard 'Name: value' format.
Header names are conventionally case-insensitive per the HTTP specification (Content-Type and content-type refer to the same header), though this parser preserves whatever capitalization appears in the raw text you paste in, rather than normalizing it.
The colon-and-space separator ('Name: value') is the standard format this parser expects -- each line is split on the first colon, with everything after it (trimmed) treated as the value, which correctly handles values that themselves contain colons (like a Cache-Control directive with a time value).
Line-based colon split. Folded headers and HTTP/2 pseudo-headers are not modeled. Older HTTP/1.1 allowed 'folded' headers spanning multiple lines (a continuation line starting with whitespace) -- a legal but now-deprecated format this line-by-line parser doesn't reconstruct into a single logical header.
HTTP/2 and HTTP/3 use pseudo-headers (like :method, :path, :authority) with a leading colon as part of the name itself, a different structural convention than HTTP/1.1's Name: value format -- this parser is built around the HTTP/1.1 text format, not binary HTTP/2 framing.
This checks structural format only (does each line look like Name: value) -- it doesn't validate whether a given header name is a real, registered HTTP header or whether its value is semantically valid for that header.
Once headers are parsed, checking the response status code they came with is a common next step -- the HTTP Status Code Lookup covers that.
If the User-Agent header value itself needs breaking down into browser, OS, and device info, the User-Agent String Parser handles that specific header's content.
It splits each line at the first colon character, treating everything before it as the name and everything after (trimmed of leading whitespace) as the value -- which correctly handles values that contain additional colons, like a time-based directive.
Not per the HTTP specification -- header names are case-insensitive, so Content-Type and content-type are the same header. This parser preserves whatever capitalization you paste in rather than normalizing it to a canonical form.
No. Line-based colon split. Folded headers and HTTP/2 pseudo-headers are not modeled. Legacy HTTP/1.1 folded-header continuation lines aren't reconstructed into a single header value -- each line is parsed independently.
Not natively -- HTTP/2 pseudo-headers use a different structural convention (a leading colon as part of the name) than the HTTP/1.1 'Name: value' text format this parser is built around.
No, only that each line's structure matches the expected format. This parser doesn't check whether a header name is an officially registered HTTP header or whether its value makes sense for that specific header.
Unix File Permission (Chmod) Octal Calculator Build a chmod octal and rwxr-xr-x symbolic string from owner, group, and other bits.
CSS Triangle Code Generator Border-trick triangle CSS from direction, size, and fill color.
Cookie String Parser & Attribute Visualizer Split a cookie header into names and values, treating flags without = as attributes.
Base64 Encoder & Decoder UTF-8 and emoji-safe encode/decode, Standard or URL-safe, with byte telemetry.