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.

About the WordPress Salt Keys Generator

Replacing the eight keys and salts in wp-config.php logs everyone out and invalidates stolen cookies — a quick fix after a suspected hack. Create a complete config file with the wp-config.php Generator, harden the server with the .htaccess Generator and use the Password Generator for database passwords.

Also useful: Robots.txt Generator · Bulk Redirect Generator

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