Free Tools
htpasswd Generator
Generate secure .htpasswd entries for Apache & Nginx basic auth ? bcrypt, APR-MD5, and SHA-1 supported.
100% client-side ? your credentials never leave your browser
Generate Entry
—
10
slower = safer
Generated Entry
Password Used
.htpasswd File Builder
Generate entries above and click Add to File to build a complete .htpasswd file.
Algorithm Comparison
bcrypt
Adaptive, saltedBest
APR-MD5
1000× iterated MD5OK
SHA-1
Single hash, no saltWeak
Usage — Apache (.htaccess)
AuthType Basic AuthName "Restricted" AuthUserFile /path/to/.htpasswd Require valid-user
Usage — Nginx
location /protected { auth_basic "Restricted"; auth_basic_user_file /path/to/.htpasswd; }
Security Tips
File locationOutside public_html
File name.htpasswd (hidden)
Permissionschmod 640
Min password12+ characters
Professional Web Services
Need more than a tool?
Seth Brand Tech Care builds websites, solves technical issues, and supports small businesses with practical web help. Direct work, no outsourcing.