# Bcrypt Hash Generator > Use this Bcrypt hash generator to create a Bcrypt password hash. Hash text or encoded bytes and copy the complete salted result for verification. This **Bcrypt hash generator** creates a salted password hash from text or encoded bytes. Use it to prepare development fixtures and understand the encoded value needed for verification. Password hashing is one-way; it does not encrypt a password for later decryption. ## Overview & Metadata - **Canonical URL:** https://million.tools/bcrypt/ - **Markdown Copy (.md.txt):** https://million.tools/bcrypt.md.txt - **Plain Text Copy (.txt):** https://million.tools/bcrypt.txt - **API Endpoint:** https://million.tools/api/v1/run/bcrypt (POST, Keyless, 60 req/min) - **SEO Title:** Bcrypt Hash Generator Online | Password Hashing - **Alternative Names:** Bcrypt Password Hasher, Generate Bcrypt Hash, Bcrypt password hash generator, Online Bcrypt generator, Bcrypt hashing tool - **Category:** [Hash](https://million.tools/hash/) - **Tags:** [#Bcrypt](https://million.tools/tag/bcrypt/) - **Application Category:** `DeveloperApplication` - **Platform:** Web (All modern desktop and mobile browsers, requires JavaScript) - **Price:** Free ($0.00 USD, no registration or sign-up required) - **Live Calculation:** Supported (`Auto / Live` toggle enabled by default) - **Usage Statistics:** 351 views - **Published:** 2026-11-20 - **Last Updated:** 2026-11-20 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Generate bcrypt password hashes at cost 12 - Use a random salt for each hash - Accept text or encoded input bytes - Return a complete bcrypt hash string - Copy hashes and clear text ## Parameters & Interface Controls ### Input Parameters & Options - `input_text`: Input text. - `hmac_key`: Salt (Optional / Auto-generated). - `kdf_iterations`: Number. Iterations / Work Factor - `kdf_length`: Number. Key Length (Bytes) - `input_encoding`: `Hex` | `Hex (Ignore Non-Hex Characters)` | `Base64` | `UTF-8` | `UTF-16LE` | `UTF-16BE` | `Windows-1251 (Cyrillic)` | `Windows-1252 (Latin 1)` | ... (42 options) - `output_format`: `Hex (lower)` | `Hex (UPPER)` | `Base64` ### Output Fields & Metrics - `result`: Bcrypt Hash Result. - **Controls:** `Derive Key`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Settings:** - Input Encoding: `UTF-8` - Output Format: `Hex (lower)` **Input text:** ```text MilliOn.t00ls ``` **Bcrypt Hash Result:** ```text $2b$12$FRlCuth9.tVblQywH9ZJauFGOJUWHEDnqp8/VNal6Gy4efhJ7bf1u ``` ## How to use Bcrypt Hash Generator Use the steps below to create a Bcrypt password hash. ### Create a Bcrypt password hash 1. **Enter a test password:** Type or paste a non-sensitive test password into Input text. 2. **Choose the input representation:** Use Input Encoding: to describe the password: UTF-8 for normal text, or Hex or Base64 for encoded bytes. 3. **Process the input:** Keep Auto / Live on to update the result as you edit. To work manually, turn Auto / Live off and click Run. 4. **Read the complete hash:** Read Bcrypt Hash Result and retain the complete encoded string. 5. **Copy or clear:** Click Copy to copy the result. Use Clear where shown, or a field's clear control, to clear the text. For a reproducible verification example, the test password `million-test` matches `$2b$12$vRr1Za2zIjil3kjXOI.DCOuJ3QGryDhef1ECwvNmk8dDsP4omqXhm`. A new run uses a fresh random salt when none is supplied, so its full output will differ. ### Read the encoded result The current generator uses cost 12 and a fresh random salt. It returns a complete bcrypt string beginning with `$2b$12$`. The output radio buttons do not convert that string to ordinary hex or Base64. ### Understand the input limits Bcrypt uses at most the first 72 input bytes here and rejects null bytes. A multibyte character can occupy more than one byte, so a character count alone does not establish whether the password fits. ## Frequently asked questions ### Why is the hash different each time? Each run generates a random salt. Different hash strings can represent the same password; use a verifier rather than comparing independently generated strings. ### Can I choose the bcrypt cost factor? No. This form uses cost 12. There is no cost field in the selected interface. ### Is the bcrypt result a hexadecimal digest? No. It is a complete encoded bcrypt string containing the variant, cost, salt, and hash. The visible output-format choices do not change its representation. ### What happens to passwords longer than 72 bytes? This implementation uses only the first 72 bytes. Extra bytes do not affect the result, and Unicode characters may use several bytes each. ### Can a bcrypt hash be decrypted? No. Bcrypt is a one-way password hash. A verifier checks a candidate password against the stored hash without recovering the original password. ### Is the text processed entirely in my browser? No. The current form sends its input to the calculation API. Use non-sensitive sample data when testing. ## Related Tools - [Bcrypt Verify](https://million.tools/bcrypt-verify/): Check a candidate password against an existing encoded Bcrypt hash. Read the match result and check format or parameter limits when verification fails. - [BLAKE3 Hash Generator](https://million.tools/blake3/): Calculate a 256-bit BLAKE3 digest from text or encoded bytes. Choose Hex or Base64 output and inspect the separate HMAC option. - [Adler-32 Calculator](https://million.tools/adler32/): Generate an Adler-32 checksum from text, Hex, or Base64 input. Check a zlib test value and copy the result in your preferred output format. - [XXH32 Calculator](https://million.tools/xxhash32/): Calculate an XXH32 checksum with seed 0 from text or encoded bytes. Copy the four-byte result in lowercase hex, uppercase hex, or Base64. - [XXH64 Calculator](https://million.tools/xxhash64/): Calculate an XXH64 checksum with seed 0 from text or encoded bytes. Display the 64-bit result in hex or Base64 and copy it. ## About the Author **Egor Volchenko** — *Developer & Author* Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience. - **Links:** [x.com](https://x.com/egorleet) · [github.com](https://github.com/egorleet) · [t.me](https://t.me/egorleet) · [instagram.com](https://www.instagram.com/egorleet) · [facebook.com](https://www.facebook.com/egorleet/) · [egorleet.blog](https://egorleet.blog/) · [mastodon.social](https://mastodon.social/@egorleet) · [twitch.tv](https://www.twitch.tv/egorvolchenko) · [stackoverflow.com](https://stackoverflow.com/users/31679135/egor-volchenko) · [reddit.com](https://www.reddit.com/user/Vegetable_Window9185/) · [youtube.com](https://youtube.com/@egor-volchenko)