Bcrypt & Argon2 Hasher

Hash and verify passwords with bcrypt, argon2, and scrypt, entirely in your browser.

Nothing runs until you press Hash. The password stays in this tab and is never put in the page address.

Algorithm

The long-standing default. It reads only the first 72 bytes of a password.

Each step doubles the work. 10 is about 100 ms here, 12 is a common server setting. Range 4 to 15.

Related tools

What it does

Hashes a password with bcrypt, argon2id, argon2i, argon2d, or scrypt and returns the complete encoded string you would store in a database, alongside the parameters that string encodes. Verify mode goes the other way: paste a password and an existing hash and it reads the algorithm and cost settings out of the hash itself, including the $2y$ hashes PHP writes. Every hash gets a fresh random 16 byte salt from the browser's cryptographic random source. scrypt has no standard encoded string, so this tool defines one, $scrypt$ln=15,r=8,p=1$salt$hash with both values in unpadded base64, and reads that same format back in Verify mode.

How to use it

Leave the mode on Hash, type the password, pick an algorithm, and press Hash. Only the settings that belong to that algorithm are shown: cost for bcrypt, memory and iterations for argon2, log2 N for scrypt. The result is the encoded string, split into its version, cost, salt and digest, with how long it took in your browser. To check an existing hash, switch to Verify, enter the password and paste the hash; the algorithm and its settings are read from the hash itself. Nothing runs until you press the button, and Cancel stops a slow hash.

Why this one

Most bcrypt generators post your password to their server and hash it there, which is exactly what a password tool should never do. This one runs bcrypt, argon2, and scrypt as WebAssembly inside the tab, so your inputs never leave your device, there is no rate limit, and there is deliberately no curl endpoint for hashing. It also times each hash and shows what that cost means for someone guessing passwords, instead of hiding a mystery slider.

FAQ
Which algorithm should I use in 2026?
argon2id. It is the current first recommendation for new password storage because it is memory hard and resists both GPU cracking and side channel attacks. bcrypt is still perfectly acceptable for a legacy system that already uses it, and scrypt is a reasonable middle ground. Plain argon2i and argon2d are here for compatibility, not as a default.
Why does the same password produce a different hash every time?
Because every run draws a fresh random 16 byte salt, and that salt is stored inside the encoded string. Identical passwords therefore get different hashes, which is what stops a single rainbow table from cracking every account at once. Never compare two hashes by eye; use Verify mode, which reads the salt back out of the hash.
Is my password sent anywhere?
No. The hashing runs in WebAssembly inside your browser tab, so your inputs never leave your device, and the page keeps working offline after the first load. This is also the one tool here with no curl endpoint on purpose, because a hosted hashing endpoint would mean real passwords traveling over the network.

Keyboard shortcuts: press ? anywhere on this page to see them.