Skip to content
ProgrammerKit

.htpasswd Generator

Generate Apache .htpasswd lines (SHA-1) in your browser.

Free · Runs in your browser · Last updated

The {SHA} format uses SHA-1 + base64. For bcrypt or APR1, use the htpasswd CLI on your server. Never enter real production passwords here.

About this tool

Create Apache .htpasswd entries using the {SHA} format (SHA-1 + base64) — the only secure form computable in-browser without WASM.

Privacy

All processing for .htpasswd happens locally inside your browser using JavaScript. Your input is never uploaded to a server, logged, or shared with third parties.

Frequently asked questions

Is the .htpasswd free to use?

Yes. .htpasswd is completely free for both personal and commercial projects. There are no usage limits, no sign-up, and no premium tier.

Is my data safe when I use .htpasswd?

All processing happens locally in your browser using JavaScript. Your input is never uploaded to our servers, logged, or shared with any third party.

Does .htpasswd work offline?

Once the page has loaded, the tool runs entirely client-side. You can disconnect from the internet and it will keep working in the same browser tab.

Which browsers are supported?

.htpasswd works in all modern browsers, including the latest versions of Chrome, Firefox, Safari, Edge, Brave, and Opera, on desktop and mobile.

Do I need to install anything?

No. .htpasswd runs in any modern web browser with no installation, browser extension, or account required.

More developer tools