DKIM Checker
Check a DKIM selector, or search about 40 common ones. The key length is worked out from the public key itself, and weak, revoked and test-mode keys are flagged.
- Only the domain and selector names are sent, to Cloudflare public DNS (Google if Cloudflare is unreachable). Nothing goes to katlab.
How it works
Type the domain that sends the mail. If you know the selector, type it in the second box.
Without a selector, the tool tries about 40 common ones such as google, selector1, k1 and s1 and lists every key it finds.
Each key shows its type, length and flags, with warnings for revoked, 1024-bit and test-mode keys.
What DKIM does
DKIM lets a sending server sign each message with a private key. The matching public key is published in DNS at selector._domainkey.your-domain, and receivers use it to check that the message really came from you and was not changed on the way. The selector is just a label chosen by whoever sets up the signing, so one domain often has several, one per service.
Finding your selector
DNS cannot list all selectors, so the tool tries the ones that big providers use by default (google for Google Workspace, selector1 and selector2 for Microsoft 365, k1 for Mailchimp, s1 and s2 for SendGrid, fm1 to fm3 for Fastmail and so on). If nothing is found, open a real message from that domain, view its source, and find the DKIM-Signature header: the s= value is the selector and d= is the domain. Then type it in the second box.
Key length
The tool decodes the base64 public key (a standard ASN.1 structure) in your browser and counts the bits of the RSA modulus. 2048 bits is the recommended size. 1024 bits is still accepted but is considered weak, and anything shorter should be replaced. ed25519 keys are small by design and are shown as 256-bit.
Who sees your lookup?
The domain name you type, plus names derived from it such as _dmarc. or _domainkey. variants, is sent over HTTPS to Cloudflare's public DNS-over-HTTPS resolver (cloudflare-dns.com). If Cloudflare cannot be reached, the same query goes to Google's (dns.google) instead. Nothing else is sent, no cookies and no referrer. Those resolvers see the name and your IP address, as with any DNS lookup, under their own privacy policies. Nothing goes to katlab: there is no server behind this page, no account, no analytics and no saved history.
Questions
Frequently asked questions
What is a DKIM selector?
A name that picks one of the domain's DKIM keys. It forms the DNS name selector._domainkey.example.com. Providers use their own defaults, and a domain can have many selectors at once.
Why was no selector found?
Selectors can be named anything, so a search of common names can miss yours. Not finding one does not mean DKIM is off. Read the s= value in the DKIM-Signature header of a real message and enter it directly.
What does an empty p= mean?
The key was revoked on purpose. Mail signed with that selector fails DKIM. That is correct for a retired key, but a problem if the selector is still in use.
Is a 1024-bit DKIM key a problem?
It still works and is widely accepted, but it is weak by today's standards. Rotate to a 2048-bit key. If your DNS host rejects long TXT values, split the key into two quoted strings.
What does t=y mean?
Test mode. The domain tells receivers it is still testing DKIM and failures should not be treated as meaningful. Remove it once signing works, or it weakens your DKIM.
Many selectors are CNAMEs. Is that normal?
Yes. Microsoft 365 and many email services publish selectors as CNAME records that point to their own servers so they can rotate keys for you. The tool follows the alias and shows where it points.