Early Holiday Sale20% off your first 3 months with codeSAVE20Ends Nov 20

Free ToolsSPF Record Generator

SPF Record Generator

Pick the services that send email for your domain, add any other servers, and copy one SPF record into your DNS.

Please select at least one service to generate your SPF record.

Email services you send from

Other senders (optional)

How to add the record

Publish it as one TXT record at the root of your domain.

Type
TXT
Host / name
@ (the root of the domain). Some hosts leave this blank.
Value
The record generated above, starting with v=spf1.
Already have one?
Do not add a second record. Merge the new includes into your existing one.

SPF generator FAQ

What should my SPF record include?

Every service that sends email with your domain in the From address: your mailbox provider (Google Workspace or Microsoft 365), plus any marketing, sales or transactional tools. Leave out services you no longer use, because each include counts toward the 10 DNS lookup limit.

Should I use ~all or -all?

~all (soft fail) is the safer start and the most common choice. Switch to -all (hard fail) when you are sure every service that sends as you is listed.

Can I have two SPF records?

No. A domain with two v=spf1 records fails SPF. Combine everything into one record.

How do I check my record after publishing it?

Run your domain through the SPF Record Checker. It reads the live record, checks the syntax and counts the DNS lookups.

Does SPF alone get my emails into the inbox?

It is one of the requirements, not the whole answer. Gmail, Yahoo and Outlook also look for DKIM and DMARC, and they weigh the sending reputation of your domain and mailboxes. Email warm-up builds that reputation before you run campaigns.

Don't land in spam.
Make more sales.
Get started today for free.