Salts and wp-config builder
Get fresh salts and a wp-config.php with current constants, no account needed.
How to use it
- Copy the 8 keys and salts. Each visit makes a fresh set; Make new keys gives another.
- In wp-config.php, replace the 8 lines from define('AUTH_KEY' to define('NONCE_SALT' with the ones you copied.
- Tick the settings you want and pick their values. Each one says in a line what it does.
- Copy the settings and paste them above the line "That's all, stop editing!", removing any line that already sets the same constant.
- Save the file and load the site. If it shows an error, put back your copy of wp-config.php.
Frequently Asked Questions
What happens to logged-in users when I change the salts?
Everyone is logged out, you included, on every device. WordPress signs each login cookie with these keys, so new keys make every old cookie invalid. People just log in again; their accounts and passwords do not change. That makes new salts a quick fix after a suspected break-in.
Are these keys safe to use?
Yes. They are made in your browser by its secure random generator, the same kind of source WordPress itself uses: 64 characters each from the same 92 letters, digits and symbols. They are never sent to us or anyone, never saved and never logged. Close the page and they are gone.
How often should I change the salts?
There is no fixed rule. Change them after a hack or a suspected one, when someone with admin access leaves, or when you move a site you got from someone else. Changing them only costs everyone a fresh login.
Why does my site break after I paste the settings?
Usually a constant is now defined twice, or the lines went below "That's all, stop editing!", where WordPress has already started. Keep one line per constant and paste above that line. A copy of the old file lets you undo it in a minute.
Should I turn off WordPress cron?
Only if you add a real cron. WordPress runs scheduled jobs when someone visits, which can be late on a quiet site and slow on a busy one. With DISABLE_WP_CRON set, nothing runs until the server calls wp-cron.php, so add the cron line the tool shows, every 5 minutes, in your host's cron panel.
Is debug.log safe to leave on?
No. It sits in wp-content, and anyone who knows the address can read it, with file paths and sometimes data from your site. Use it while you fix a problem, then set debug back to Off and delete the file.
More free tools
Palette and contrast checker
Build a color palette, check every pair with WCAG 2 and APCA, and export it to theme.json.
Type scale and clamp calculator
Pick a ratio and get fluid clamp() font sizes, ready for theme.json.
Gradient and shadow generator
Build CSS gradients and layered box shadows, then copy them as CSS, theme.json presets or GenerateBlocks styles.