WordPress Password Generator

Generate WordPress-compatible password hashes for database updates

Generate Password Hash

Enter the plain text password you want to hash

How to Use

  1. Enter your desired password in the input field
  2. Click "Generate WordPress Hash" to create the hash
  3. Copy the generated hash using the "Copy Hash" button
  4. Use the hash to update the WordPress database directly

Database Update Query

To update a WordPress user password in the database, use:

UPDATE wp_users SET user_pass = 'YOUR_GENERATED_HASH' WHERE ID = 1;

Replace YOUR_GENERATED_HASH with the hash you generated and adjust the user ID as needed.

Important Notes:

  • This tool generates WordPress-compatible phpass hashes ($P$ format)
  • Each generation creates a unique hash (even for the same password)
  • Always backup your database before making direct changes
  • The hash will work with WordPress 2.5 and later versions
  • This is useful when you're locked out of WordPress admin