Bcrypt Hash Generator
Generate a bcrypt hash with the cost you choose, or verify whether a text matches a bcrypt hash.
The hash is generated on our server with PHP password_hash; the text is not stored or logged. The same text gives a different (salted) hash every time.
This tool runs through our server; what you enter is not stored. Only public websites are inspected.
In short
Bcrypt is a slow, salted hashing algorithm built for storing passwords. A higher cost makes brute force harder; the same password gives a different hash each time yet still verifies. PHP’s password_hash() uses bcrypt by default.
About bcrypt hashes
Bcrypt is a slow, salted hashing algorithm designed for storing passwords. Each step of the cost doubles the computing time, and the same text gives a different hash every time thanks to a new salt. In verify mode the tool checks whether your text matches the hash you paste.
The hash is generated on our server with PHP’s password_hash. To protect the server the cost is limited to 4–12; the text is not stored or logged. Never type your real passwords into any online tool.
Who uses it and when?
- Developers seeding test passwords
- Admins debugging password resets
- Learners studying secure password storage
Frequently asked questions
Which cost should I choose?
A value where one hash takes about 100–300 ms on your server is a good balance; for most servers that is 10–12.
What is the difference between $2y$ and $2b$?
Both are current bcrypt versions; PHP produces $2y$ and can verify both.