.htpasswd Generator
Category: Security
Generate salted bcrypt htpasswd entries locally and verify existing bcrypt passwords.
Loading utility. If this message remains, reload the page or check your browser console.
How to use .htpasswd Generator
- Enter a username and password, then choose a bcrypt cost.
- Select Generate bcrypt entry to create a salted entry for your server configuration.
- To check an entry, paste its bcrypt hash or username:hash line and select Validate password.
Common use cases
- Create bcrypt entries for HTTP basic authentication.
- Verify a password against an existing bcrypt entry locally.
Frequently asked questions
What does this tool support?
Uses a random cryptographic salt and Apache-compatible bcrypt ($2y$). Generation cost 10–14; passwords are limited to 72 UTF-8 bytes to prevent truncation. Verification accepts bcrypt costs 4–14. No weak legacy hash modes.
Does this tool send my input to a server?
No. Processing runs locally in your browser. It does not contact a backend, cluster or external data service.
How do I save the result?
Use Copy result or Download result. Structured inspections export JSON; conversion actions use their corresponding output file format.
Privacy and security
This utility processes inputs locally in your browser. Our application does not upload your input or results to a backend service.
No registration or installation is required.
Always verify generated results before using them in production environments.
Explore more free tools
Base64 Encoder / Decoder ↗
Encode and decode UTF-8 text using Base64 and Base64URL.
SecurityJWT Decoder ↗
Decode JWT headers and payloads without verifying signatures.
SecurityHash Generator ↗
Generate SHA-256, SHA-384 and SHA-512 hashes from text.
SecurityHMAC Generator ↗
Generate HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512 authentication codes.