Bcrypt Hash Generator screenshot

Bcrypt Hash Generator

Hash a password with bcrypt in your browser. Choose the cost factor; the salt is generated for you.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this bcrypt hash generator does

bcrypt embeds a random salt and the cost factor inside the hash string, which is why the same password produces a different hash each time. A higher cost factor is slower to compute and slower to attack.

How to use it

Bcrypt Hash Generator: paste the password into the box above, set Cost factor (default 10), and press Run to get the bcrypt hash below.

Worked example

Input:

correct horse battery staple

Output:

$2b$10$nONdsV/uHT.b9Os5v4MHrOKrUtnXd.loFArfiT13FYy75Hycyhz.u

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns bcrypt hash; reloading the page discards both.

bcrypt embeds a random salt and the cost factor inside the hash string, which is why the same password produces a different hash each time. A higher cost factor is slower to compute and slower to attack.

Hash a password with bcrypt in your browser. Choose the cost factor; the salt is generated for you.

How to use it

Bcrypt Hash Generator: paste the password into the box above, set Cost factor (default 10), and press Run to get the bcrypt hash below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns bcrypt hash; reloading the page discards both.

What to Expect

Best for

  • Converting password to bcrypt hash when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

correct horse battery staple

Sample output

$2b$10$nONdsV/uHT.b9Os5v4MHrOKrUtnXd.loFArfiT13FYy75Hycyhz.u

Frequently asked questions

How do I use the bcrypt hash generator?

Bcrypt Hash Generator: paste the password into the box above, set Cost factor (default 10), and press Run to get the bcrypt hash below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.