← All Tools

htpasswd Generator

Generate HTTP Basic Auth credentials for Apache and Nginx. All hashing happens in your browser.

๐Ÿ”‘ Credentials

๐Ÿ“‹ Current Entry

admin:{SHA}...

๐Ÿ“„ htpasswd File

Add multiple users to build a complete htpasswd file.

No entries yet. Add credentials above.

โ„น๏ธ Usage

Apache httpd: Place the file at a secure path and reference it in your .htaccess or httpd.conf:
AuthType Basic / AuthUserFile /path/.htpasswd / Require valid-user

Nginx: Use the auth_basic directive:
auth_basic "Restricted"; / auth_basic_user_file /path/.htpasswd;
โœ“ Copied!