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
- Click "Fetch New Keys" to retrieve fresh keys from WordPress.org
- Wait a moment while the keys are generated
- Copy the generated code block
- Open your wp-config.php file
- Replace the existing authentication keys section with the new code
- Save the file (all users will need to log in again)