Developer Tools

Htpasswd Generator — Basic Auth Credential Tool

Encode a username and password into a .htpasswd line using bcrypt for Nginx auth_basic and similar HTTP basic authentication setups.

htpasswdNginxAuth

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Protect an internal dashboard with HTTP Basic Auth
  • Generate an Nginx auth_basic user line
  • Temporarily lock down a static directory

How to use

  1. Enter username and password
  2. Generate the single .htpasswd line
  3. Copy it into the server auth file

Example input and output

Input

admin / secret

Output

admin:$2y$...

FAQ

Which algorithm is used?

It currently generates bcrypt entries compatible with common Nginx and Apache basic-auth setups.

Does this replace a full account system?

No. It only outputs a basic-auth file line for lightweight directory protection.

Tools

Related tools

Continue with another translated tool for a nearby task.

Nginx Config Generator

Nginx Config Generator — Server Block Builder

Available

Generate Nginx server blocks from form options, including reverse proxy, WebSocket, SSL, Gzip, and basic security headers. Copy or download conf files for static sites and app reverse-proxy starters.

Nginx Config Reverse Proxy

Bcrypt Hash Generator

Bcrypt Hash Generator — Online Hash and Verify Tool

Available

Generate bcrypt password hashes and verify plaintext locally in your browser. Adjust rounds to control cost for manual database writes and hash comparison.

bcrypt Password Security