Security & privacy
Basic Auth Generator & Decoder
Encode a username and password as UTF-8 then Base64 to get the HTTP Authorization: Basic header, with ready-to-paste curl and fetch examples, or paste an existing Basic header to recover the username and password.
Local processing · Fits its container · Updated without touching your code
Embed this widget
Customize the result, check the live preview, then copy the code.
Preview
Embed code type
Responsive and automatically resized by Bethemesh.
Code to copy
Need help with the integration?
The documentation details the options, themes, sizes and the integration in each CMS. The code works in an HTML page, WordPress, Webflow, Wix, React, Vue or Astro.