WordPress Salts Generator
Generate cryptographically random WordPress authentication keys and salts as PHP constants — ready to paste into wp-config.php.
Click Generate Salts to create 8 unique authentication keys. All randomness comes from
crypto.getRandomValues — no server calls.What are WordPress salts and why rotate them?
WordPress uses 8 secret keys and salts to strengthen session tokens and stored password hashes. They are defined as PHP constants in wp-config.php. Rotating them after a security incident or breach immediately invalidates all active sessions, forcing every user to log back in. This tool uses crypto.getRandomValues for cryptographically strong entropy — the same as the official api.wordpress.org/secret-key/ service but with no network request.
Private & free — this tool runs entirely in your browser.
Recommended: Cloudways — Managed cloud hosting on AWS, GCP & DO — from $11/mo.affiliate
Related Generators tools
UUID Generator
Generate secure v4 UUIDs.
QR Code Generator
Create customizable QR codes and export as SVG or PNG.
Lorem Ipsum
Generate placeholder paragraphs, sentences, or word lists.
Random Hex Generator
Generate cryptographically random hexadecimal strings.
Random Number String
Generate a random string of digits of any length.
Random String Generator
Generate random strings from a custom character set.
Random Color Generator
Generate random colors as HEX, RGB, and HSL.
MAC Address Generator
Generate random MAC addresses in several formats.