Basic auth is not encryption. The header is only Base64, which anyone can reverse, so send it over HTTPS and never share it. Everything here runs in your browser; nothing is uploaded.
Build a header
Credentials are UTF-8 encoded, then Base64 encoded (RFC 7617).
Enter a username and password to build the header.
Decode a header
Paste an Authorization header, a "Basic ..." value or just the Base64 token.