Basic Auth Header Generator
Generate (or decode) HTTP Basic Authorization headers from username and password.
Runs locally in your browser. Your input is not uploaded.
How to Use
- 1
Enter user:password
Or paste a header and switch direction to decode.
- 2
Copy the header
The Authorization: Basic line plus curl equivalents.
- 3
Use over HTTPS only
Basic auth credentials are readable by anyone who sees the header.
Frequently Asked Questions
- The client sends Authorization: Basic <base64(user:password)> with each request. This tool builds that header from your credentials, plus ready-made curl commands.
Related Tools
Password Strength CheckerCheck password strength and crack time estimateAES EncryptionEncrypt and decrypt text with AES-256 in your browserTOTP / 2FA GeneratorGenerate TOTP codes from a secret key (Google Authenticator compatible)SHA-256 GeneratorGenerate SHA-256 hashes from any textMD5 GeneratorGenerate MD5 hashes for checksums and fingerprintingSalt GeneratorGenerate cryptographic salt values for password hashingJWT BuilderBuild and sign JWT tokens with a custom payload and secretXOR CipherEncrypt or decrypt text with a XOR key