Tested tool guide
Tested browser tools
Checked August 16, 2026
What htpasswd Generator does, with a checked example
The htpasswd Generator turns a username, password, and hash-format choice into the single colon-delimited line Apache can read from a password file. It supports bcrypt, MD5, and the legacy {SHA} form, making it useful when the htpasswd command is unavailable. The important surprise is that bcrypt and MD5 include random salts: repeating identical inputs can produce a different, still-valid hash. Because the entered password is sensitive, generation happens entirely in the browser and nothing is uploaded.
Worked example
A concrete input and expected output from the current implementation.
Input
Username: alice
Password: password
Algorithm: SHA-1
->
Expected output
alice:{SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g= The SHA-1 digest of "password" is Base64-encoded as W6ph5Mm5Pz8GgiULbPgzG37mj9g=. The generator prefixes that value with {SHA} and joins it to the username with a colon.