SPF Record Generator
Generate an SPF TXT record.
Keep or share the finished result
Copy or share after running the tool. Saved tools and settings stay in this browser.
What would you like to do next?
Generate an SPF record
SPF helps receiving mail servers identify which systems are allowed to send mail for a domain. Enter approved include hosts and IPv4 senders to generate a TXT record. It is useful for email provider setup, domain launches, deliverability cleanup and sender migrations.
Email sender authorization
Keep only active sending services in SPF to avoid stale or risky authorization.
Frequently asked questions
What does SPF authorize?
It authorizes mail servers that may send mail for a domain.
What is include?
An include mechanism references another provider SPF policy.
Should I use -all or ~all?
Use a policy that matches your confidence and migration stage. Many teams start less strict before hardening.