WordPress Password Hash screenshot

WordPress Password Hash

Generate the phpass hash WordPress stores in your browser. Set the cost and salt; the output is the familiar $P$B string.

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

What this wordpress password hash does

WordPress uses the portable phpass construction: MD5 of salt and password, iterated 2^cost times, then a custom base64. The cost character and the salt are stored in the hash, so a hash made here verifies in WordPress without extra parameters.

How to use it

WordPress Password Hash: paste the password into the box above, set Cost (log2 rounds), default 13 and Salt (blank = random), default blank, and press Run to get the WordPress hash below.

Worked example

Input:

correct horse battery staple

Output:

$P$B8ceHCLFO5pvRLv21ZfsP0ZNvzan8y1

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 WordPress hash; reloading the page discards both.

WordPress uses the portable phpass construction: MD5 of salt and password, iterated 2^cost times, then a custom base64. The cost character and the salt are stored in the hash, so a hash made here verifies in WordPress without extra parameters.

Generate the phpass hash WordPress stores in your browser. Set the cost and salt; the output is the familiar $P$B string.

How to use it

WordPress Password Hash: paste the password into the box above, set Cost (log2 rounds), default 13 and Salt (blank = random), default blank, and press Run to get the WordPress 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 WordPress hash; reloading the page discards both.

What to Expect

Best for

  • Converting password to WordPress 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

$P$B8ceHCLFO5pvRLv21ZfsP0ZNvzan8y1

Frequently asked questions

How do I use the wordpress password hash?

WordPress Password Hash: paste the password into the box above, set Cost (log2 rounds), default 13 and Salt (blank = random), default blank, and press Run to get the WordPress 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.