Free SPF Record Generator

Generate SPF records instantly to prevent email spoofing and improve email deliverability.

Configure Your SPF Record

Select your email providers and configure SPF settings to generate your record

Enter your domain without http:// or www.

Select the email services you use to send emails from your domain

Add any additional IP addresses that send emails for your domain

Choose how strictly to enforce SPF for emails not matching your record

What is an SPF Record?

An SPF (Sender Policy Framework) record is a DNS TXT record that specifies which email servers are authorized to send emails on behalf of your domain. It helps prevent email spoofing and improves email deliverability by allowing receiving servers to verify that incoming emails are from legitimate sources.

How to Use This SPF Record Generator

  1. Enter your domain: Type your domain name (like example.com)
  2. Select email providers: Check all the email services you use (Gmail, Outlook, Mailchimp, etc.)
  3. Add custom IPs (optional): Include any additional IP addresses that send emails for your domain
  4. Choose SPF policy: Select how strictly to handle emails that don't match your SPF record
  5. Generate and implement: Copy the generated record and add it to your DNS settings as a TXT record

Frequently Asked Questions

What's the difference between SPF policy options?

~all (Soft Fail): Recommended for most users. Marks suspicious emails but doesn't reject them outright.

-all (Hard Fail): Strict policy that rejects emails not matching your SPF record. Use with caution.

?all (Neutral): Takes no action on emails that don't match. Less secure but more permissive.

+all (Pass All): Allows all emails. Not recommended as it defeats the purpose of SPF.

Can I have multiple SPF records?

No, you can only have one SPF record per domain. Having multiple SPF records will cause conflicts and may result in email delivery issues. If you need to authorize multiple email providers, include them all in a single SPF record using multiple "include:" mechanisms.

How long does it take for SPF changes to take effect?

SPF record changes typically take 1-4 hours to propagate, but can take up to 48 hours for full global propagation. You can test your SPF record using various online SPF checkers after making changes to verify it's working correctly.

What if I'm using a service not listed in the options?

Use the "Custom IP Addresses" field to add specific IP addresses, or you can manually add include: mechanisms to your generated record. Check your email service provider's documentation for their SPF include string or IP addresses.

Send Personalized Emails with Gmail

BetterMerge is a mail merge tool that works seamlessly with Gmail and Google Sheets for sending personalized emails.