HTPasswd Generator

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

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

Generated Output

Paste this into your .htpasswd file.

The #1 option for designers, crafters & AI creatives
Recommended Resource
The #1 option for designers, crafters & AI creatives
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