HTPasswd Generator

Generate Apache .htpasswd entries instantly with APR1, bcrypt, or SHA-1.

Eleven Labs - Edit Audio like a PRO!
Recommended Resource
Eleven Labs - Edit Audio like a PRO!
Learn More

Generated Output

Paste this into your .htpasswd file.

Convert images for Free
Recommended Resource
Convert images for Free
Learn More

To protect a specific folder, place a .htaccess file inside the directory you want to secure. The rules defined in this file apply to that directory and all of its subdirectories. A typical .htaccess configuration looks like this:

.htaccess Example

The corresponding .htpasswd file should be stored at the location specified by the AuthUserFile directive, for example /path/to/.htpasswd. This file contains the usernames and encrypted passwords used for authentication. A typical .htpasswd file looks like this:

.htpasswd Example