Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Bcrypt Hash Generator

This tool makes a bcrypt hash of a text with a cost you choose, and can check a text against an existing hash. It runs in your browser, so nothing is sent to a server.

How to use Bcrypt Hash Generator online

  1. Type the text. A test password.
  2. Choose the cost. From 4 to 14.
  3. Copy the hash. Or paste a hash to check.
  4. Read the result. Hash or match.

Why use this free Bcrypt Hash Generator

  • Hash with a random salt
  • Cost from 4 to 14
  • Check a text against a hash
  • Prefix $2b$ or $2a$
  • 72-byte limit stated
  • Runs in your browser

What bcrypt is

Bcrypt is a way of storing passwords. It turns a password into a hash that cannot be turned back, and it is made slow on purpose so that guessing many passwords takes a long time. Each hash contains a random salt, so the same password gives a different hash each time, and the cost, which says how slow it is.

Making a hash

Type a password and the tool makes a hash of 60 characters. Choose the cost from 4 to 14, which means two to that power rounds: a cost of 10 is 1024 rounds. A higher cost is slower for both you and an attacker. Time it on your own server and pick a cost that takes a fraction of a second. The tool shows how long the hash took.

Checking a hash

Paste an existing hash into the second box and the tool checks whether your text belongs to it, with a clear match or no match. It reads the cost from the hash itself. A string that is not a bcrypt hash is rejected with a message. The prefix $2b$ is the current one and $2a$ is older, and both are supported.

Limits to know

Bcrypt reads only the first 72 bytes of a password, so a longer text is refused here instead of being cut without warning. It was made for passwords and is not a general purpose hash for files. For new systems, newer methods exist, but bcrypt remains widely used and accepted. This tool uses bcryptjs, a pure JavaScript library, which is slower than native code.

Use with care

The page works in your browser and sends nothing, but a real password you use for an account should never be pasted into a web page that you do not fully trust. Use it for testing, for learning and for making hashes of test data. In your own application, hash passwords on the server with a vetted library, and never store them as plain text.

Using the tool

The Bcrypt Hash Generator works again whenever the text or an option changes. Use result as input to pass the answer to the next step.

Bcrypt Hash Generator: frequently asked questions

Why is the hash different each time?
Each hash has its own random salt.
What cost should I choose?
One that takes a fraction of a second on your server. 10 or higher is common.
How do I check a password?
Paste the hash in the second box.
Why is a long password refused?
Bcrypt reads only 72 bytes. The tool tells you instead of cutting it.
Does the password I type leave my device?
No. The hashing runs inside your browser tab.
Does the Bcrypt Hash Generator keep a copy of my text?
Your text stays on this device when you use the Bcrypt Hash Generator. The editor may keep the last text locally and offers to bring it back; you can dismiss it.
How do I keep the result of the Bcrypt Hash Generator?
Yes. Use the copy button on the Bcrypt Hash Generator result, or select it and copy it by hand.

Related searches for Bcrypt Hash Generator

  • Bcrypt Hash Generator online
  • free Bcrypt Hash Generator
  • Bcrypt Hash Generator online free
  • Bcrypt Hash Generator for mobile
  • Bcrypt Hash Generator without sign up
  • Bcrypt Hash Generator – Developer & Web Tools

Bcrypt Hash Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Developer & Web Tools →

Search tools