HTTP Authorization Header Builder
Create correct Authorization headers for API calls, from simple Basic and Bearer to Digest, HMAC request signing and AWS SigV4, with the signed strings shown so you can debug.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose the scheme
Basic, Bearer, Digest, HMAC or AWS SigV4.
- 2Enter the request
Method, URL and body.
- 3Add credentials
Username, password, token or keys.
- 4Read the strings
Check the canonical request and string to sign.
- 5Copy the header
Or copy the full curl command.
- 6Send
Run the request soon, before the timestamp expires.
About this tool
When an API call fails with 401 Unauthorized or "signature does not match", the problem is almost always in how the Authorization header was built: a username with a stray space, the wrong character encoding before Base64, a query string sorted differently from the server, or a timestamp in the wrong format. This builder produces the header for five schemes and, for the signed ones, shows every intermediate string so you can compare it with what your code produces. Basic authentication encodes username and password as UTF-8 then Base64. Bearer simply carries a token. Digest computes the MD5 response from realm, nonce, client nonce and request. The generic HMAC-SHA256 option signs method, path, sorted query, timestamp and body hash, a pattern many payment and webhook APIs follow. AWS Signature Version 4 builds the canonical request, the string to sign and the derived signing key exactly as AWS specifies. Everything is computed locally with the browser's Web Crypto.
The schemes
- Basic (RFC 7617): Base64 of username:password. Encoded, not encrypted, so only over HTTPS. - Bearer (RFC 6750): Authorization: Bearer followed by an OAuth access token or API key. - Digest (RFC 7616): MD5 of the credentials with server nonce and client nonce; the password never crosses the wire, but MD5 is weak by today's standards. - HMAC-SHA256: the signature proves you know the secret and that the request was not altered. The tool shows the exact canonical string. - AWS Signature Version 4: the scheme used by AWS services and many S3-compatible stores. The implementation reproduces the official AWS test vectors.
Debugging a signature mismatch
Compare the canonical request shown here with the one your client logs or the one AWS returns in its error message. The usual culprits are header names not lower-cased, query parameters not sorted or encoded with the right rules, a missing trailing newline after headers, the wrong region or service name, or a clock that is more than five minutes off.
The curl command
Each result includes a curl command with the header and any extra headers the scheme needs (such as x-amz-date), so you can reproduce the call from a terminal.
Keeping secrets safe
Secrets are typed into password fields, used only in this tab and never saved with your settings. Still, prefer test keys when experimenting, and never paste production secrets into tools you do not trust. Rotate any key you think may have been exposed.
Limits
OAuth flows that obtain tokens, mutual TLS and vendor-specific variants (for example signatures over specific header sets) are not covered. Signatures include the current time, so build them right before sending.
Worked example
A GET to an API Gateway endpoint in eu-west-2 with an access key and secret gives a header starting AWS4-HMAC-SHA256 Credential=AKID…/20261029/eu-west-2/execute-api/aws4_request, SignedHeaders=host;x-amz-date and a 64-character signature, plus the canonical request used to compute it.
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: RFC 7617 (Basic), RFC 7616 (Digest), RFC 6750 (Bearer), AWS Signature Version 4 documentation
Frequently asked questions
Is Basic authentication secure?
Only over HTTPS, because Base64 is easy to decode.
Why does my AWS signature not match?
Compare the canonical request: header case, query sorting, encoding, region, service and clock are the usual causes.
Is the AWS implementation tested?
Yes, against the official AWS Signature Version 4 test suite.
Are my secrets stored?
No. Password fields are never saved and nothing is uploaded.
Can I use it for webhooks?
The HMAC-SHA256 option shows the common pattern; match it to your provider's documentation.
Does it support OAuth?
It formats Bearer tokens; obtaining tokens needs the provider's OAuth flow.
