Authorization Header Parser
Identify the scheme (Basic, Bearer, Digest) of an Authorization header and extract the payload, decoding Basic from base64.
Reading the Authorization header: Basic, Bearer and Digest
Authorization has two parts: the scheme and the credentials, and the credential format depends entirely on the scheme. The page recognises the three commonest and decodes what can be decoded — for Basic, the username and password pair; for Bearer, the token; for Digest, each named parameter.
The commonest misconception is that Basic protects something. It merely joins username and password with a colon and runs base64 over it, which is encoding, not encryption — anyone who sees the header recovers the password instantly. Basic is only acceptable over TLS, and even then the password travels on every request, which multiplies the exposure.
A detail that bites implementers: since the separator is the first colon, a password may contain colons but a username may not. A parser splitting on the last colon, or using a plain split, breaks on exactly the strongest passwords. The page splits on the first occurrence, which is what the standard requires.
Frequently asked questions
Is Bearer with a JWT secure?
Is Digest still worth it?
Why do I see a header with two schemes?
Related Tools
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.
Cache-Control Parser
Read a Cache-Control header and show each directive (max-age, no-cache, public, immutable, stale-while-revalidate) with explanation.
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.
Range Header Parser
Decompose a Range header (bytes=0-499, bytes=-100, etc.) into individual ranges with start, end and size.
Cron Parser (describe expression)
Paste a cron expression and see in plain text when it will fire (e.g. "every day at 9am" for `0 9 * * *`). Lists the next N runs. Everything in your browser.
HTTP Cookie Parser
Paste a Set-Cookie header and inspect name, value, Domain, Path, Expires, Max-Age, HttpOnly, Secure and SameSite separately. Browser-only.