RFC 7617 Standard Aladdin Example
Input
Aladdin:open sesameExample output
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==Encode username and password credentials into standard RFC 7617 HTTP Authorization headers, or decode Base64 authentication headers back into clear credentials entirely in your browser.
| Accepted input | Credentials (username:password) or Authorization: Basic ... headers |
|---|---|
| Supported operations | Encode (generate header) and Decode (extract username and password) |
| Header output formats | Full header (Authorization: Basic ...), header value (Basic ...), or raw Base64 token |
| Decode output formats | Human-readable label lines, colon-separated (user:pass), or JSON object |
| Password masking | Optional asterisks masking to conceal sensitive passwords in output |
| Max input size | 1 MB |
| Execution deadline | 1.5 s |
| Processing location | Browser-only: credentials are never transmitted over the network |
Input
Aladdin:open sesameExample output
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==According to RFC 7617, the username cannot contain colons, but passwords may contain multiple colons. The decoder splits strictly at the first colon.
The decoder automatically strips prefixes like 'Authorization:', 'Basic ', and curl header flags (-H) before decoding the Base64 token.
RFC 7617 recommends UTF-8 encoding for international characters. This tool encodes and decodes using standard UTF-8 byte streams.
Base64 Encoder / Decoder
Encode UTF-8 text to standard or URL-safe Base64 and decode Base64 back to text.
URL Encoder / Decoder
Encode and decode URL components, query parameters, and special characters using RFC 3986 percent-encoding or form-urlencoded format.
JWT Decoder / Inspector
Decode and inspect JSON Web Token (JWT) headers, payloads, and claims locally in browser memory without signature verification.
HMAC Generator
Compute Hash-based Message Authentication Codes (HMAC) using SHA-256, SHA-512, SHA-384, SHA-1, and MD5 with custom secret keys.
HTTP Basic Authentication is a simple challenge-response authentication scheme defined in RFC 7617. The client sends user credentials as a Base64-encoded string of 'username:password' in the HTTP Authorization request header.
No. Base64 is an encoding format, not encryption. Anyone who intercepts the header can trivially decode it back into plain text. Basic Auth must always be used over HTTPS (TLS) to encrypt the HTTP connection.
You can either pass the header directly using `-H "Authorization: Basic <token>"` or use curl's built-in flag `-u "username:password"` which encodes the header automatically.
Yes. While the username cannot contain a colon, the password can contain colons and any UTF-8 characters. The decoder splits at the first colon, preserving everything after it as part of the password.