100% Private

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-password
Caddyfile 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

Related Tools

View all Security generators →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.