Skip to content
Launch offer 50% off your first year of Keel Pro. See prices →

Free tool · no sign-up

WordPress security keys generator

Fresh salts for wp-config.php, made in your browser, ready to paste.

wp-config.php

  1. Open wp-config.php in the main WordPress folder (file manager or FTP) and make a copy first.
  2. Find the eight lines that start with define( 'AUTH_KEY' ... down to NONCE_SALT.
  3. Replace them with the lines above and save. Everyone, you included, logs in again.

How it works

WordPress signs every login cookie with eight secret keys in wp-config.php. New keys log everyone out at once, which is exactly what you want after a hack or when someone leaves the team.

  1. Made in your browser

    The keys come from your browser's secure random generator. They are never sent anywhere.

  2. Ready to paste

    Copy the eight lines and replace the ones with the same names in wp-config.php.

  3. Everyone logs in again

    Old login cookies stop working at once, including any an attacker stole.

Every day, inside WordPress

Change them without opening wp-config.php.

Free Change the salts

One click, with a database backup first. Everyone logs in again.

Free User ID 1 and the table prefix

Move the administrator off ID 1 and rename the database tables, also in one click.

Pro Trusted devices

A login cookie copied to another computer stops working at once.

Questions

After a hack, after someone with admin access leaves, or if you never have. It is harmless: everyone simply logs in again.

In the main folder of your WordPress installation, next to wp-content. Open it with your host's file manager or FTP.

Yes. Keel changes the keys in one click under Hardening › Security tools, after making a database backup. It is in the free version.

Five minutes from now

Give your site a keel.

Steady when traffic spikes, calm when attacks come, found when people search. Start free; go Pro when a site needs more.