DKIM Key Generator
Generate a DKIM key pair and DNS record for manual setup
2 min read
Tools
DKIM Key Generator
Generates a DKIM public/private key pair for signing outgoing email.
Settings
- Selector name — identifies which key to use (e.g.,
default,mail2026) - Key length — 1024 or 2048 bits
- Algorithm — RSA signing algorithm
Output
- Private key — install on your email server to sign messages
- DNS TXT record — publish at
selector._domainkey.yourdomain.com
Important: Keep the private key secure. It is used to sign outgoing emails and should only be stored on your mail server.
Tip: Most email services (Microsoft 365, Google Workspace) manage DKIM keys for you. Use this tool only for self-hosted email servers.