Salts & Keys Generator

Pulls fresh unique keys from the official WP API and formats them for wp-config.php.
Note: This tool fetches fresh authentication keys and salts from the official WordPress API.

Generate Keys & Salts

Click the button below to fetch new unique authentication keys and salts from WordPress.org. These are used to secure cookies and password hashes.

Important: Changing these keys will invalidate all existing user cookies and force everyone to log in again.

Generated Keys

Success! Copy these lines and replace the corresponding section in your wp-config.php file.

Features

  • Fetch fresh keys from the official WordPress API
  • Generates all 8 required authentication constants
  • Cryptographically secure random values
  • One-click copy to clipboard
  • Invalidates all user cookies when updated

How to Use

  1. Click "Fetch New Keys" to retrieve fresh keys from WordPress.org
  2. Wait a moment while the keys are generated
  3. Copy the generated code block
  4. Open your wp-config.php file
  5. Replace the existing authentication keys section with the new code
  6. Save the file (all users will need to log in again)