Back to Free Tools
SPF Record Generator
Build a valid SPF record by selecting your email services, with automatic lookup counting.
Build an SPF record
Only used to label your saved share link.
Separate multiple values with spaces or commas.
0 / 10 DNS lookups
v=spf1 ~all
TXT record — Host: @ · Value:
Checks
- Record has no senders
Add at least one include:, ip4:, or ip6: mechanism before publishing.
What is an SPF record?
SPF (Sender Policy Framework) is a DNS TXT record at the root of your domain that lists the IP addresses and hosts allowed to send email as you. Receivers look it up on every inbound message and feed the result into DMARC alignment.
v=spf1 include:_spf.google.com include:mailgun.org ip4:198.51.100.0/24 ~allHow to publish the generated record
- Copy the TXT value above.
- In your DNS provider, add a TXT record with Host =
@(root) and the value pasted in. - Save and wait for propagation (typically a few minutes).
- Validate it on the SPF Record Checker.
Frequently asked questions
Related free tools
References
Go beyond one-off checks
Safer Sender continuously monitors your domain's DMARC, SPF and DKIM, classifies every sender, and guides you safely from p=none to p=reject.