WordPress Salt Keys Generator

Generate secure WordPress Authentication Unique Keys & Salts instantly • Improve website security • No registration required

Suggest a Feature

Have an idea that would make this tool better? We'd love to hear it.

WordPress Salt Keys Generator

Leave your email if you'd like us to contact you about your suggestion.

Report a Bug

Found an issue? Let us know and we'll investigate it.

Leave your email if you'd like us to contact you about this issue.

Results are generated automatically and may not always be accurate or complete. Please verify important information before relying on the output.

How the Salt Keys Generator Works

Generate secure WordPress salt keys in four simple steps.

1

Configure Options

Choose which authentication keys and salts to generate, along with any advanced generation settings.

2

Preview Your Keys

Review the generated authentication keys and verify they're ready to use in your WordPress configuration.

3

Copy or Download

Copy the generated constants or download them and replace the existing keys in your wp-config.php file.

About WordPress Salt Keys Generator

The free WordPress Salt Keys Generator creates secure Authentication Unique Keys and Salts for your wp-config.php file. These cryptographic values help protect user sessions, cookies, and authentication data against unauthorized access.

  • Generate all eight WordPress authentication keys instantly
  • Create strong cryptographically secure random values
  • Improve WordPress login and cookie security
  • Replace compromised or outdated salt keys
  • Compatible with every WordPress version
  • Preview generated keys before using them
  • Copy or download the generated constants instantly
  • No registration required and completely free to use

Examples

Generate All WordPress Keys
define('AUTH_KEY', 'generated-key');
define('SECURE_AUTH_KEY', 'generated-key');
define('LOGGED_IN_KEY', 'generated-key');
define('NONCE_KEY', 'generated-key');
Generate All WordPress Salts
define('AUTH_SALT', 'generated-salt');
define('SECURE_AUTH_SALT', 'generated-salt');
define('LOGGED_IN_SALT', 'generated-salt');
define('NONCE_SALT', 'generated-salt');
Complete Authentication Block
define('AUTH_KEY', 'generated-key');
define('SECURE_AUTH_KEY', 'generated-key');
define('LOGGED_IN_KEY', 'generated-key');
define('NONCE_KEY', 'generated-key');

define('AUTH_SALT', 'generated-salt');
define('SECURE_AUTH_SALT', 'generated-salt');
define('LOGGED_IN_SALT', 'generated-salt');
define('NONCE_SALT', 'generated-salt');

FAQs

 WordPress salt keys are unique cryptographic values stored in the wp-config.php file. They strengthen the security of authentication cookies, user sessions, and login information. 
 Updating your salt keys invalidates all existing login sessions, making it an effective security measure after a suspected compromise or as part of routine maintenance. 
 Replace the existing Authentication Unique Keys and Salts section inside your WordPress wp-config.php file with the newly generated values. 
 Yes. WordPress uses all eight Authentication Keys and Salts to provide the highest level of security for cookies and user authentication. 
 It generates secure random Authentication Keys and Salts that you can copy directly into your WordPress wp-config.php file. 
 No. Your website will continue to function normally, but all currently logged-in users—including administrators—will need to sign in again. 
 Yes. The generator creates high-entropy random values designed for secure WordPress authentication and session protection. 
 Yes. The tool is completely free to use and requires no registration. 

Stay ahead with the latest developer tools

Get notified when we launch new tools and features.

We use cookies

We use essential cookies to operate our website and, with your consent, Google Analytics to understand how our website is used.

Cookies Policy