DKIM checker

Look up a DKIM key by domain and selector, check its length, or try the common selectors.

FreeNo sign-upWe look up public DNS records; nothing is stored

Don't know the selector? Try one: · · · ·

We look up public DNS records for the domain. The domain isn't stored, and nothing else leaves your browser.

Example result for northwind.example, a made-up domain. Enter yours to check it.

DKIM for northwind.exampleSet upThe RSA public key is 2048 bits.
The record
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx3kVNorthwindExampleKey…
  • Good

    The RSA public key is 2048 bits.

How it works

By , Okaytosend team · Updated

Enter a domain and a DKIM selector to see the published key, check it decodes, and check it's long enough. Don't know the selector? Press “Try common selectors” and we'll try the ones Google Workspace, Microsoft 365, Mailchimp, SendGrid and others use. Only the domain and selector are sent, to look up the public record, and they aren't stored.

How DKIM works

Your email platform signs each message with a private key. The matching public key is published in DNS, at selector._domainkey.yourdomain. Receivers fetch it, check the signature, and know the message wasn't changed and really came through a service you approved.

Finding your selector

  • From a sent email: open the original or raw message and find the DKIM-Signature header. The selector is the s= value, the domain is d=.
  • From your platform: its domain setup page lists the DKIM records to add, and the selector is the first part of the name.
  • Common ones: google (Google Workspace), selector1 and selector2 (Microsoft 365), k1 (Mailchimp), s1 and s2 (SendGrid and others).

Key length

Keys under 1024 bits can be broken and many receivers ignore them. 2048 bits is the standard today; Google Workspace and most platforms use it by default. If your key is 1024 bits, it still works, but rotate to 2048 when your platform allows.

Questions

How do I check my DKIM record?

Enter your domain and selector above. We look up the TXT record at selector._domainkey.domain, decode the key and check its length. Without a selector, try the common ones.

What is a DKIM selector?

The name a DKIM key is published under. One domain can have a key per sending service, each with its own selector. It's the s= value in the DKIM-Signature header of an email.

What does an empty p= mean?

The key was revoked. Mail signed with that selector will fail DKIM. If you still send with it, your platform needs to publish a new key.

Should my DKIM key be 1024 or 2048 bits?

2048 where your platform supports it. 1024 still passes at most receivers; anything shorter should be replaced.

Is what I enter stored?

No. The domain and selector are used only to look up the public record, held in memory for five minutes, then dropped.

More free tools

Cookie settings