Bearer Token Header Tester
Paste an Authorization header or a token. The page checks the header format, reads a JWT, can check its signature with a public key or secret you type, explains a server’s WWW-Authenticate answer and writes request code. Everything stays in your browser: the token is never sent anywhere, not even to Toolvito.
Check the header
It stays in this page; nothing is sent.
Check the JWT signature
Read a WWW-Authenticate answer
Request code
curl
HTTPie
JavaScript (fetch)
Python (requests)
How to test
- Paste the header (Authorization: Bearer …) or the token alone.
- For a JWT, paste the issuer’s public key, its JWKS, or the HMAC secret to check the signature.
- If the API refused the token, paste its WWW-Authenticate header to see why.
- Copy a snippet and run it on your own computer; the token is masked as $TOKEN by default.
What is checked
- The header: the Bearer scheme, one space, no quotes or line breaks, and only the characters RFC 6750 allows in a token.
- A JWT: its header and claims, the expiry and not-before times, unsigned tokens (alg none) and shared-secret algorithms.
- The signature, only when you give a key: RS, PS, ES and HS algorithms with your browser’s Web Crypto.
- WWW-Authenticate: the scheme, realm, scope and the RFC 6750 errors invalid_request, invalid_token and insufficient_scope.
Why it does not call your API
Sending your token through a third-party server would expose it, and this page cannot call other sites from your browser either. Run one of the snippets yourself instead; they print the status and the WWW-Authenticate answer, which you can paste back here.