SPF Record Generator
Build a valid SPF record for your domain step by step. Improve email deliverability.
Email providers
Your SPF TXT record
About this tool
Build a correct SPF (Sender Policy Framework) DNS record to authorise who can send email for your domain and improve deliverability. Pick your providers and IPs and get a ready-to-publish TXT record.
How to use it
- 1 Tick the providers that send your mail (Google, Microsoft 365, Amazon SES, Zoho, etc.).
- 2 Add any sending IP addresses or extra includes.
- 3 Choose your policy (~all is recommended to start).
- 4 Copy the generated TXT record and add it to your DNS.
Frequently asked questions
Where do I publish the SPF record?
Add it as a TXT record on your root domain in your DNS provider. Use only one SPF record per domain.
What is the “10 lookup” limit?
SPF allows at most 10 DNS-lookup mechanisms (includes, a, mx). The tool warns you if you exceed it, as that causes SPF to fail.
Should I use ~all or -all?
Start with ~all (soft fail) while testing, then move to -all (hard fail) once you are confident every legitimate sender is listed.