Bcrypt hash and verify
Hash and verify bcrypt locally, rejecting silent truncation beyond 72 bytes.
Ready when you are
Add your contentPaste text or try a sample
Choose an actionClear options. Predictable results.
Take it with youCopy, download and carry on
Using this tool
Demonstrate salted hashing and matching with a synthetic password.
Actions: Generate hash · Verify password
Example
Cost 4 is only for a fast demo. Paste the generated hash into the verification field and verify the same demo password to get Match.
Example action and settings
Action: Generate hash Password / text: public-demo-only Cost (4–14): 4
Input / action
Result / expected behavior
$2b$04$… (60 characters; fresh salt changes the hash).
Available options: Password / text · Cost (4–14) · Bcrypt hash to verify
Scope and limitations
- At most 72 UTF-8 bytes; supported costs are 4–14.
- Higher costs take longer; the demo cost is not production configuration advice.
Common mistakes
- Do not confuse characters with bytes or enter real passwords; different salted hashes can match the same password.
Related tools
Hash text Password strength analyser
Privacy and browser support
Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.