WordPress Salts Generator

Generate authentication keys and salts for your wp-config.php file. Everything runs locally in your browser.



How this works

This tool creates eight authentication keys and salts that WordPress uses to secure sessions and cookies.

Use it when setting up WordPress or when you want to invalidate existing sessions by rotating keys.

All output is generated locally in your browser using secure randomness.

FAQ

Where do I paste these keys?

Replace the existing key and salt definitions in your wp-config.php file.

Will changing salts log users out?

Yes. Existing sessions become invalid when keys are rotated.

Usage steps

  1. Click Generate Salts.
  2. Copy the output.
  3. Replace the existing keys in your wp-config.php file.

Security: Uses crypto.getRandomValues(). No data is transmitted.