Random Token Generator
Generates secure random tokens and API keys with a chosen length, alphabet, and prefix.
Generate the eight authentication keys and salts for wp-config.php. Paste them in to secure your WordPress cookies, or to log every user out after a security incident.
Replace the eight define() lines between "Authentication unique keys and salts" and "That's all, stop editing!" in wp-config.php.
wp-config.php, replace the lines from define( 'AUTH_KEY' to define( 'NONCE_SALT' with the copied block and save the file.WordPress uses these values to sign login cookies and nonces. The keys are the secrets; the salts are extra input to the same hashes.
wp_generate_password( 64, true, true ).!@#$%^&*()-_ []{}<>~`+=,.;:/?|. The set has no quote or backslash, so the values are safe in single-quoted PHP strings.crypto.getRandomValues, so a value has about 64 × 6.5 ≈ 416 bits of entropy.The output has this shape (your values are random):
define( 'AUTH_KEY', '...64 characters...' ); define( 'SECURE_AUTH_KEY', '...' ); define( 'LOGGED_IN_KEY', '...' ); define( 'NONCE_KEY', '...' ); define( 'AUTH_SALT', '...' ); define( 'SECURE_AUTH_SALT', '...' ); define( 'LOGGED_IN_SALT', '...' ); define( 'NONCE_SALT', '...' );
wp-config.php before editing it.They make the login cookies and nonces WordPress creates hard to forge. Without them, someone who guessed or stole cookie data could build valid cookies.
After a hack or a suspected leak, when an administrator leaves, or if the keys were ever committed to a public repository. Changing them logs everyone out.
It produces the same format and character set. The difference is that these values are made in your browser, so no server ever sees them.
No. They are generated in your browser and never uploaded.
Often used together with the WordPress Salt Generator.
Generates secure random tokens and API keys with a chosen length, alphabet, and prefix.
Generates phpMyAdmin's blowfish_secret for config.inc.php, old and new formats.
Creates strong random passwords with a chosen length and character set.