Developer tools

Basic Auth header generator

Create an HTTP Basic authorization header locally.

Basic Auth header generator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Sensitive results stay in this page’s memory. Take care when copying or downloading them.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Builds “Basic ” plus Base64 of username:password encoded as UTF-8. Usernames cannot contain a colon. Basic Auth is reversible encoding and should only be sent over HTTPS; server support for UTF-8 varies.