Free Email Checker Free Email Checker


SPF Generator

Free SPF Record Generator

Free SPF record generator – pick your email providers, add your own IP addresses and get a ready-to-publish SPF TXT record, with a warning before you go over the 10 DNS lookup limit.

Who sends mail for this domain?

Built in your browser; nothing you type is sent anywhere. A domain can have only one SPF record: if you already have one, merge these senders into it instead of adding a second.

Want unlimited checks?

Get started free – no card needed, 5 more Free SPF Record Generator runs (and full access to all 10 tools) the moment you verify your email.

Get Started Free

Build an SPF record without memorising the syntax

Choose the services that send mail for your domain, add any servers you run yourself and pick how strict the ending should be. The generator writes the record, shows the host and value to enter in DNS, and flags problems such as an invalid IP address or too many DNS lookups.

After you publish it

  • Check the live record with the SPF, DKIM and DMARC checker on this site.
  • Add DKIM signing at each sending service, then publish a DMARC record (the DMARC generator builds one).
  • Change the ending from ~all to -all only after you are sure the list is complete.

Frequently Asked Questions

What is an SPF record?

An SPF record is a DNS TXT record that lists the servers allowed to send email for your domain. Receiving servers check it to see whether a message came from an approved sender.

Can I have two SPF records?

No. A domain must publish only one SPF record, and two records cause a permanent error. If you already have one, merge the new senders into it.

What is the 10 lookup limit?

SPF allows at most 10 DNS lookups while a record is evaluated. Each include, a and mx term counts one, and an include can add more inside it. IP ranges (ip4 and ip6) cost nothing. This tool counts the lookups it can see and warns you as you get close; it cannot see inside a provider include.

Should I end with ~all or -all?

Start with ~all (soft fail) while you confirm that every real sender is listed, then move to -all (hard fail) when you are sure. SPF alone does not decide where mail goes; DMARC uses it together with DKIM.

Is anything I type sent to your servers?

No. The record is built in your browser and nothing you enter is sent anywhere.