Basic Auth Generator
Create HTTP Basic Authorization headers and curl commands from a username and password locally.
This tool runs entirely in your browser. Your input is never uploaded.
Enter a username (and optionally a password) to generate the header.
Basic Auth Generator
Enter a username and password to instantly generate the Base64-encoded Authorization header value, along with a ready-to-use curl command. This is useful when testing APIs that require Basic authentication.
Everything is generated locally in your browser using the Web Crypto API, so no credentials leave your device.
Related tools
Base64 Encoder and Decoder
Encode and decode UTF-8 text, files, and Data URLs.
Open ToolHash Calculator and File Checksum
Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 for text and files, and compare checksums.
Open ToolJWT Inspector and Generator
Inspect JWTs locally or generate test tokens with an HMAC secret.
Open Tool