API

HTTP Basic Auth & API Key Header Encoder/Decoder

Build Authorization: Basic credentials, Bearer tokens, and custom API-key headers, then decode any header you paste in. Nothing ever leaves this tab.

1. Build a request header

Base64 credential
Header size

        
        

      

2. Inspect a header

How is a Basic Authorization header built?

RFC 7617 concatenates the user-id and password with a colon (user:pass), encodes that string as UTF-8 bytes, then Base64-encodes those bytes. The result is sent as Authorization: Basic <base64>. Base64 is reversible encoding, not encryption — always pair it with TLS.

Why does my decoded password look wrong, and can I use Unicode?

Most servers follow RFC 7617 and treat the credentials as UTF-8, which this tool tries first and falls back to raw byte output when the payload is not valid UTF-8. If the user-id itself contains a colon, servers split on the first colon and the credential is ambiguous — this tool warns you when that happens. Missing Base64 padding and URL-safe -/_ characters are normalized automatically.