DKIM Record Generator
- Free forever
- No sign-up
- Runs in your browser
Create a DKIM key pair and the DNS record for it - made in your browser, so the private key never leaves your device.
Already have a public key?
About DKIM Record Generator
Generates a DKIM key pair on your device and writes the matching DNS TXT record, with the exact host name to publish it under. Choose RSA 2048-bit, RSA 1024-bit for old systems, or Ed25519, then download the private key as a PEM file for your mail server. Already have a public key? Paste it to get the record, split into shorter strings if your DNS host needs that.
How to use DKIM Record Generator
- Type your domain, keep or change the Selector, and choose a Key type; RSA 2048-bit is recommended.
- Click Create key pair to make a new public and private key on your device.
- Click Copy and publish the DNS record value as a TXT record at selector._domainkey on your domain.
- Click Download private key (.pem) and install it on your mail server, keeping it secret.
How your data is handled
The key pair is created by your browser's built-in cryptography. Neither key is sent anywhere, and the private key is gone once you leave the page, so download it first.
Limits and accuracy
- Ed25519 keys can only be made in browsers that support them, and not every receiver checks Ed25519 signatures yet.
- The private key isn't kept after you leave or refresh the page, so save the PEM file straight away.
- For a pasted public key, the key size is estimated from its length.
Questions and answers
Is the private key sent anywhere?
No. The key pair is made in your browser with its built-in cryptography, and the private key never leaves your device. Download it straight away, because it isn't kept once you leave the page.
Do I need this for Microsoft 365 or Google Workspace?
No, both create DKIM keys for you in their admin centres. Use this for your own mail server or other email services, or open the 'Already have a public key' section to make a record from a key you already have.
Should I choose RSA or Ed25519?
RSA 2048-bit works everywhere and is the safe choice. Ed25519 keys are smaller, but not every receiver checks them yet, so if you use one, sign with an RSA key under a second selector too.
Do I need to sign up or install anything?
No. DKIM Record Generator runs from this website with no account, no app and no download. The only limit is a short per-minute cap on checks, to stop abuse.
Where do I get the DKIM key?
From your email provider: Google Workspace, Microsoft 365, Zoho and others give you a selector and a public key in their admin console. Paste them here and you get the exact TXT record name and value to add at your DNS host.