Skip to content

.htpasswd Generator

Create an Apache password entry to put a folder behind a login

What .htpasswd is

Apache can ask for a username and password before it serves a directory. The passwords live in a file called .htpasswd, one line per user, stored as a hash. This tool writes that line for you; paste it into the file and point .htaccess at it.