Basic Auth Generator
Create or decode UTF-8 Basic Authorization headers, with ready-to-copy curl and fetch snippets.
How to use
Choose Generate, enter a username and password, and optionally change the example request URL. The Authorization header, curl command, and fetch snippet update immediately. The password remains only in this tab's memory. Choose Decode to inspect an existing Authorization: Basic … header or bare token. Basic authentication is encoding, not encryption: always use it over HTTPS and avoid putting credentials in logs, URLs, or shared terminals.
FAQ
Is Basic authentication encrypted?
No. It is only Base64-encoded, so anyone who sees the header can recover the username and password. HTTPS protects it in transit.
Are the credentials stored or sent anywhere?
No. The password and decoded header stay in memory and all encoding happens locally in your browser.