Generate a test password hash
Enter a sample password and choose a cost factor to create a bcrypt hash for fixtures, docs, or local authentication tests.
Generate bcrypt hashes and verify passwords against bcrypt hashes locally in your browser.
Use sample or test values. Avoid real production passwords.
Input size
15 bytes
Ready to generate a bcrypt hash.
Generated hash will appear here.
Compare a password with an existing bcrypt hash.
Paste a bcrypt hash and password to compare.
Salt
$2b$10$cCG0H5lX9aeZ7/CQF5qt3e
Continue with nearby tools in the same workflow category.
Bcrypt is a slow password hashing algorithm that stores its salt and cost factor inside the hash string. This tool is for test values, examples, and local debugging.
Hashing and verification run in the browser. Avoid pasting real production passwords into any online tool, even browser-local ones.
Enter a sample password and choose a cost factor to create a bcrypt hash for fixtures, docs, or local authentication tests.
Paste a bcrypt hash and a candidate password to check whether they match without sending either value to the server.
No. Hash generation and verification run in your browser. Still avoid pasting real production passwords into any online tool.
Cost 10 is a common testing baseline. Higher values are slower and may be more suitable for production systems after measuring your server performance.
Bcrypt only uses the first 72 bytes of a password input. Longer values are truncated before hashing or comparison.
Use these nearby utilities when the current task is part of a larger debugging, writing, security, or site maintenance workflow.