FertiJourney Dev Tools 🏠← All tools

htpasswd Generator

Generate Apache htpasswd lines with BCrypt (recommended), APR1 or SHA1 — 100% client-side.

Enter a username + password, choose an algorithm and click Generate. BCrypt (cost factor 4–31) is the recommended, most secure option — uses bcryptjs loaded from CDN. APR1 is the Apache-specific MD5 crypt ($apr1$) implemented here from scratch in pure JS, compatible with older Apache httpd. SHA1 produces {SHA}+base64, supported by Apache but weak — use only when you must. Output is a single "username:hash" line you can paste into your .htpasswd file. Nothing is uploaded.