Free tool · Email auth
SPF raw validator
Paste a raw SPF record and validate the syntax before you publish. Tokenises every mechanism, counts DNS lookups against the RFC 7208 cap, flags the most common mistakes (duplicate all, deprecated ptr, missing terminator). No DNS lookups - this is a pure syntax check.
The full TXT value, including the v=spf1 prefix. Whitespace and surrounding quotes are tolerated.
Findings
- errorEmpty input.
What this tool checks
Why a raw validator:by the time you've published a broken SPF record and noticed mail is bouncing, you're troubleshooting under pressure with stakeholders watching. This tool catches the syntax issue before you hit save in the DNS console. Paste what you're about to publish, get instant feedback, publish only when the verdict is green.
What we check: v=spf1 prefix, mechanism syntax, duplicate mechanisms, duplicate all terminators, RFC 7208 10-lookup cap, the deprecated ptr mechanism,redirect= + allcoexistence (illegal), and ip4 / ip6 format. We don't resolveinclude: targets; for that, use the SPF flattener which walks the include tree against live DNS.
What we don't check: include target existence (DNS-resolution job, use the flattener), whether the IPs in ip4:ranges actually correspond to real senders, or whether the policy is "correct" for your business (the generator helps build the right one).
Frequently asked questions
Why doesn't the validator resolve include: targets?
What's the difference between a warning and an error?
Can I paste an SPF record with quotes around it?
Is the lookup count exact?
Related free tools
SPF record generator
Build a fresh SPF record from scratch by picking the senders you use.
SPF flattener
Recursively resolve includes into a 0-lookup ip4: / ip6: record.
DMARC analyzer
Validate the DMARC policy that builds on top of SPF.
Unified domain check
One report covering SPF, DMARC, TLS, BIMI, headers, and more.