Basic Authentication Header Generator

Enter username and password to generate a basic authentication header. Your credentials are not sent to our servers.

Want to connect to an API with basic authentication in Airtable?

Encoded Credentials

Enter a username

What is Basic Auth?

Certain APIs require you to authenticate requests by sending a sending an Authorization header equal to:

Basic ENCODED_USERNAME_PASSWORD
where ENCODED_USERNAME_PASSWORD is the Base64 encoding of a username and password joined by a single colon :

What is my username and password for Basic Auth?

The username and password might not be your actual login details for the service. They might be an API key or token. For example, the Stripe API uses your Stripe API key as the basic auth username value and does not require you to provide a password.

Generate Basic Authentication Header Online

You can use the tool above to quickly generate a basic auth header online. Enter your username and password and copy the Authorization header that is shown. Add this header in your code or API client, e.g. Postman.