Primary use
DKIM setup
Generate selector material before onboarding a new ESP, sender service, or signing domain.
Free DKIM record generator
Use this free DKIM record generator to create an RSA key pair, generate a DNS-ready DKIM TXT record, and export PEM keys for selector-based signing. It is built for teams setting up a new sender, rotating selectors, or replacing hand-built DKIM records before the next release.
Generate a free DKIM record
Enter the domain, choose a selector, and pick the RSA key size. Generation runs in the browser and returns the DNS record plus both PEM exports.
Best fit
This page is strongest when a team is preparing a new sender, migrating providers, or formalizing a DKIM rotation process instead of hand-copying key material across DNS and ESP settings.
Rollout note
A generated selector record is useful only when the signer and DNS state stay aligned. Publish the TXT value, configure the signer with the matching private key, then validate the live selector and real header verdicts.
Primary use
Generate selector material before onboarding a new ESP, sender service, or signing domain.
Output
Get the DNS record plus private and public key material for your signing workflow.
Privacy
Key generation runs in the browser session so private material is not posted to the API.
Best moment
Use it when you need clean selector changes without waiting for incident pressure.
What this generator does
Searchers need the exact selector hostname, a DNS-ready TXT value, and usable key material. This page creates the full starting package so implementation work can move into DNS and sender configuration immediately.
Selector host
DNS-ready
Build the exact selector hostname in the form selector._domainkey.example.com.
TXT value
DKIM1 + RSA
Generate the public key material for DNS in the format mailbox providers expect.
Private key
PEM export
Use the private PEM in the signing platform that will stamp outbound mail.
Rotation
Versioned selectors
Create a new selector like s2 or 2026q1 before decommissioning the prior key.
Operational use
Treat DKIM generation as controlled change work. Create the selector, publish the TXT value, update the signing platform, confirm propagation, and verify real messages show the selector and dkim=pass.
Create a clean selector before adding a new ESP or outbound provider so DNS and signer configuration stay aligned from day one.
Stage the next selector before cutover so the old sender can be retired without ambiguous overlapping key use.
Keep a predictable selector rotation cadence so key retirement is a routine change instead of a rushed remediation project.
Validate the live selector after publishing DNS and confirm the record is readable and healthy.
Open toolConfirm the new TXT record has propagated before you trust the signer rollout.
Open toolReview DKIM alongside SPF, DMARC, BIMI, MX, MTA-STS, and TLS-RPT in one pass.
Open toolInspect real headers after rollout and confirm Authentication-Results shows dkim=pass.
Open toolYes. This page generates an RSA key pair in the browser, returns a DKIM TXT record for DNS, and gives you PEM outputs for the private and public key materials.
No. Generation happens in the browser session so the private key is not sent to MailSlurp from this page. Store it securely after generation and rotate it on a predictable cadence.
Use 2048-bit DKIM keys unless a legacy provider still requires 1024-bit support. The larger key is a better default for modern sender-auth posture.
Publish the TXT record in DNS, configure the sending platform to sign with the matching selector and private key, then validate the live record and confirm real messages show dkim=pass in Authentication-Results.