# htpasswd generator

URL: https://datacenter.lk/htpasswd-generator.php
Last updated: 2026-12-05

Create a line for an .htpasswd file to password-protect a folder on Apache or nginx. Free, no sign-up, runs in your browser.

## Questions

**Where do I put the .htpasswd file?**
Outside the public web folder if you can, then point AuthUserFile (Apache) or auth_basic_user_file (nginx) to it.

**Is the password sent to you?**
No. The line is created in your browser.

**Is this tool free?**
Yes, free with no sign-up, and it runs entirely in your browser.
