HTTP Basic Auth Header Generator

Turn a username:password pair into an HTTP Authorization: Basic header and a ready curl command. Runs locally in your browser.

About this tool

Basic authentication sends base64(username:password) in the Authorization header. Enter user:password on the first line. Base64 is encoding, not encryption, so only use Basic auth over HTTPS. Nothing you type leaves your browser.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter