Skip to content

htpasswd Generator

Generates the user:hash line ready for .htpasswd using bcrypt — the only acceptable scheme among those the format supports. The hash is computed in your browser, so the password never travels.

# processed in your browser. your content never leaves.

How it works

bcrypt runs in JavaScript in the browser. A higher cost means a hash slower to compute and slower to attack; 12 is the usual balance. The computation takes a few seconds on purpose.

  • bcrypt with configurable cost, default 12
  • Multiple users at once, one line per pair
  • Copy-ready output, with a file permission reminder
  • Nginx and Apache configuration snippets alongside

Related tools

See all tools →