Bcrypt Hash Generator

Type a string and choose the number of salt rounds (the cost factor) to get a bcrypt hash, such as one for a test user or a config file. The hash is computed in your browser with the bcryptjs library, so the text you type is not sent to a server.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How do I generate a bcrypt hash?

1. Enter the string to hash. 2. Choose the salt rounds. 10–12 is a common range, and each extra round doubles the work. 3. Copy the hash, which starts with $2a$ or $2b$ followed by the cost.

Why every hash looks different

Bcrypt adds a random salt each time, so hashing the same password twice gives two different results. Both are valid: a bcrypt library checks a password against the salt stored inside the hash.

Don't paste real passwords into random websites

Many online bcrypt generators run on a server, so the password you type travels over the internet. This tool hashes in your browser. Even so, for production credentials, generate hashes in your own application or CLI.

Frequently asked questions

Can I verify a password against a bcrypt hash here?

Not at the moment. This tool generates hashes only.

How many salt rounds should I use?

10–12 is common today. Higher is slower to compute and slower to attack. Test what your server can handle.

Can bcrypt be decrypted?

No. Bcrypt is a one-way hash. You can only check a guess against it.

Is my input sent to a server?

No. Hashing runs in your browser.

Español: Generador de hash bcrypt

Português: Gerador de hash bcrypt

More Text Tools