htpasswd Generator

htpasswd Generator. Local browser processing.

Convert in your browser · No sign-up

Generate a username:hash line using bcrypt or Apache {SHA}. Username cannot contain a colon or newline.

bcrypt: 4–14 / 72 UTF-8 bytes; SHA-1: {SHA}

How to use

  1. Enter your data and parameters, or load the example.
  2. Choose the operation and confirm the input format.
  3. Run the tool, then copy or download the result.

Example

demo:$2b$10$…

Details and limitations

Everything runs in your browser; text, files and keys are not uploaded.

Input is limited to 100,000 characters per field. Cancel stops the worker and discards the pending result.

Demo keys and passwords are public examples. Generate your own key before using real data.

Compatibility algorithms such as DES, RC4, MD2, MD4, SHA-1 and Type 7 are retained for existing systems; choose a modern algorithm for new designs.

FAQ

Are my keys or files uploaded?

No. Calculation happens locally in a Web Worker. Clearing or leaving the page discards its working state.

Format references

Tool page updated: