Caddy htpasswd Generator - bcrypt Hash for basicauth
Generate bcrypt password hashes for Caddy basicauth. Copy-paste ready credentials for Caddyfile. Same output as 'caddy hash-password' command. Free online tool.
Fast (4) 14 (Caddy default) Secure (16)
Equivalent to:
caddy hash-passwordCaddyfile Configuration
# Protect a path with basicauth
example.com {
basicauth /admin/* {
username $2a$14$hash...
}
reverse_proxy localhost:8080
}
# Multiple users
basicauth /private/* {
alice $2a$14$hash1...
bob $2a$14$hash2...
}User List