Skip to content

.htpasswd generator.

Make the user:hash lines Apache and nginx read for basic auth, with bcrypt, APR1-MD5 or SHA-1, and the config to switch it on. Hashed in your browser.

.htpasswd generator.

Loading the tool…

Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.

Get Pro

How it works

3 steps, no account. It runs in your browser and nothing is uploaded.

  1. Add the users

    One or several, each with a password you type or draw at random.

  2. Pick the hash

    bcrypt where the server supports it, APR1-MD5 for the widest support.

  3. Copy the file and the config

    Download .htpasswd and paste the Apache or nginx lines into your config.

Pricing

Build it with Pro

The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

Questions and answers

Before you trust the result: what to know about the format, the limits, your data and the tools next to it.

4.9 out of 5 from 150+ developers

Build the product around it

Every block, template and icon, installed by your AI agent in your theme. The tools stay free.

Get Pro