WordPress Password Hash Generator

Generate secure password hashes for WordPress

WordPress Password Hash Calculator

Generate a secure password hash for your WordPress users

Copied!

About WordPress Password Hashing

WordPress uses a secure hashing algorithm to store passwords in its database. Since version 3.0, WordPress has used the Portable PHP password hashing framework (PHPass) to create hashes using the Blowfish algorithm (CRYPT_BLOWFISH) when available, falling back to MD5-based hashing if necessary.

WordPress password hashes are formatted with a prefix indicating the hashing algorithm used, followed by the cost factor and the salt used during hashing. The resulting hash is 60 characters long and includes the algorithm, cost, salt, and the hashed password itself.

Note:This tool generates WordPress-compatible password hashes using JavaScript. For production environments, it's recommended to use WordPress's built-in password hashing functions (e.g., wp_hash_password()) for maximum security and compatibility.

Common Use Cases

  • Manually creating user accounts in WordPress
  • Resetting passwords in WordPress databases
  • Importing users from external systems into WordPress
  • Developing WordPress plugins or themes that handle passwords
  • Testing password hashing functionality in WordPress

Technical Details

Hashing Algorithm: Blowfish (CRYPT_BLOWFISH)
Hash Prefix: $P$ or $2y$
Cost Factor: 10-14 (WordPress default: 12)
Salt Length: 22 characters
Hash Length: 60 characters

Related Tools