Basic Auth Header Generator
Enter a username and password to build the HTTP Basic Authorization header used by API tools and curl. Everything runs locally in your browser — the password never leaves this page.
How to use
- Enter the username and password.
- Copy the generated Authorization header into your API client or code.
- Use the curl example to test the credentials from a terminal.
Tips
- Basic Auth is only Base64 encoding, not encryption — use it over HTTPS only.
- The header value always starts with the word "Basic" followed by the encoded string.
- Never hard-code credentials into client-side code or public repositories.
- Test the header with the curl example before wiring it into your app.
Note: Basic Auth is only Base64 encoding, not encryption — always use it over HTTPS. Credentials are processed only in your browser and are never sent anywhere.