Tools SPF generator

SPF record generator

Tick the services that send email for you and get one correct SPF record, with its lookup count checked, and the steps to add it.

Who hosts your mailboxes?
What else sends email as you?

How strict?
Your domain (optional)

These don't go in your SPF record

They send from their own return address, so adding them only uses up lookups. Set up their DKIM records instead (their setup pages show how).

How to use it

  • Pick who hosts your mailboxes, such as Google Workspace or Microsoft 365.
  • Add anything else that sends email as you, like a help desk or a server that sends invoices.
  • Copy the record into a TXT record at @ (your bare domain) at your DNS host. If you already have an SPF record, replace it: never add a second one.

Why some services aren't in the list

Newsletter and shop tools like Mailchimp, Shopify and Klaviyo send from their own return address, so receivers check their SPF, not yours. Adding them only uses up your 10 lookups. What they do need is DKIM, which their setup pages walk you through.

~all or -all?

Both tell receivers that other servers aren't allowed. With ~all, receivers usually let your DMARC policy decide what to do, which is the safer choice while you're still finding every service that sends for you. Pick -all only when you're sure the list is complete.

Questions people ask

Can I just add an include to my existing record?
Yes, as long as you edit the one record you have rather than adding a new one. Put the new include before the ~all or -all at the end.
What if my provider isn't listed?
Look in its help pages for "SPF". It will give a value like include:spf.example.com. Paste the part after include: into the "Other services" box.
Do I need SPF on subdomains?
Only on subdomains that send email themselves, like news.yourbusiness.com. Each sending name needs its own record.