Tools · DKIM

DKIM verifier.

Paste the source of a message and get a verdict on every signature in it, with the reasons. The message is parsed and hashed in your browser. The only request is one DNS lookup for the public key, and you can paste the key record to make none.

01Message

The message source.

Headers and body, as your mail client exports them: “Show original”, “View source”, or a saved .eml file dropped anywhere on this page. A file is verified byte for byte. Pasted text has its line endings and folding repaired first, so a paste from a web view usually works.

Examples

02Key

Where the public key comes from.

Key record

The lookup sends only the name selector._domainkey.domain from the signature to the resolver you choose. Paste the TXT record to skip it, for example when a key has since been rotated and you kept a copy.

⌘/Ctrl + Enter in the message field also verifies.
03Result

What the receiver would conclude.

No message yet.

04Method

What is checked.

Every DKIM-Signature header is evaluated on its own, as RFC 6376 describes: the tag list is parsed, the body is canonicalized (simple or relaxed, honouring l=) and hashed, the headers listed in h= are selected bottom-up with oversigning, the signature header is appended with an empty b=, and the signature is checked with WebCrypto: RSASSA-PKCS1-v1_5 with SHA-256 (SHA-1 is flagged as obsolete per RFC 8301) or Ed25519 per RFC 8463. Keys below 1024 bits are rejected, 1024-bit keys are flagged.

The verdict follows the result names of RFC 8601: pass, fail, and permerror for signatures or keys that cannot be used, or temperror when DNS does not answer. Beyond the verdict, the page reports testing mode, expiry, unsigned headers that a relay could change, and whether d= aligns with the From domain. The alignment check approximates the organizational domain with the last two labels; it has no public suffix list.

SPF and DMARC are not evaluated here. For how the three fit together, read the explainer.

05Contact

A message it gets wrong?

Send the headers, with the body if you can. Disagreements between verifiers are the interesting cases.