Htpasswd Generator - Apache Basic Auth Online

Generate htpasswd entries for Apache basic authentication. Supports bcrypt, MD5, and SHA1 hashing. 100% client-side.

Enter username and password above

About htpasswd

htpasswd files store username:password pairs for Apache HTTP Basic Authentication. The password is hashed using APR1-MD5 by default.

Usage in Apache

# .htaccess
AuthType Basic
AuthName "Restricted"
AuthUserFile /path/to/.htpasswd
Require valid-user

Related Tools