Free SPF Record Generator
Generate a ready-to-copy SPF TXT record and flatten existing SPF includes into IP mechanisms when your domain is close to the 10-lookup limit.
Frequently Asked Questions
What should an SPF record include?
An SPF record should include every service allowed to send email for your domain and end with an all mechanism such as ~all or -all.
What is SPF flattening?
SPF flattening replaces DNS-lookup mechanisms such as include, a, and mx with literal IP ranges. It can prevent SPF PermError when a record exceeds the 10-lookup limit.
Should I use -all or ~all?
Use ~all while validating senders. Move to -all only after you know every legitimate sender is covered by the SPF record.
More Email Security Tools
SPF CheckerCheck your domain's SPF record instantly. Validate SPF syntax, see authorized senders, and find misconfigurations that allow email spoofing.DMARC GeneratorGenerate a ready-to-copy DMARC TXT record for your domain, including policy, aggregate reporting address, and safe monitoring defaults.DNS CheckerCheck the DNS records that affect email delivery: SPF, DMARC, DKIM, MX, MTA-STS, TLS-RPT, and BIMI in one public report.