Htpasswd Generator
Create an htpasswd entry for basic authentication from a username and password, generated in your browser so nothing is sent.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Generate an Apache .htpasswd entry for HTTP basic authentication. Enter a username and password and get a line in the SHA-1 format used by htpasswd -s. Hashing happens in your browser, so the password is never uploaded. Paste the line into your .htpasswd file.
How to Use Htpasswd Generator
- Enter the username. Type the username for the entry.
- Enter the password. Type the password to hash.
- Generate the line. Select the button to create the htpasswd line.
- Copy it. Paste the line into your .htpasswd file.
Frequently Asked Questions
What is an htpasswd file?
It stores usernames and hashed passwords for HTTP basic authentication on Apache and Nginx servers.
Where does the line go?
Into the .htpasswd file referenced by your server configuration, one line per user.
Is the password stored?
No. The password is hashed in your browser to build the line, and nothing is saved or uploaded.
Is anything sent to a server?
No. This tool runs entirely in your browser, so the values you enter, including any secrets, never leave your device.
Is it free?
Yes. Every tool here is free to use with no sign up.
Related Tools
AES-256 Text Encryptor →
Encrypt and decrypt text with AES-256-GCM encryption. Works 100% offline in your browser using…
Bcrypt Generator And Hash Verifier →
Bcrypt Generator And Hash Verifier password hashes. Secure bcrypt encryption with adjustable cost factor.…
CSS Box Shadow Generator →
Visual box-shadow builder with multi-layer support, 9 presets (Material elevation, neumorphic, glassmorphic, glow), per-shadow…
CSS Text Shadow Generator →
Multi-layer CSS text-shadow builder with 8 classic presets (outline, neon, 3D, retro), editable preview,…
Hash Generator →
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file, all…
JWT Decoder →
Decode a JWT to read its header and payload claims, parsed in your browser…
JWT Generator →
Generate a signed HS256 JSON Web Token from a payload and secret, created in…
Password Generator →
Create strong random passwords with custom length and character types, generated in your browser…
Password Strength Checker →
Test how strong a password is with a rating, a meter, and improvement tips,…
PBKDF2 Hash Generator →
Derive a PBKDF2 key from a password and salt with custom iterations and length,…
RSA Key Generator →
Generate an RSA public and private key pair in PEM format in your browser,…
SHA Hash Generator →
Create SHA-1, SHA-256, SHA-384, and SHA-512 hashes from any text, computed in your browser…