Web
Basic Auth Generator
Create the Basic authorization value from a username and password without sending a request.
About this tool
When to use it
Create the Basic authorization value from a username and password without sending a request.
How to use it
Enter test credentials and select Generate header. Copy the result into an Authorization header in your own client. Confirm the target supports Basic authentication and uses an encrypted transport.
Guide updated . Examples checked against this implementation.
Worked examples
A simple ASCII fixture
Input
Username: user; Password: passExpected output
Basic dXNlcjpwYXNzThe encoded bytes are user:pass. The output is the header value; the HTTP header name Authorization is supplied separately.
Errors and unsupported input
Username: team:userA username cannot contain a colon because the first colon separates username and password in the credential string.
Continue this workflow
- Base64 Encoder & Decoder: Inspect the Base64 representation using disposable credentials.
Questions
Frequently asked questions
Does generating a header verify the password?
No. This page does not contact a server. Only the authentication service can accept or reject the credentials.