Basic Auth header generator
Different from the htpasswd generator — that produces a hash for the server's password file; this produces the header a client sends. Basic Auth sends credentials Base64-encoded, not encrypted — only use it over HTTPS.
What is Basic Auth header generator?
HTTP Basic Authentication sends credentials as a Base64-encoded "username:password" string in the Authorization header — not encrypted, just encoded, so it must only ever be used over HTTPS.
How to use it
Enter a username and password to get the ready-to-use Authorization header value and an equivalent curl command.
Example
admin:hunter2 -> Authorization: Basic YWRtaW46aHVudGVyMg==