HTpasswd Generator Online
htpasswdApacheNginx认证Basic Auth
Generate Apache htpasswd entries instantly with {SHA} and salted {SSHA} algorithms for Nginx/Apache Basic Auth configs, generated locally.
Username
Password
Algorithm
Output
The generated htpasswd entry will appear here...
All processing is done locally in your browser, no upload
How to Use
- Paste any valid JSON, supports nesting, arrays and escapes
- Click Beautify to auto indent and format
- Click Minify to remove whitespace into one line
- All operations run locally for privacy
Related Tools
FAQ
How do I use the result?
Copy the whole line into your htpasswd file; format is username:{SHA}or{SSHA}hash, used with Nginx/Apache Basic Auth directives.
Difference between {SHA} and {SSHA}?
SSHA appends a random salt before encoding, resisting rainbow tables better; it is the recommended option.
Will my data be uploaded?
No, everything is generated locally in your browser.