Encoding
<username>:<password>
🔑
Enter username and password to generate auth header

How Basic Authentication Works

Encoding Process

The credentials are combined as username:password, then Base64-encoded. The result is sent in the Authorization header as Basic <token>.

Security Warning

Basic Auth only encodes credentials, it does NOT encrypt them. Always use HTTPS when sending Basic Auth headers to prevent credential exposure.

Common Use Cases

Basic Auth is commonly used with REST APIs, internal tools, reverse proxies (nginx), CI/CD pipelines, and testing environments.