Convert username and password into an Authorization Basic header.
Authorization: Basic base64(username:password)
Password strength
Fair
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.
Format, validate, and minify JSON payloads in one place.
Encode plain text to Base64 or decode Base64 back into text.
Encode and decode query-safe URL values for links and APIs.
Convert Unix timestamps into readable dates and back again.
Generate SHA hash values from plain text input.
Generate one or more UUID v4 values for development and testing.