htpasswd Generator

Create a hashed password to write into a .htpasswd file

Features

Supports 4 encryption methods

Choose bcrypt, MD5 (APR), SHA-1, or crypt

Generate multiple users at once

Add rows to create a .htpasswd all at once

Adjust the bcrypt cost value

Finely set the hash strength from 4 to 31

Copy and save the generated result

Save it as .htpasswd with one click

How to use

1

Enter the username and password

Fill in each row with the username used for authentication and any password

2

Select the encryption method to use

Specify the method that fits your purpose from MD5 (APR), SHA-1, crypt, or bcrypt

3

Add as many input fields as needed

Use the add button to add input fields 5 at a time and register multiple users together

4

Press the generate button to get the result

Press the generate button and copy or download the .htpasswd-format string

htpasswd Generator

Use cases

Setting up Basic authentication

Quickly prepare the credentials to write into Apache's .htpasswd

Protecting member-only pages

Apply access restrictions to sites under development or to limited-release pages

Registering multiple accounts at once

Issue credentials for all team members together and distribute them

Matching an existing method

Choose the encryption method your server supports to fit even legacy environments

Basic Knowledge

What is Basic Authentication

Basic authentication is a simple access restriction method used by web servers that prompts users to enter an ID and password before accessing a page. It is commonly used to protect pre-launch sites and member-only pages.

What is .htpasswd

.htpasswd is a file that stores pairs of usernames and hashed passwords used in Basic authentication. Passwords are converted into a form that cannot be reverted to their original string.

What is bcrypt

bcrypt is a hashing method designed for passwords with intentionally slow computation. It is resistant to brute-force attacks, and increasing the cost parameter makes decryption even more difficult.

Safety and Privacy

Runs entirely in your browser

Your input data is processed only within your browser and is never sent externally.

Processing only in your browser

generating hashes is processed entirely within your browser, and input data is not sent to any server.

Communications encrypted with HTTPS

Page loading is also encrypted by TLS, and content cannot be read by third parties.

No transmission to third parties

Input content is not sent to external services such as ad networks or trackers.

No automatic saving of results

the password you enter and input suggestions are not stored on the server.

Follow RAKKOTOOLS on Google Search

220 useful tools become easier to find from Google Search and AI Search!

  • Found in search
  • Also shown in AI Search
  • Discover new tools
Related Tools

RAKKOTOOLS is free to use!

Available free of charge for individuals and corporations, commercial and non-commercial use alike.No prior permission or usage application is required. Feel free to use it in various situations.

  • Use in streaming and videos

    Use various tools such as lottery draws and raffles in live streams and videos.

  • Use in schools, work, and events

    Can be used in various situations such as classes, team division, internal work, and events.

  • Introduction on Web, books, and SNS

    Feel free to introduce it as a useful tool on web media, books, SNS, and other platforms.

  • Commercial use

    Can be used for commercial purposes such as research, calculation, processing, and conversion in business and production.

If you mention it, I get motivated to create more tools!

If using in streaming and videos

Link to RAKKOTOOLS in the description, or Mention or display that you are using RAKKOTOOLS in the stream or video.

Credit example for the description

RAKKOTOOLS https://rakko.tools/en

Usage guidelinesYou are free to use it for normal purposes. However, use for purposes that violate laws, infringe on third-party rights, impose significant load on the service, or otherwise interfere with service operation is prohibited.

We do not guarantee the accuracy or completeness of information and calculation results obtained from each tool.

This notice is a translation of the original Japanese text. If there is any discrepancy between the translation and the original, the Japanese original takes precedence.