Home › Developer Tools › DKIM Record Checker

DKIM Record Checker

Enter a domain and its DKIM selector to fetch the public key from DNS, or leave the selector empty to try more than 45 common ones. The tool decodes the key to show its type and real bit length, explains every tag and flags weak, revoked or broken records.

Last updated:

Try:

The selector is the s= value in a message's DKIM-Signature header. Open a received email's original source (Show original / View source) to find it.

Or check a DKIM record you paste (no lookup)

Enter a domain and selector, then click Check DKIM record to see the public key, its type and bit length, and every tag explained.

Advertisement
Advertisement

How to use the DKIM Record Checker

  1. Enter the domain from the email's From address, for example example.com.
  2. Enter the selector (the s= value in a DKIM-Signature header), or leave it empty to try common selectors.
  3. Click Check DKIM record.
  4. Read the key summary: key type, bit length, testing flag and record length.
  5. Review the notes and tag table, fix any problems at your DNS host, or paste a draft record to check it before publishing.

DKIM record tags at a glance

TagRequiredValuesWhat it does
vRecommendedDKIM1Version; if present it must be the first tag
kNorsa (default), ed25519Key algorithm
pYesbase64 key, or emptyThe public key; empty means revoked
hNosha256Hash algorithms allowed for signatures
tNoy, sTesting mode, or strict domain matching
sNo*, emailService the key may be used for
nNotextNotes for humans

Selectors used by common email services

ServiceSelector(s)How the key is published
Google Workspacegoogle (default, can be changed)TXT record you copy from the Admin console
Microsoft 365selector1, selector2CNAMEs to keys hosted in your onmicrosoft.com tenant, rotated by Microsoft
SendGrids1, s2CNAMEs to SendGrid-hosted keys
Mailchimpk2, k3CNAMEs to dkim.mcsv.net
Fastmailfm1, fm2, fm3CNAMEs to Fastmail
Proton Mailprotonmail, protonmail2, protonmail3CNAMEs to Proton
Amazon SESthree random tokensCNAMEs shown in the SES console (not guessable)

Tips for a healthy DKIM setup

  • Use 2048-bit RSA keys and rotate them about once or twice a year by publishing a new selector, switching signing to it, then revoking the old one.
  • Remove t=y once your signatures verify; testing mode can lead receivers to ignore failures.
  • Check alignment. For DMARC to pass on DKIM, the d= domain in the signature must match the From domain. Review your policy with the DMARC Checker and your sending servers with the SPF Record Checker.
  • Need a new key? The DKIM Record Generator creates a key pair and the matching DNS record in your browser.

Frequently asked questions

What is a DKIM record?

DKIM (DomainKeys Identified Mail, RFC 6376) lets a domain sign its outgoing email with a private key. The matching public key is published as a TXT record at selector._domainkey.yourdomain. Receiving servers fetch that key, verify the signature and know the message really came from the domain and was not altered.

How do I find my DKIM selector?

Open an email sent from the domain and view its original source or headers. In the DKIM-Signature header, the s= tag is the selector and d= is the signing domain. Your email provider's admin console also shows it, for example google for Google Workspace or selector1 and selector2 for Microsoft 365.

Why can't the checker find my DKIM record without a selector?

DNS has no way to list all selectors of a domain, so a checker can only guess. This tool tries more than 45 common names, but providers such as Amazon SES, Postmark or many marketing platforms use random or dated selectors. Enter the exact selector from a message header to check those.

Is a 1024-bit DKIM key still safe?

It still verifies, but it is considered weak. RFC 8301 requires verifiers to accept keys from 1024 bits, and recommends signers use at least 2048-bit RSA keys. Gmail and other large receivers recommend 2048 bits. Keys shorter than 1024 bits must be rejected.

What does an empty p= mean?

An empty public key value means the key has been revoked. Signatures made with that selector will fail. Domains do this on purpose when they retire a selector after key rotation, so that old signatures can no longer be trusted.

Why is my 2048-bit key split into several strings?

A single string inside a DNS TXT record can hold at most 255 characters, and a 2048-bit key record is about 410 characters. It is therefore stored as two or more quoted strings that verifiers join together. Most DNS dashboards split it automatically; the checker joins the parts before analyzing them.

Is this check private?

The lookup goes directly from your browser to Cloudflare's or Google's public DNS-over-HTTPS resolver, and pasted records are analyzed entirely in your browser. FreeToolCabin does not receive or store anything.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.
See all 52 Network, DNS & Email Tools →