HomeToolsHtpasswd Generator

Htpasswd Generator

Generate basic auth entries

Use these tools directly in Chrome

Install the DailyDevTools extension — access all tools from your browser toolbar

Add to Chrome

What is Htpasswd Generator?

The .htpasswd file is used by Apache web servers to store usernames and hashed passwords for HTTP Basic Authentication — protecting directories, staging environments, or internal tools without a full authentication system. DailyDevTools' htpasswd Generator creates .htpasswd entries using MD5-APR, SHA1, or bcrypt hashing directly in your browser, with no server involved.

How to use Htpasswd Generator

  1. 1Enter the username and password for the account you want to create
  2. 2Select the hash algorithm: bcrypt (most secure), MD5-APR (widely compatible), or SHA1
  3. 3Click Generate to create the htpasswd entry in the correct format (username:hash)
  4. 4Copy the entry and append it to your .htpasswd file on your server

Frequently asked questions

Comments