Also needed
SPF Record Generator — authorize your sending IPs
DKIM proves a message wasn't altered. SPF proves the sending server is authorized. Most receivers want both.
Open the toolFree tool · No account
Generate a real RSA keypair with the Web Crypto API, entirely client-side. We never see your private key — only the public half goes into the DNS record you publish.
Runs entirely in your browser using the Web Crypto API. The private key is never sent anywhere — not to InboxStack, not to any server. Closing this tab without saving it means it's gone for good.
How this works
DKIM adds a cryptographic signature to each outgoing message, generated with your private key. The receiving server looks up your public key in DNS and verifies the signature — proving the message wasn't altered in transit and really came from a server that holds your private key.
Yes — the Web Crypto API used here runs in a sandboxed, native browser implementation and the key is generated locally. Nothing is transmitted over the network during generation. That said, treat the downloaded .pem file exactly like a password: store it in a secrets manager or your mail server's config, not in a shared doc.
DNS TXT records store data as one or more quoted strings, and older tooling caps each string at 255 bytes. A 2048-bit RSA public key encodes to roughly 390 base64 characters, so it needs two quoted strings back-to-back. Most modern providers (Cloudflare, Route 53) handle this automatically — the toggle above is for the ones that don't.
Use theirs. Google Workspace, Microsoft 365, and most major ESPs generate and rotate DKIM keys automatically and give you a record to paste — this tool is for cases where nothing does that for you, like a self-hosted mail server or a custom domain on Amazon SES.
Keys rotate. Monitoring shouldn't stop
A DKIM key that gets accidentally removed, rotated wrong, or exceeds a provider's key-length limit fails silently until inbox rates drop. Brain checks DKIM validity continuously across every domain and selector you use.