Web Tools
HTTP Basic Auth Generator
Encode and decode HTTP Basic Authentication headers. Generate Authorization: Basic headers from username and password, or decode existing headers to extract credentials. Runs entirely in your browser — your data never leaves your machine.
http basic-auth authorization headers base64
Published May 31, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Enter a username and password to generate an Authorization: Basic header. The credentials are combined as username:password and Base64-encoded. Switch to decode mode to extract credentials from an existing header.
Features
- Encode mode: generate Authorization headers from username and password
- Decode mode: extract credentials from Basic auth headers or raw base64
- Flexible input: accepts
Basic <token>,Authorization: Basic <token>, or raw base64 - Password with colons: correctly handles passwords containing colon characters
- Validation: checks for invalid characters and encoding errors
- 5 preset examples: Simple Login, API Key, Email User, Token Auth, Special Chars
- Private: all computation runs in your browser — no data transmitted
Use Cases
- Generating auth headers for API testing with curl or Postman
- Debugging HTTP authentication issues
- Decoding Basic auth headers from server logs
- Setting up CI/CD pipeline credentials
- Testing webhook authentication configurations