Generated locally in your browser with Web Crypto — keys never leave this page.
s1) and generate the keypair.<selector>._domainkey on your domain.dkim=pass in the message headers).Use 2048-bitunless something you’re integrating with genuinely can’t handle it. 1024-bit keys still work but are increasingly treated as weak, and some receivers discount them. The only real cost of 2048 is that the public key no longer fits in a single 255-character DNS string — which your DNS host splits for you automatically.
The private key is what proves a message is really from you — anyone who has it can sign mail as your domain. It’s generated entirely in your browser and never transmitted, but once you copy it, store it like any other secret: in your mail server’s key store or a secrets manager, never in a repo. To rotate, generate a new key under a new selector, publish it, switch signing over, then remove the old record.
DKIM (DomainKeys Identified Mail) signs your outgoing mail with a private key. The matching public key is published as a DNS TXT record at <selector>._domainkey.yourdomain.com, so receivers can verify the message wasn't altered and really came from your domain.
Yes. The keypair is generated locally using the browser's built-in Web Crypto API and never sent anywhere. Still, treat the private key like a password: store it securely on the server that signs your mail and never commit it to source control.
A selector is a label (like s1 or mail) that lets you publish more than one DKIM key on a domain — useful for rotating keys or using different providers. It becomes part of the DNS host: <selector>._domainkey.
A 2048-bit RSA public key encodes to more than 255 characters, and a single DNS TXT string maxes out at 255. The fix is to split the value into multiple quoted strings within one TXT record — most DNS providers do this for you automatically when you paste the value.
SenderKit sends your transactional email, SMS, and push from one API — with SPF, DKIM, and DMARC handled for you. Free up to 3,000 messages a month.
By creating an account, you agree to our Terms.