HomeDeveloper toolsBasic Auth Generator

Basic Auth Generator

Generate an HTTP Basic Authorization header from a username and password.

Processing stays in your browser. Base64 does not encrypt credentials. Use HTTPS and test credentials. A username cannot contain a colon.

How to use the basic auth generator

Generate an HTTP Basic Authorization header from a username and password. Complete the username, password fields above. Choose Run tool, review the output, then copy or download the result.

Example

Username alex and password demo produce a header starting Authorization: Basic.

Good to know

Base64 does not encrypt credentials. Use HTTPS and test credentials. A username cannot contain a colon.