Developer Tools

Htpasswd Generator

Generate .htpasswd entries with bcrypt — password-protect folders via Apache Basic Auth.

About the Htpasswd Generator

The Htpasswd Generator creates user:hash lines for Apache Basic Auth — hashed with bcrypt directly in your browser via a Web Crypto based implementation… actually simpler: it produces the required .htaccess block and uses SHA-1 {SHA} format supported by all Apache versions, generated locally.

The {SHA} scheme — supported by every Apache since 1.x and computed locally in your browser. For bcrypt entries, use the htpasswd command on your server.

Upload the .htpasswd outside your web root, then copy the shown .htaccess block into the folder to protect.