Bcrypt Hash Generator
Developer & Author —Egor VolchenkoThis 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.
How to use Bcrypt Hash Generator
Use the steps below to create a Bcrypt password hash.
Create a Bcrypt password hash
- Type or paste a non-sensitive test password into Input text.
- Use Input Encoding: to describe the password: UTF-8 for normal text, or Hex or Base64 for encoded bytes.
- Keep Auto / Live on to update the result as you edit. To work manually, turn Auto / Live off and click Run.
- Read Bcrypt Hash Result and retain the complete encoded string.
- 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
Each run generates a random salt. Different hash strings can represent the same password; use a verifier rather than comparing independently generated strings.
API — Bcrypt Password Hasher
Automate this tool directly from your scripts, CI/CD pipelines, or backend applications via HTTP POST.
https://million.tools/api/v1/run/bcrypt Request Parameters (JSON / Form Data)
-
input_encodingInput Encoding
hexhex_ignore_non_hexbase64utf-8utf-16leutf-16bewindows-1251windows-1252 -
start(orinput)Input text
-
hmac_keySalt (Optional / Auto-generated)
-
kdf_iterationsIterations / Work Factor
-
kdf_lengthKey Length (Bytes)
-
output_formatOutput encoding format
hexhex_upperbase64
curl -X POST https://million.tools/api/v1/run/bcrypt \
-H "Content-Type: application/json" \
-d '{"start":"MilliOn.t00ls"}' const response = await fetch('https://million.tools/api/v1/run/bcrypt', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"start": "MilliOn.t00ls"
}),
});
const data = await response.json();
console.log(data.result); import requests
response = requests.post(
'https://million.tools/api/v1/run/bcrypt',
json={
"start": "MilliOn.t00ls",
},
timeout=15,
)
data = response.json()
print(data['result']) $ch = curl_init('https://million.tools/api/v1/run/bcrypt');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'start' => 'MilliOn.t00ls',
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response['result'] ?? ''; {
"status": "success",
"tool": "bcrypt",
"service": "bcrypt",
"result": "$2b$12$FRlCuth9.tVblQywH9ZJauFGOJUWHEDnqp8/VNal6Gy4efhJ7bf1u",
"results": {
"result": "$2b$12$FRlCuth9.tVblQywH9ZJauFGOJUWHEDnqp8/VNal6Gy4efhJ7bf1u"
}
}
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.
Ratings & feedback 0
Share your experience with this tool.
No feedback yet
Be the first to leave a review or rating.