Convert username and password into an Authorization Basic header.
Authorization: Basic base64(username:password)
curl
curl -X GET "https://api.example.com/v1/items" \ -H "Authorization: Basic Z29nb3RlbTp1c2VmdWwtdG9vbHM="
fetch
await fetch("https://api.example.com/v1/items", {
method: "GET",
headers: {
Authorization: "Basic Z29nb3RlbTp1c2VmdWwtdG9vbHM="
}
})HTTPie
http GET "https://api.example.com/v1/items" "Authorization: Basic Z29nb3RlbTp1c2VmdWwtdG9vbHM="
Processed in your browser
The username and password are not sent to the server. This page only displays the Base64 string created in the browser.
Convert username and password into an Authorization Basic header.
Files and text are processed in your browser and are not uploaded to the server.
Keep exploring
Jump into related tools from the same category and popular picks across Gogotem.
Compare fonts, test a local font, check contrast, and copy CSS.
Generate strong passwords with customizable length and character options.
Encode and decode query-safe URL values for links and APIs.
Generate one or more UUID v4 values for development and testing.
Test regular expression patterns against sample text with live match results and flag controls.
Turn links and short text into scannable QR code images.