HTTP Authorization Header Encoder / Decoder
NetworkBuild a Basic or Bearer Authorization header value, or decode an existing one back into its scheme plus username/password or token
The Authorization header shows up in almost every API testing workflow, but hand-encoding a Basic credential or double-checking what a Bearer token actually decodes to is tedious to do by hand. This tool builds a Basic (RFC 7617, base64 of username:password) or Bearer (RFC 6750) header value from plain inputs, or parses an existing header string back into its scheme and credentials: Basic is decoded into username and password, Bearer returns the token as-is, and any other scheme like Digest or OAuth is split into its raw key=value parameters since those don't have one universal credential encoding to reverse.
How to use HTTP Authorization Header Encoder / Decoder
- 1.Pick Basic or Bearer and enter a username/password or a token to build the header value.
- 2.Copy the built header straight into a curl -H flag or your HTTP client's header field.
- 3.Switch to Decode and paste an existing Authorization header to see its scheme and credentials broken out.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/http-authorization-header \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"header":"Basic YWxpY2U6d29uZGVybGFuZA==","mode":"basic","username":"alice","password":"wonderland","token":"eyJhbGciOiJIUzI1NiJ9..."}'Get an API key from your dashboard · Full API docs →