Basic Auth header generator
Type a username and password to get the full HTTP "Authorization: Basic" header and the raw base64 value — each with one-click copy. UTF-8 safe. Nothing is uploaded.
Username
Password
Decode a header
Paste an "Authorization: Basic …" header or a bare base64 value to recover the username and password.
Username
Password
Everything runs in your browser. No upload, no sign-up.
How it works
STEP 1
Enter the credentials
Type the username and password. They are joined as "user:pass" and encoded right here on your device — nothing is sent anywhere.
STEP 2
Get the header and base64
See the ready-to-use "Authorization: Basic <base64>" header and the bare base64 token, UTF-8 encoded so non-ASCII credentials work.
STEP 3
Copy or decode
Copy either value with one click for curl, fetch or your API client — or paste an existing header into Decode to recover the username and password.