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
- Base64 Encoder/Decoder – Encode or decode data using Base64.
- Text Censor – Quickly mask bad words or replace them with alternative words.
- Create palindrome – Create text that reads the same forward and backward
- Email Extractor – Extract email addresses from text
- Extract substring – Extract a portion of text between specified positions
- Hidden Character Detector – Find hidden Unicode characters in text
- Join Text – Join text elements with a specified separator
- Palindrome – Check if text reads the same forward and backward
- Password Generator – Generate secure random passwords with custom options
- Text Quoter – Add quotes around text with various styles
- Randomize case – Randomize the case of letters in text
- Remove duplicate lines – Quickly delete all repeated lines from text
- Repeat Text – Repeat text multiple times
- Text Replacer – Quickly replace text in your content
- Reverse – Reverse any text character by character
- ROT13 Encoder/Decoder – Encode or decode text using ROT13 cipher.
- Rotate Text – Shift characters in text by position.
- Slug Generator – Generate URL-friendly slugs from text.
- Split – Split text into multiple parts using a separator
- Text Statistics – Get statistics about your text
- Table Text Converter – Convert tables between Markdown, CSV, HTML, MySQL, and JSON
- Compare Texts – Compare two texts and spot differences instantly
- String To morse – Quickly encode text to morse
- Truncate Text – Truncate text to a specified length
- Unicode Encoder / Decoder – Encode or decode text using Unicode escape sequences.
- Convert to Uppercase – Convert text to uppercase
- String URL decoder – Quickly URL-unescape a string.
- URL Editor – Inspect and edit URL components and query parameters.
- String URL encoder – Quickly URL-escape a string.