ribbon

VitaMail V5 is now live! Create campaigns and run outreach from one place.

VitaMail

Menu

SPF Checker

Free SPF Record Generator: Build a Correct Record in Minutes

Add your sending sources, pick a failure policy, and let the wizard assemble a syntactically valid SPF record, so you're not troubleshooting deliverability issues later.

Select your SPF Tool

Check, create, or validate your record to stop spoofing and boost deliverability.

Generate Your SPF Record

Our guided wizard makes it easy to create a new, error-free SPF record to authorize your senders.

Use Redirect

SPF Record

Domainyourdomain.com
TypeTXT
Valuev=spf1 -spf.google.com mailgun.org ~all
SPF Checker

Why Generate Your SPF Record Instead of Writing It by Hand?

SPF syntax is unforgiving — a missing space, a stray character, or the wrong mechanism order can invalidate the entire record without any obvious warning until your emails start bouncing or landing in spam. A generator removes that risk by building the record structurally: you choose your sending sources and failure policy, and the tool assembles a syntactically valid record automatically.

This matters most if you're adding several sending sources at once — say, Google Workspace for internal mail, plus a marketing platform and a CRM — since each one needs to be listed with the correct mechanism and combined into a single record. Domains can only have one published SPF record; the generator above builds that one consolidated record for you.

Domain Health

Understanding the SPF record format

Every SPF record follows the same three-part structure:

v=spf1 include:_spf.example.com ~all
01Protocol version
Requirementalways
Valuev=spf1

This must appear first, exactly as written, or receiving servers ignore the entire record....

02Authorized senders
Requirementone or more mechanisms
Valueinclude ip4
ip6, a, mx

This must appear first, exactly as written, or receiving servers ignore the entire record....

03Failure policy
Requirementthe
Valueall

mechanism at the very end, which decides what happens to mail from anyone not listed above.

Understanding the SPF record format

Here's a real, working example:

Log in

1

Log in to your DNS provider or domain registrar's control panel.

DNS management

2

Find the DNS management section - often labeled "DNS Management," "Zone Editor," or "Advanced DNS."

TXT record

3

Create a new TXT record.

Set the host

4

Set the host/name field to @ (your root domain), unless your provider instructs otherwise.

Paste DNS

5

Paste your generated SPF record into the value field exactly as shown, with no extra quotation marks unless your provider requires them.

Save the record

6

Save the record. DNS changes can take anywhere from a few minutes up to 48 hours to fully propagate.

Run the record

7

Run the record back through VitaMail's SPF Checker to confirm it published correctly and is within the DNS lookup limit.

Mistakes to avoid when generating a new record

The final all mechanism decides what happens to mail from a source that isn't listed in your record. This one tag has an outsized effect on your deliverability and your exposure to spoofing

Publishing a second SPF record instead of updating the existing one

A domain can only have one SPF TXT record. If you already have one, replace it - don't add a new one alongside it, or every check will fail with a PermError.

Forgetting a sending source

Leaving out a legitimate sender (a support desk, a billing tool, a marketing platform) means its emails will fail SPF the moment you switch to a strict failure policy.

Defaulting to +all "to be safe"

This does the opposite of what most people expect - it authorizes literally any server to send as your domain, removing SPF's protection entirely.

Not re-checking after publishing

DNS typos are common and easy to miss. Always re-run the published record through a checker after it propagates, rather than assuming it saved correctly.

Already have an SPF record and just need to confirm it's error-free? Use the SPF Checker to analyze your live domain, or the SPF Raw Checker to validate a record before you publish it.

Explore Other Free Tools

Write subject lines that encourage opens.

AI Subject Line Generator
Email Content Checker

Generate full email drafts you can review and edit.

AI Email Generator
Email Content Checker
Have Questions? We`ve Got Answers.

If you can`t find what you`re looking for, our team is always ready to assist you.

What should I include in my SPF record?
What's the difference between Include, IPv4, A Record, and MX Record?
Should I choose SoftFail or HardFail?
What does "Use Redirect" do, and when should I use it?
Where do I add the SPF record after generating it?
How do I generate an SPF record?
Stay Ahead inEmail Marketing

Join marketers who get fresh strategies, growth ideas, and new feature updates — only the useful stuff, no spam.

keyboard