htpasswd Generator
Generate .htpasswd entries online — create bcrypt password lines for Apache and nginx basic auth with adjustable cost. Runs locally.
About htpasswd Generator
Enter a username and password to get a ready-to-paste .htpasswd line using bcrypt — the strongest hash Apache and nginx basic authentication support.
Adjust the bcrypt cost factor to trade hashing time for brute-force resistance. Generation runs in your browser via bcryptjs.