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.
Save this result, compare previous runs, or share a report.
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.
Convert Unix timestamps into readable dates and back again.
Choose the exact formatting, validation, or data conversion task you need without jumping between duplicate pages.
Plan monthly calls, peak RPS, cache savings, concurrency, and rate-limit headroom by endpoint.
Encode plain text to Base64 or decode Base64 back into text.
Encode and decode query-safe URL values for links and APIs.