๐Ÿ” Basic Auth Header Generator

Authorization header
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

Enter a username and password to generate the Authorization header value used for HTTP Basic Authentication (RFC 7617). Drop it straight into a curl command or API client configuration.

How to use

  1. Enter the username.
  2. Enter the password.
  3. Copy the generated Authorization header.

FAQ

What calculation does this do?

It base64-encodes the string "username:password" and prefixes it with "Basic " โ€” the standard format defined by RFC 7617.

Is Basic Auth secure?

Basic Auth is only base64-encoded, not encrypted, so always use it over HTTPS. Over plain HTTP, the credentials can be trivially read by anyone intercepting the traffic.

How do I use this with curl?

Pass the generated header directly, e.g. `curl -H "Authorization: Basic xxxx" https://example.com`.