.htpasswd Generator
Generate Apache/Nginx .htpasswd entries.
.htpasswd
Everything runs locally — passwords never leave your browser.
Create a username:hash line for HTTP basic authentication using bcrypt or SHA-1.
How to use
- Enter a username and password.
- Choose bcrypt (recommended) or SHA-1.
- Copy the line into your .htpasswd file.
Frequently asked questions
- Which algorithm should I use?
- bcrypt is the most secure and widely supported by modern Apache and Nginx.
- Is the password stored?
- No, hashing happens entirely in your browser.