Basic Auth Generator

Build an HTTP Basic Authentication header — computed entirely in your browser

Credentials

These never leave your device

Output

Authorization header & snippets

Basic YWRtaW46c2VjcmV0
curl -H "Authorization: Basic YWRtaW46c2VjcmV0" https://api.example.com
fetch("https://api.example.com", {
  headers: { "Authorization": "Basic YWRtaW46c2VjcmV0" }
});