Generate .htpasswd entries with a username and hashed password for nginx and Apache Basic Auth.
Htpasswd Generator is a free online tool that creates username:hash entries for .htpasswd files used by nginx and Apache for Basic Auth. Enter a username and password, choose a hashing algorithm (bcrypt for new configs, Apache MD5 for legacy compatibility), and get the formatted string. The tool runs in your browser and does not send data to the server.
Choose a related tool for the next step.
Data passed between tools is kept only in the current browser session.
Htpasswd Generator creates a username:hashed_password entry for .htpasswd files used by nginx and Apache for Basic Auth. The tool accepts a username and password, hashes the password with the chosen algorithm, and formats the output string.
Use bcrypt for new configurations, or Apache MD5 apr1 for compatibility with older setups. Basic Auth must always be used over HTTPS because credentials are sent with every request. The .htpasswd file must never be committed to git or made publicly accessible.
All processing is done locally in the browser. Your username and password are not sent to the server.