WordPress Salt Keys Generator

Generate the eight WordPress security keys and salts (AUTH_KEY, SECURE_AUTH_SALT…) with your browser’s secure random generator. Output as PHP defines, .env or Bedrock format.

Runs locally — nothing is uploaded

  
Generated with crypto.getRandomValues on your device — 64 characters, no quotes or backslashes.

How to use WordPress Salt Keys Generator

  1. Keys are generated instantly when the page opens.
  2. Choose PHP, .env or YAML output.
  3. Replace the matching lines in wp-config.php — all users will be logged out.

FAQ

Is this safer than the WordPress.org API?

It is equivalent: 64-character keys from a cryptographically secure generator. The difference is that the keys are created on your device and never travel over the network.

What happens when I change salts?

All logged-in sessions become invalid, so everyone (including you) has to log in again. That is useful after a security incident.

Popular searches

People find WordPress Salt Keys Generator by searching for:

  • wordpress salt generator
  • wp-config salt keys
  • wordpress security keys
  • auth_key generator
  • regenerate wordpress salts