Free DKIM Record Generator & Key Builder

Free DKIM Record Generator Generate DKIM Records & RSA Keys

Use our free DKIM generator to create DKIM records and authentic 2048-bit RSA key pairs for custom SMTP, or generate provider-ready records for Google Workspace, Microsoft 365, and Amazon SES. No sign-up required.

100% RFC 6376 Compliant2048-bit RSA Cryptography1-Click ESP GuidesInstant Private Key Download
RFC 6376 Standard
Cryptographic RSA DKIM Key Pair Generator
Sub-Second Generation

Generates a cryptographically secure RSA key pair. The Public Key is published to your DNS TXT records. The Private Key is kept secret on your mail server.

How to Add Your DKIM Record to Your DNS Manager

Select your domain registrar for exact copy-paste navigation instructions:

  1. 1Log in to your Cloudflare dashboard and select your domain.
  2. 2Go to DNS > Records and click "Add Record".
  3. 3Select Type: TXT (or CNAME if using Microsoft/SES).
  4. 4Enter Name: paste your selector host (e.g. mail._domainkey).
  5. 5Enter Content: paste your generated public key value (starting with v=DKIM1).
  6. 6Leave TTL on Auto and click Save.
InvokeIQ Deliverability Engine

DKIM proves authenticity. Warmup secures inbox placement.

Google and Yahoo require DKIM authentication on all outbound senders. But even with valid DKIM, cold inboxes get burned without automated warmup and gradual volume ramping. InvokeIQ handles both automatically.

500 emails/month free forever3 rotating inboxesAutomated peer-to-peer warmupZero credit card required
Start Free Forever
Direct Answer Definition

What is a DKIM Record Generator & How Does It Create DKIM Records?

A DKIM record generator (also known as a free DKIM generator or DKIM key generator) is an email authentication utility used to create DKIM records and public/private cryptographic key pairs under RFC 6376 specifications.

When you generate DKIM records with this tool, it produces a public key published as a DNS TXT record at selector._domainkey.yourdomain.com starting with v=DKIM1; k=rsa; p=... and a confidential private key installed on your outbound mail transfer agent (MTA). This digital signature proves message integrity and prevents email spoofing.

DKIM Setup Guide: How to Create DKIM Record in 4 Simple Steps

Use our free DKIM generator to complete your DKIM setup and learn how to create DKIM record syntax for your domain in under two minutes:

Step 1

Enter Your Domain

Type your sending domain (e.g. company.com) into the domain field.

Step 2

Select a DKIM Selector

Choose a unique selector like mail, default, or 2024 to identify this key pair.

Step 3

Choose Key Size

Select 2048-bit RSA for optimal security and compliance with modern mail providers.

Step 4

Copy & Add to DNS

Paste the public TXT record into your DNS provider, and save your private key.

When Should You Use a Free DKIM Generator?

Without DKIM, your emails risk landing in spam or bouncing entirely. Here are 6 real-world scenarios where you must create a DKIM record:

Your Marketing Emails Go to Spam

Mailbox providers check cryptographic signatures before delivering newsletters. A valid DKIM record prevents false-positive spam filtering.

Someone is Spoofing Your Domain

Scammers cannot forge a DKIM signature without your private key. Any email modified in transit fails DKIM verification immediately.

You Want to Ensure Email Integrity

DKIM creates an immutable cryptographic hash of headers and body content, guaranteeing recipient servers that the text was not altered.

Transactional Emails Fail to Deliver

Password reset codes and billing receipts must land instantly. DKIM gives transactional mail relays verified corporate authenticity.

You Run Cold Email Outreach

Cold outreach domains without DKIM are heavily penalized by Google Workspace algorithms. DKIM unlocks consistent primary inbox placement.

You Want to Improve Sender Reputation

Reputation algorithms track domain-level DKIM signatures over time. Consistent signing builds long-term domain authority and inbox trust.

Technical Architecture

What is a DKIM Selector and How Does It Work?

A DKIM selector is an identifier specified in the email header that tells the receiving mail server where to look in your DNS records for the corresponding public key.

When an email is sent, the header contains a tag like s=mail; d=company.com. The receiving server combines these two values into a DNS lookup address:

[selector]._domainkey.[yourdomain.com]

Because selectors are independent, you can create multiple DKIM records on a single domain. For instance, you can use selector google for Google Workspace, selector s1 for SendGrid, and selector outreach for custom cold email servers.

Discover More Free Deliverability Tools

DKIM is part of a complete email deliverability foundation. Explore our full suite:

Knowledge Base

Frequently Asked Questions About DKIM Record Generation

Common questions regarding DKIM keys, selectors, key lengths, and DNS configuration:

What are DKIM Selectors?

A DKIM selector is an arbitrary string that points to the exact public key used to sign an email. It allows a domain to publish multiple DKIM keys for different email tools (e.g. google._domainkey for Google Workspace and s1._domainkey for SendGrid).

How to create DKIM record and generate a DKIM key for custom mail servers?

To complete your DKIM setup, enter your domain name, choose a selector (like mail), select 2048-bit RSA, and click Generate. Our tool creates both the public DNS TXT record to publish on your DNS and the confidential private key to install in your Postfix or Exim configuration.

How to create a DKIM record for Office 365 (Microsoft 365)?

Microsoft 365 uses dual CNAME records rather than manual TXT keys. In Microsoft 365 Defender, enable DKIM for your domain. Microsoft provides two CNAME records (selector1._domainkey and selector2._domainkey) pointing to your tenant onmicrosoft.com domain.

How to setup DKIM for Google Workspace?

In Google Admin Console, navigate to Apps > Google Workspace > Gmail > Authenticate email. Generate a 2048-bit record with selector google. Copy the TXT value into your DNS manager at host google._domainkey, then click Start authentication in Google Admin.

What is the difference between 1024-bit and 2048-bit DKIM keys?

2048-bit RSA keys provide significantly stronger cryptographic protection and are required by modern security standards and Google/Yahoo bulk sender mandates. 1024-bit keys are older and only recommended if your DNS provider cannot support TXT records exceeding 255 characters.

Can I have multiple DKIM records on one domain?

Yes. Unlike SPF which strictly permits only one TXT record, you can publish as many DKIM records as needed on a single domain, provided each record uses a unique selector (e.g. google._domainkey, selector1._domainkey, mail._domainkey).

Can I use DKIM without an SPF record?

Technically yes, but practically no. Major mailbox providers like Gmail and Yahoo require both SPF and DKIM authentication. To achieve 99%+ deliverability, both protocols must be published and aligned with DMARC.

Is DKIM free to create and publish?

Yes. DKIM is an open internet standard (RFC 6376). Generating keys and publishing the DNS TXT record costs nothing and is supported by every domain registrar.

Who provides the DKIM key for my domain?

If you use a hosted email service (like Google Workspace, Microsoft 365, or Amazon SES), your email provider generates the key pair. If you manage your own mail server (like Postfix or Exim), you generate the key pair using our tool and install the private key on your server.

How is DKIM verified by receiving mail servers?

When an email arrives, the receiving server extracts the selector and domain from the DKIM-Signature header. It fetches your public key from DNS, re-calculates the cryptographic hash of the email body, and verifies that the signature matches.

Built for High-Growth Outbound Teams

Stop landing in spam. Scale your outbound pipeline today.

InvokeIQ combines multi-inbox rotation, automated peer-to-peer warmup, and real-time DNS deliverability monitoring to ensure your cold emails hit the primary inbox every time.

Free Forever plan includes 3 rotating inboxes, automated warmup, and 500 emails/month. No credit card required.