Free — no login
Free SPF + DMARC Generator
Tool details
Build copy-paste SPF and DMARC TXT records from your sending IPs, includes and policy choices — then verify them with the Email Deliverability Checker.
Domain & SPF mechanisms
DMARC policy
SPF TXT record
Host / name: @ (or your mail-from domain) · Type: TXT
Publish exactly one SPF TXT per name. Keep under 10 DNS lookups (each include/a/mx/redirect counts).
DMARC TXT record
Host / name: _dmarc.yourdomain.com · Type: TXT
Start with p=none to collect rua reports, then move to quarantine/reject. Verify with the Email Deliverability Checker.
Next step
After DNS updates, confirm SPF/DMARC (and DKIM) with the Email Deliverability Checker, and inspect live Authentication-Results in the Email Header Analyzer.
Frequently asked questions
~all (softfail) is safer while you are still discovering senders. Switch to -all (fail) once SPF covers every legitimate source and DMARC is at quarantine or reject.
SPF goes as a TXT record on the apex (or the mail-from domain). DMARC goes as a TXT record on _dmarc.yourdomain.com. Only one SPF TXT per name.
After DNS propagates, run the Email Deliverability Checker and optionally paste a real message into the Email Header Analyzer.
No. DKIM keys come from your ESP or mail server. Generate SPF and DMARC here, then add DKIM from your provider and verify with the Email Deliverability Checker.
rua is where aggregate XML reports are emailed. Start with a mailbox you monitor (or a report service), then tighten policy after you review sources.