htpasswd Generator

Generate Apache htpasswd entries for HTTP Basic Authentication. Supports SHA1 hashing.

← All Tools

Frequently Asked Questions

Which algorithm should I use?

SHA1 is widely compatible. Never use plain text in production environments.

Where do I put the htpasswd file?

Store it outside your web root (e.g. /etc/apache2/.htpasswd) and reference it in your config.

Can I add multiple users?

Yes! Generate one entry per user and add each on a new line in your .htpasswd file.