bcrypt Hash Generator & Verifier
Generate and verify bcrypt password hashes.
What is bcrypt?
A bcrypt tool for the salted, slow password hash used by most frameworks. Generate a hash for storage, or check a password against one.
How it works
It uses the audited bcryptjs library entirely in the browser — no network, no server-side processing, and the salt is embedded in the output hash.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Hashing a password properly
Generate a bcrypt hash with a configurable cost factor, and verify a password against an existing hash — the standard for app auth.
Common mistakes
Cost factor trade-offs
Higher cost is slower to crack but slower to verify. The tool reports timing so you can pick a sane factor.
Frequently asked questions
Why bcrypt over SHA?
bcrypt is deliberately slow and salted, resisting brute-force and rainbow-table attacks on password databases.
Does the hash include the salt?
Yes — the salt and cost are embedded in the hash string itself, so verification needs no extra data.