PureDevTools

htpasswd Generator

Generate password hashes for Apache .htpasswd files

All processing happens in your browser. No data is sent to any server.

Enter a username and password to generate Apache htpasswd file entries in multiple hash formats. All hashing is done in your browser using the Web Crypto API.

Why This Tool

Apache’s .htpasswd files require passwords to be stored as hashes, not plain text. Creating these hashes usually requires the htpasswd command-line tool, which is not always available. This tool generates properly formatted htpasswd entries using bcrypt, SHA-1, or MD5 algorithms directly in your browser.

How It Works

Enter a username and password. Select the hashing algorithm (bcrypt is recommended for security). The tool generates the htpasswd entry in username:hash format. Copy the entry and append it to your .htpasswd file. All hashing happens in your browser — your password is never sent to any server.

Related Tools

More DevOps & Networking Tools