Free tool
SPF and DMARC record generator
Gmail and Yahoo expect senders to prove their mail is really theirs. Tick who sends email for your domain, choose a DMARC policy, and copy two DNS records. It runs in your browser; nothing is sent or stored.
1. SPF record
- Type
- TXT
- Host / name
- @
2. DMARC record
- Type
- TXT
- Host / name
- _dmarc
Paste an existing SPF record or choose the senders you actually use. No provider is assumed.
Review your draft before publishing. This tool does not query DNS or prove delivery.
Read before you enforce
Turn a DMARC report into a sender review.
Open one aggregate XML report from your reporting inbox. See the message-weighted alignment reported by that receiver and which sending sources to investigate.
Local processing only. This reader does not upload or store your file. Reports contain sending IPs and domains: use only reports you are authorized to inspect. Unzip .gz/.zip first; UTF-8 XML only, up to 512 KiB and 500 records. Leave this page or Clear to discard the reader’s contents.
Or paste the XML
Choose a report or paste XML. Your DNS records will not be changed.
What this receiver reported
Keep private investigation notes
Aligned results come from policy_evaluated, not raw authentication results. A fail can be unauthorized mail, forwarding or a legitimate configuration problem. One receiver and period cannot prove all your mail is safe. Reports can be incomplete, overlapping or forged; this does not verify signatures, ownership, DNS or delivery. Never add duplicate reports together. Verify all legitimate senders across reports before enforcing. We never tick the readiness box for you.
Before and after you publish
- Add both records where your domain’s DNS is managed: your registrar, your host or Cloudflare.
- Turn on DKIM too. Your email provider makes that record for you (Google Admin, Microsoft Defender, or your sending tool’s domain settings).
- SPF allows at most 10 DNS lookups, and each include uses at least one. List only the services that really send for you.
- DNS changes can take up to a few hours. Then run the free website check to see them live.
Rather do it together?
On a 1-hour live call we add SPF, DKIM and DMARC with you in your own DNS and email accounts, and test that mail passes.
Set it up live · from $5 Why mail lands in spamGood to know: Optimark Media sells live technical help and setup services for advertising, analytics, website and cloud tools. We do not guarantee specific financial results, earnings, or ROI. All business outcomes vary based on individual execution, market conditions, and other factors.