{"id":27,"date":"2026-03-19T14:48:57","date_gmt":"2026-03-19T14:48:57","guid":{"rendered":"https:\/\/netguide.io\/tools\/?p=27"},"modified":"2026-03-19T14:48:58","modified_gmt":"2026-03-19T14:48:58","slug":"wordpress-salt-generator","status":"publish","type":"post","link":"https:\/\/netguide.io\/tools\/de\/wordpress-salt-generator\/","title":{"rendered":"WordPress Salt Generator"},"content":{"rendered":"\n<div class=\"wp-salt-container\">\n    <h3 class=\"wp-salt-title\">WordPress Salt Generator<\/h3>\n\n    <div class=\"wp-salt-info\">\n        Generates fresh security keys for your <code>wp-config.php<\/code> file.\n    <\/div>\n\n    <div class=\"wp-salt-actions\">\n        <button onclick=\"generateSalts()\" class=\"btn-primary\" id=\"btn-gen-salts\">Generate New Salts<\/button>\n    <\/div>\n\n    <div class=\"wp-salt-group\">\n        <label>Secret Keys (Copy &#038; Paste to wp-config.php)<\/label>\n        <textarea id=\"wp-salt-output\" readonly placeholder=\"Click generate to create salts...\"><\/textarea>\n    <\/div>\n\n    <div class=\"wp-salt-footer\">\n        <button onclick=\"copySalts()\" id=\"btn-copy-salts\">Copy All Salts<\/button>\n        <button onclick=\"clearSalts()\" class=\"btn-danger\">Clear<\/button>\n    <\/div>\n\n    <style>\n        .wp-salt-container { max-width: 100%; background: #fff; padding: 20px; border: 1px solid #ddd; border-radius: 10px; font-family: -apple-system, sans-serif; color: #333; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }\n        .wp-salt-title { margin: 0 0 10px 0; color: #2271b1; font-size: 1.4rem; border-bottom: 1px solid #eee; padding-bottom: 10px; }\n        .wp-salt-info { font-size: 13px; color: #666; margin-bottom: 20px; line-height: 1.4; }\n        \n        .wp-salt-group { margin-bottom: 15px; }\n        .wp-salt-group label { display: block; font-size: 11px; font-weight: bold; margin-bottom: 5px; text-transform: uppercase; color: #666; }\n        .wp-salt-group textarea { \n            width: 100%; \n            height: 220px; \n            padding: 12px; \n            border: 1px solid #ccc; \n            border-radius: 5px; \n            font-family: 'Courier New', Courier, monospace; \n            font-size: 12px; \n            resize: none; \n            box-sizing: border-box; \n            background: #f9f9f9;\n            line-height: 1.5;\n            white-space: pre;\n            overflow-x: auto;\n        }\n\n        .wp-salt-actions { margin-bottom: 15px; }\n        .wp-salt-container button { padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 13px; transition: 0.2s; }\n        .btn-primary { background: #2271b1; color: #fff; width: 100%; }\n        .btn-primary:hover { background: #135e96; }\n        .btn-danger { background: #fff; color: #d63638; border: 1px solid #d63638 !important; }\n        #btn-copy-salts { background: #46b450; color: #fff; flex-grow: 2; }\n        \n        .wp-salt-footer { display: flex; gap: 10px; }\n        \n        code { background: #f0f0f0; padding: 2px 4px; border-radius: 3px; font-family: monospace; }\n    <\/style>\n\n    <script>\n        const saltKeys = [\n            'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY',\n            'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT'\n        ];\n\n        function generateRandomSalt(length = 64) {\n            const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_ []{}<>~`+=,.;:\/?|';\n            let salt = '';\n            const array = new Uint32Array(length);\n            window.crypto.getRandomValues(array);\n            for (let i = 0; i < length; i++) {\n                salt += chars[array[i] % chars.length];\n            }\n            return salt;\n        }\n\n        function generateSalts() {\n            let output = '';\n            saltKeys.forEach(key => {\n                const padding = ' '.repeat(20 - key.length);\n                output += \"define('\" + key + \"', \" + padding + \"'\" + generateRandomSalt() + \"');\\n\";\n            });\n            document.getElementById('wp-salt-output').value = output;\n        }\n\n        function copySalts() {\n            const area = document.getElementById('wp-salt-output');\n            if (!area.value) return;\n            navigator.clipboard.writeText(area.value).then(() => {\n                const btn = document.getElementById('btn-copy-salts');\n                const old = btn.innerText;\n                btn.innerText = 'Copied to Clipboard!';\n                setTimeout(() => btn.innerText = old, 2000);\n            });\n        }\n\n        function clearSalts() {\n            document.getElementById('wp-salt-output').value = '';\n        }\n\n        \/\/ Auto-generate on load\n        window.onload = generateSalts;\n    <\/script>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Erl\u00e4uterung &amp; Anleitung<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Was sind WordPress Salts?<\/h3>\n\n\n\n<p>Security Salts sind zuf\u00e4llige Zeichenfolgen, die deine WordPress-Installation kryptografisch absichern. Sie sorgen daf\u00fcr, dass Passw\u00f6rter und Cookies nicht einfach &#8220;erraten&#8221; oder durch Brute-Force-Attacken entschl\u00fcsselt werden k\u00f6nnen.<\/p>\n\n\n\n<p>Stell dir Salts wie eine zus\u00e4tzliche W\u00fcrze (Salz) vor, die an dein Passwort angeh\u00e4ngt wird, bevor es gespeichert wird. Selbst wenn zwei Nutzer dasselbe Passwort haben, sehen die gespeicherten Hashes durch unterschiedliche Salts v\u00f6llig verschieden aus.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Wo werden die Salts eingef\u00fcgt?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Generiere die Salts mit dem Tool oben.<\/li>\n\n\n\n<li>\u00d6ffne deine <code>wp-config.php<\/code> Datei im Hauptverzeichnis deiner WordPress-Installation via FTP oder File Manager.<\/li>\n\n\n\n<li>Suche den Bereich, der mit <code>AUTH_KEY<\/code> beginnt.<\/li>\n\n\n\n<li>Ersetze die alten Zeilen durch die neu generierten Zeilen aus diesem Tool.<\/li>\n\n\n\n<li>Speichere die Datei.<\/li>\n<\/ol>\n\n\n\n<p><strong>Hinweis:<\/strong> Sobald du die Salts \u00e4nderst, werden alle aktuell angemeldeten Nutzer (auch du selbst) sofort ausgeloggt und m\u00fcssen sich neu anmelden. Das ist normal und ein Zeichen daf\u00fcr, dass die neuen Schl\u00fcssel aktiv sind.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress Salt Generator Generates fresh security keys for your wp-config.php file. Generate New Salts Secret Keys (Copy &#038; Paste to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[33],"tags":[37,63,65],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-generatoren","tag-generator","tag-wordpress","tag-wordpress-salt"],"_links":{"self":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":1,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/posts\/27\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netguide.io\/tools\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}