demo:s3cret
The username and password are joined with a colon before UTF-8 Base64 encoding.
Authorization: Basic ZGVtbzpzM2NyZXQ=Quickly create the base64-encoded string needed for HTTP Basic Authentication from a username and password.
Fill in the values, paste your text, or upload the file this tool works with.
Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.
Copy, download, or share what the tool produces — you're always in control of the output.
Build the base64-encoded Authorization header value for HTTP Basic Authentication from a username and password.
HTTP Basic Authentication (RFC 7617) sends credentials as "username:password", base64-encoded, inside an Authorization header — Authorization: Basic <encoded value>. Base64 is an encoding, not encryption, so this scheme is only safe to use over HTTPS.
Because base64 is trivially reversible, never send this header over plain HTTP, and avoid Basic Auth entirely for anything sensitive if the API offers a token-based alternative.
Basic base64(username + ":" + password)The username and password are joined with a colon before UTF-8 Base64 encoding.
Authorization: Basic ZGVtbzpzM2NyZXQ=The generated header is just Base64 text for username:password. Treat it like a credential and avoid leaving it visible after copying.
Only when used over HTTPS. The credentials are merely base64-encoded, not encrypted, so anyone who can read the raw request over plain HTTP can recover them instantly.
Yes. The username and password are UTF-8 encoded before being base64-encoded, so any Unicode character is handled correctly.
In the Authorization request header, exactly as generated, e.g. Authorization: Basic dXNlcjpwYXNz.
No. Basic Auth is only Base64-encoded. It should be used over HTTPS and treated like any other credential.
Generate random MAC addresses.
Calculate IPv4 network, mask, broadcast, and host range.
Estimate download, upload, or file transfer duration.
Simulate load balancing algorithms.
Compare DNS records across regional views and global public resolvers.
Generate HMAC hashes with a secret key.
Generate strong passwords with browser cryptography.
Create QR codes and read QR images locally.
Encode and decode text using Base64 locally.
Enlarge images with profiles tuned for their content.