Basic Auth
Generate .htpasswd, cURL, URL, and Authorization header from ID and password in real time.
.htpasswd
Enter ID and password
cURL
Enter ID and password
URL
Enter ID and password
Authorization header
Enter ID and password
How to use
About this tool
Generates .htpasswd, cURL, URL, and Authorization header from ID and password in real time. Use for Apache .htpasswd or authenticated API requests.
How to use
Enter ID and password; server format (.htpasswd) and client formats (cURL, URL, Authorization header) plus others (wget, fetch, etc.) update in real time. Use each block's copy button to copy the format you need.
Use cases
β’ Apache .htpasswd for Basic auth β’ Authenticated cURL or wget requests β’ Generating Basic auth headers for API testing and development β’ Quick creation of auth-enabled URLs
How it works
Authorization: Basic uses the Base64 encoding of id:password (UTF-8) in the header. .htpasswd hashes the password with bcrypt and outputs a format compatible with Apache 2.4+.
Privacy and data
All processing is done in the browser; ID and password are never sent to a server.
