🔑 HTTP Authentication Header Generator

Instantly generate a Basic or Bearer Authorization header value.

The result will appear here

How to use

  1. Choose Basic or Bearer.
  2. Enter a username/password or a token.
  3. Copy the generated Authorization header value.

🎯 Use Cases

Example

Input
Mode: Basic
Username: admin
Password: s3cr3t
Output
Authorization: Basic YWRtaW46czNjcjN0

In Basic mode the "username:password" string (admin:s3cr3t) is Base64-encoded. The result, YWRtaW46czNjcjN0, is used directly as the Authorization header value.

FAQ

How is a Basic auth header built?
The "username:password" string is Base64-encoded and used as Authorization: Basic <value>.
What is a Bearer token?
It's a way of passing an access token issued by OAuth2, JWT, etc. directly as Authorization: Bearer <token>.
Is the credential information I enter sent to a server?
No. All processing, including Base64 encoding, happens entirely in your browser.

More Security Tools

🔑
Password Generator
Generate strong random passwords
#️⃣
Hash Generator
Generate MD5, SHA-1, SHA-256 hashes
📱
QR Code Generator
Turn text/URLs into a QR code
🗝️
htpasswd Generator
Generate APR1-MD5 hashed passwords
🔍
SSL Certificate Viewer
Check issuer, validity & SANs
📜
CSR Viewer
Check CSR subject & public key info
♻️
SSL Certificate Converter
Convert PEM ↔ DER (HEX)
🤝
Cert/Key Pair Checker
Verify a certificate matches its private key
🩺
SSL Checker
Check HTTPS connectivity & trust
🪄
Self-Signed Certificate Generator
Generate a self-signed SSL cert & key
🔐
Base64 Encode/Decode
Convert text ↔ Base64
🪪
JWT Decoder
Inspect JWT header/payload, verify HS256
🎫
Random Token Generator
Generate Hex/Base64/UUID tokens
🔒
Jasypt Encrypt/Decrypt
Encrypt/decrypt Spring Boot ENC(...) values