Free, no account

SPF record generator and checker for your domain

Pick the services that send email for your domain, add your own server addresses, and get the SPF record to publish in DNS.

Build a record

Tick the services that send email as your domain, add your own servers, and get the record to publish.

Services that send your email

include:_spf.google.comChecked Nov 30, 2026 on their help page.

include:spf.protection.outlook.comChecked Nov 30, 2026 on their help page.

include:spf.protection.office365.usFor GCC High and DoD tenants only. Checked Nov 30, 2026 on their help page.

include:spf.protection.partner.outlook.cnFor Microsoft 365 operated by 21Vianet in China only. Checked Nov 30, 2026 on their help page.

include:zohomail.comChecked Nov 30, 2026 on their help page.

include:one.zoho.comFor domains that send mail from several Zoho services. Checked Nov 30, 2026 on their help page.

include:mandrillapp.comChecked Nov 30, 2026 on their help page.

include:sendgrid.netOnly with automated security turned off, on the return-path subdomain. Checked Nov 30, 2026 on their help page.

include:amazonses.comOnly for a custom MAIL FROM subdomain. Checked Nov 30, 2026 on their help page.

include:mailgun.orgChecked Nov 30, 2026 on their help page.

include:spf.mtasv.netChecked Nov 30, 2026 on their help page.

include:spf.brevo.comChecked Nov 30, 2026 on their help page.

include:mail.zendesk.comChecked Nov 30, 2026 on their help page.

include:_spf.salesforce.comChecked Nov 30, 2026 on their help page.

Your own servers

One per line, up to 20 of each. A range such as 203.0.113.0/24 works too.

Mail from anywhere else

Check a record

Paste an SPF record to catch the mistakes that break it before you publish.

This reads the text only and makes no DNS lookups, so the lookups inside each include aren't counted. To check what a domain publishes now, use our SPF record checker.

Example

What you get

You enter

{"ip4":["203.0.113.5"],"mx":true}

You get

v=spf1 mx ip4:203.0.113.5 ~all

The standard

How it works

Follows RFC 7208

You choose the services that send email for your domain and add any server addresses of your own. The builder puts them in a fixed order and ends the record with a soft fail or a fail policy, as you choose.

It counts the terms that need a DNS lookup, reports an error when the record goes over 10 lookups or 450 characters, and warns when an address range is very wide. A second call checks a record you paste in. Nothing is looked up in DNS and nothing is stored.

It's for you if

  • You are setting up email for a domain and need an SPF record.
  • You want to catch a record that is too long or has too many lookups.

It's not for you if

  • You need the live lookup count after the record is published.
  • You want to check DKIM or DMARC records.

Your data

What the tool keeps

  • Nothing you type into the tool. What you type is used for the answer and then dropped: nothing is stored and there are no cookies.
  • Free, no account. There's nothing to sign up for, and nothing asks who you are.
  • Sealed off. The tool runs in its own container with no network access at all, so it can't look anything up or send what you type anywhere.
  • Counted, not recorded. We count how many times each part of the tool is used each day, as a number only. Your IP address is used, in memory only, to limit how many requests one address can make.
  • Reports, if you send one. A problem report keeps only what you write in it, with no email address or IP address, for up to 12 months, so we can fix the tool.

Found a security problem? Our security.txt says how to tell us. More in our privacy policy.

Who builds it

Made by Xcelcor, run by Pragmio LLC, New Jersey, USA. Xcelcor is a security publication for households and small offices: news, scam alerts and plain-English guides, each checked by a named reviewer before it goes up. We also build a few free tools for problems people keep asking about.

Something wrong with an answer? Report a problem and a person will read it. Read how we work, including how Xcelcor makes money.

Our articles are written and reviewed the same way whether or not a product of ours is mentioned.

Report a problem

Something wrong with an answer?

We don’t ask for your email, so we can’t reply. Please leave out personal details and anything private you typed into the tool.

Read more

Related checks

Questions

Questions people ask

What does the soft fail policy do?

Soft fail ends the record with ~all, which tells receiving servers that other senders are suspect but not to reject them outright. Fail uses -all and asks them to reject.

Why is there a limit of 10 lookups?

RFC 7208 allows at most 10 terms that cause a DNS lookup. Past that, receivers may treat the record as broken, so the builder reports an error when you go over.

Can I check a record I already have?

Yes. Paste it into the checker and it reports unknown terms, repeated terms, bad addresses and lookup counts. Another way is to write the record by hand from the standard.

Build your SPF record

Free, no account, and nothing you type is kept.

Back to the tool

This is Xcelcor's own tool. Already published a record? Our SPF record checker checks what a domain publishes now.