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
- Enter your desired password in the input field
- Click "Generate WordPress Hash" to create the hash
- Copy the generated hash using the "Copy Hash" button
- 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