Free SPF Record Generator
Build a valid SPF record in 60 seconds. Select your email providers, add custom IPs, choose your policy — copy the result directly into your DNS.
Select your email providers
One per line. IPv4 or IPv6, CIDR ranges supported.
One per line. "include:" prefix is added automatically if missing.
v=spf1 -allLookup counts are estimates including nested includes. Actual counts may vary as providers update infrastructure. Use the SPF Checker to verify the exact count for your record after publishing.
What Happens After You Generate Your SPF Record?
1. Publish it as a TXT record at your domain apex. Log into your DNS provider (GoDaddy, Cloudflare, Namecheap, AWS Route 53, etc.), create a new TXT record with @ as the host, and paste the generated SPF string as the value.
2. Verify it with our free SPF checker. After DNS propagation (typically 5-60 minutes), run a check to confirm the record is published correctly and the lookup count is under 10.
3. Monitor it over time. As you add new email services, the SPF record needs updating. Each new include: adds DNS lookups. When you approach the 10-lookup limit, use AutoSPF to flatten or switch to macros.
DNS Lookup Cost by Provider
| Provider | Include mechanism | Lookups |
|---|---|---|
| Google Workspace | include:_spf.google.com | 4 |
| Microsoft 365 | include:spf.protection.outlook.com | 2 |
| SendGrid | include:sendgrid.net | 5 |
| Mailchimp | include:servers.mcsv.net | 1 |
| Amazon SES | include:amazonses.com | 2 |
| Salesforce | include:_spf.salesforce.com | 2 |
| HubSpot | include:spf.hubspot.com | 2 |
| Brevo | include:spf.brevo.com | 2 |
| Mailgun | include:mailgun.org | 5 |
| Zoho Mail | include:zoho.com | 4 |
| Postmark | include:spf.mtasv.net | 1 |
| SparkPost | include:sparkpostmail.com | 1 |
| Custom IP (ip4/ip6) | ip4:x.x.x.x | 0 |
Lookup counts are approximate and may change when providers update their infrastructure. Use the SPF checker for live counts.
Generated a record that exceeds 10 lookups?
AutoSPF automatically flattens your includes and re-scans every 15 minutes. Enterprise SLAs, SSO/SAML, audit logs, and DNS rollback included.
What Our Customers Say
"AutoSPF Flattens SPF Records Seamlessly & Keeps Changes Logged - I am quite pleased with the product"
It does what it promises to do, and does it very well. I appreciate that it keeps a log of changes made, which prevents many mistakes. A client's SPF record would have way too many lookups, but AutoSPF makes that problem go away. The length of the SPF record is typically not the issue; it's the amount of lookups in the record that are. AutoSPF "flattens" the record, automatically expanding the defined lookups to IP addresses or ranges. And it auto-updates the record when the un-flattened lookups change.
Peter J.
President · Small-Business (50 or fewer emp.)
"Helped us go beyond capacity"
AutoSPF did exactly as described, it helped us get past our 10 lookup limit. Afterwards, we hit another limit regarding overall capacity and when contacted, they quickly provided us with a new solution to eliminate capacity issues entirely going forward, so now we can add as many SPF records as needed. They also provided us with a personalized support video explaining their new method in its entirety using our instance as the example.
Verified User
Financial Services · Mid-Market (51-1000 emp.)