Range Header Parser
Decompose a Range header (bytes=0-499, bytes=-100, etc.) into individual ranges with start, end and size.
Range: asking for just part of a file
The Range header asks for a byte interval instead of the whole resource, and it is what underpins resuming an interrupted download and dragging a video's progress bar without fetching everything before it. The form is the unit, an equals sign, and the list of intervals. Paste the value and the page computes start, end and size for each interval requested.
The indices are inclusive at both ends, which is the number one source of off-by-one errors: bytes=0-499 asks for 500 bytes, not 499. And there is the suffix form, with the first number absent — bytes=-500 means the last 500 bytes of the file, not from the start to byte 500. Confusing the two returns the wrong chunk with no error at all.
The correct response to a satisfied Range is 206 with Content-Range stating which span was delivered and the total size. If the server ignores the request and answers 200 with the whole file, the client has to cope — which is why the server advertises the capability in Accept-Ranges before any request arrives.
Frequently asked questions
What happens if I ask past the end of the file?
Does asking for several intervals at once work?
How does the server know the file has not changed between chunks?
Related Tools
Cache-Control Parser
Read a Cache-Control header and show each directive (max-age, no-cache, public, immutable, stale-while-revalidate) with explanation.
HTTP Cookie Parser
Paste a Set-Cookie header and inspect name, value, Domain, Path, Expires, Max-Age, HttpOnly, Secure and SameSite separately. Browser-only.
Authorization Header Parser
Identify the scheme (Basic, Bearer, Digest) of an Authorization header and extract the payload, decoding Basic from base64.
Basic Auth Generator
Generate the HTTP `Authorization: Basic <base64>` header from username and password. Useful to test APIs with basic auth via curl, Postman or fetch. Everything in your browser.
Link Header Parser
Decompose an HTTP Link header (RFC 8288) listing each URI with its parameters (rel, type, title). Useful for paginated APIs and Web Linking.
multipart/form-data Parser
Paste a multipart/form-data body with its boundary and inspect each part (Content-Disposition, filename, Content-Type, size).