Free Htpasswd Generator

Easily generate secure entries for your Apache `.htpasswd` and `.htaccess` files. Supports modern Bcrypt, legacy SHA-1, and Plain Text hashing directly in your browser.

Credentials
Bcrypt: Extremely secure. Uses a cost factor of 10. Recommended for all modern Apache servers (version 2.4 and newer).
Encrypting Password...
Generated Entry
Ready for .htpasswd file
Username and hash will appear here...

What is an .htpasswd File?

An .htpasswd file is a flat-file used to store usernames and passwords for basic authentication on Apache HTTP Servers. It works in conjunction with an .htaccess file to restrict access to specific directories on your website.