DevToolsKit

htpasswd Generator

Basic-auth lines with bcrypt.

Append the line to your .htpasswd file for nginx or Apache basic auth. bcrypt with cost 10–12 is the right default; SHA-1 exists only for ancient servers. Hashing runs locally — this page loads no third-party scripts, so the password never leaves your browser.

About this tool

Generate .htpasswd entries for nginx and Apache basic auth with bcrypt (or legacy SHA-1) — hashed locally, so the password never leaves your browser.

It runs completely in your browser — no input is sent anywhere, and this page loads no ads or third-party scripts, so it is safe to use with data you would not paste into a hosted service.

Related tools