DKIM Record Generator & Checker
Turn the public key from your mail server into a selector._domainkey TXT record, and check the DKIM key a domain publishes today.
Paste the public key your mail server produced to build the record to publish, or switch to the checker to inspect the DKIM key a domain uses today. Private keys stay on your server — never paste one here.
- Record type
- TXT
- Name / host
- —
- TTL
- 3600
- Generate the key pair on your mail server, or open your provider's DKIM settings.
- Copy the public key and the selector it was issued under.
- Add a TXT record with the name and value shown here.
- Turn on DKIM signing on the mail server once the record has propagated.
- Send yourself a test message and confirm the key with the checker tab.
A 2048-bit key makes the record longer than 255 characters. That is fine: DNS stores it as several quoted strings, and most control panels split it for you.
- Key
- —
- Record looked up
- —
| Selector | Key |
|---|
| Tag | Value | What it means |
|---|
About DKIM Record Generator & Checker
The DKIM Record Generator & Checker builds the `selector._domainkey` TXT record you publish, and inspects the one a domain publishes today. DKIM signs each outgoing message with a private key held on your mail server; receivers fetch the matching public key from DNS and verify the signature. Get the record wrong and every signature fails silently.
The generator takes the public key your mail server or provider produced and wraps it with the right tags: the version, the key type, the optional hash restriction, the service type and the flags. It never asks for, generates or transmits a private key — that key is created on the server and must never leave it, which is why no honest DKIM tool will offer to make one for you in a browser.
The checker looks up the selector, validates every tag against RFC 6376 and derives the key algorithm and size from the published key. It flags the problems that matter: a revoked key (an empty `p=`), a key that was truncated when it was copied, a 1024-bit key that should be replaced, testing mode left switched on — which tells receivers to ignore failures entirely — and a `h=sha1` restriction that RFC 8301 deprecated. If you do not know your selector, leave the field empty and it probes the common ones.
How to use DKIM Record Generator & Checker
- Generate the key pair on your mail server, or open the DKIM settings of your email provider.
- Copy the public key and the selector it was issued under. Leave the private key where it is.
- Paste the public key into the Generator tab, set your domain and selector, and adjust the options if you need to.
- Publish the TXT record at the name shown — selector._domainkey.yourdomain.com — with a TTL of an hour.
- Turn on DKIM signing in your mail server once the record has propagated.
- Use the Checker tab to confirm the key is readable, the right size, and not left in testing mode.