SPF Generator
Build a clean SPF TXT record for domains that send email through apps and providers.
Adjust the fields and copy the TXT value into your DNS provider.
v=spf1 a mx include:_spf.google.com ~allCreate one publishable SPF record
SPF records should stay readable and singular: one TXT record beginning with v=spf1, followed by the services that are allowed to send.
Use this generator when adding a newsletter platform, transactional mail provider, support desk, or self-hosted mail server.
Related guides
SPF Record Examples for Google Workspace, Microsoft 365, SendGrid, Mailgun, Zoho, and Amazon SES
Copy practical SPF examples and learn how to combine common email providers into one safe TXT record.
How to Fix SPF Fail
A practical checklist for fixing SPF failures without breaking legitimate email senders.
FAQ
Should I publish more than one SPF record?
No. Merge all senders into one SPF record to avoid permanent errors at receivers.
Should I choose ~all or -all?
Use ~all while testing. Move to -all only after every legitimate sender is included.