Htpasswd Generator
Generate Apache .htpasswd password hashes online. Enter username and password to produce an MD5 or bcrypt htpasswd hash for basic HTTP authentication.
Used 12.2K times today
How to Use Htpasswd Generator
- 1
Enter username and password
Type the username and the password you want to hash.
- 2
Select hash algorithm
Choose MD5 (APR1) for broad compatibility or bcrypt for stronger security.
- 3
Copy the htpasswd entry
Copy the generated user:hash line and add it to your .htpasswd file.
Frequently Asked Questions
Which hash format is more secure?
Is my password sent to a server?
Embed This Tool
Add this tool to your website for free. Just copy and paste the code below:
<iframe src="https://utilko.com/embed/htpasswd-generator/" width="100%" height="500" frameborder="0" title="Htpasswd Generator"></iframe> About Htpasswd Generator
The Htpasswd Generator on Utilko creates properly formatted Apache .htpasswd entries for HTTP basic authentication — choose MD5 or bcrypt hashing, all computed client-side for privacy.
More Category Tools
Random MAC Address Generator
Generate random MAC addresses in colon, dash, or dot-separated format. Bulk generate up to 100 at a time. Fully random and locally generated.
CSP Header Generator
Visually build a Content-Security-Policy HTTP header. Enable directives like script-src, style-src, and img-src with checkboxes. Copy the generated header string.
SSL Certificate Decoder
Paste a PEM SSL certificate and decode it to see subject, issuer, validity dates, Subject Alternative Names, and key type. Client-side decoding.
JWT Generator
Generate JSON Web Tokens for testing. Select algorithm (HS256, HS384, HS512), add payload claims, enter a test secret, and get a signed JWT. Not for production use.
WiFi Password Generator
Generate strong, secure WiFi passwords. Choose length, include numbers, symbols, and avoid ambiguous characters. Create WPA2-compatible passwords instantly.
IP Subnet Calculator
Calculate subnet information from IP address and CIDR notation. Get network address, broadcast address, usable host range, and total host count instantly.
Port Number Lookup
Look up common TCP and UDP port numbers and their associated services. Search by port number or service name. Includes well-known and registered ports.
MAC Address Lookup
Look up the manufacturer/vendor of any MAC address or OUI prefix. Enter a MAC address to identify the network adapter vendor from the IEEE OUI database.