Free htpasswd generator
Create a line for an .htpasswd file to password-protect a folder on Apache or nginx.
Runs in your browser. Nothing you type is sent to us · free, no sign-up
htpasswd generator
Loading the tool
Prefer to call?
071 577 0488, any hour, in Sinhala or English.
How to read the result
Enter a username and password and the generator creates a line for an .htpasswd file, used to password-protect a folder with Apache basic authentication or nginx auth_basic. APR1-MD5 is Apache's default format.
Questions people ask
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.
14More Utilities tools
- Password generatorStrong random passwordsOpen →
- Base64 encoder and decoderEncode and decodeOpen →
- URL encoder and decoderPercent-encode textOpen →
- HTML entities encoderEscape and unescapeOpen →
- Hash generatorMD5, SHA-1, SHA-256 and moreOpen →
- QR code generatorSVG QR codesOpen →
- UUID generatorRandom v4 UUIDsOpen →
- JWT decoderHeader, payload and expiryOpen →
- JWT generatorSign an HS256 tokenOpen →
- Regex testerLive matches and groupsOpen →
- Text diff checkerCompare two textsOpen →
- Unix timestamp converterUnix time to datesOpen →
- Password breach checkerSeen in a data breach?Open →
- nginx and Apache config generatorGenerate a virtual hostOpen →