DKIM Record Generator

Paste your public key and selector to instantly generate the correct DKIM DNS TXT record for your domain.

DKIM Record Builder

Fill in the form and click Generate to build your DKIM record.

Copied!

Summary

Paste your public key and selector to instantly generate the correct DKIM DNS TXT record for your domain.

How it works

  1. Enter the DKIM selector assigned by your email provider (e.g. "google", "mail", "s1").
  2. Paste your RSA or Ed25519 public key — either raw Base64 or PEM format is accepted.
  3. Optionally select the key type (RSA or Ed25519) and the hash algorithms to allow.
  4. Click "Generate Record" to produce the fully formatted DNS TXT record.
  5. Copy the hostname and value into your DNS provider exactly as shown.

Use cases

  • Setting up DKIM signing for a new domain with Google Workspace or Microsoft 365.
  • Adding DKIM records after migrating to a new email service provider.
  • Verifying that your DKIM record is formatted correctly before publishing.
  • Generating DKIM records for self-hosted mail servers such as Postfix or Dovecot.
  • Building DKIM records for transactional email services like SendGrid or Mailgun.
  • Teaching email deliverability concepts with a live, hands-on record builder.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu