.htpasswd Generator
Generate .htpasswd lines for Apache and Nginx basic authentication – bcrypt, Apache MD5 (apr1) or SHA-1, entirely in your browser.
Paste the line into your .htpasswd file (one user per line). The password is processed only in your browser.
What is the .htpasswd Generator used for?
Use it to create .htpasswd lines for password-protecting a website folder on Apache or Nginx.
When to use it
- Protecting a staging or admin area
- Quick basic authentication for a private page
- Adding users to an existing .htpasswd file
About this tool
Generate .htpasswd lines for Apache and Nginx basic authentication – bcrypt, Apache MD5 (apr1) or SHA-1, entirely in your browser. Everything runs inside your browser, so it is fast, works on phones and computers, and nothing you do here is uploaded to a server.
Any permissions the tool needs – such as your microphone or camera – are only used while the page is open, and you can revoke them at any time from your browser’s address bar.
Frequently asked questions
Do I need to install anything?
No. It works in any modern browser on Windows, Mac, Linux, Android and iPhone – just open the page.
Is my data uploaded?
No. The tool runs locally in your browser. Recordings, files and settings stay on your device.
Is it free?
Yes – completely free, with no sign-up and no limits.