Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Check SPF (Sender Policy Framework) records for any domain. Validate your email authentication configuration instantly, no signup required. The tool is developed by TestMu AI and is completely free to use.
Enter Domain Name
SPF (Sender Policy Framework) is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. It is one of the key email authentication protocols, alongside DKIM and DMARC, that helps prevent email spoofing and phishing attacks.
An SPF record starts with v=spf1 and contains a list of mechanisms that define which servers can send mail for the domain. For example:
v=spf1 include:_spf.google.com ~all
This record allows Google's mail servers to send email on behalf of the domain, and soft-fails everything else.
Checking the SPF record of any domain takes a few seconds and requires no signup. Follow these steps:
An SPF record is built from mechanisms, and each one authorizes a set of sending servers. These are the mechanisms you will see in the parsed results:
Each mechanism in an SPF record can have a qualifier prefix that determines what happens when a match occurs:
| Qualifier | Symbol | Meaning |
|---|---|---|
| Pass | + | Authorized (default if no qualifier) |
| Fail | - | Not authorized, reject the email |
| SoftFail | ~ | Not authorized, accept but mark as suspicious |
| Neutral | ? | No assertion, treated as if no SPF exists |
Most SPF failures trace back to a handful of avoidable configuration errors. Watch for these mistakes when you review a record:
An SPF (Sender Policy Framework) record is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of a domain. It helps prevent email spoofing and phishing.
An SPF Checker queries the DNS TXT records for a given domain, identifies the SPF record (starting with v=spf1), and parses its mechanisms such as include, ip4, ip6, mx, a, and the all qualifier.
The ~all mechanism means SoftFail, so emails from non-authorized servers are accepted but marked as suspicious. The -all qualifier means hard fail (reject), +all means allow all (not recommended), and ?all means neutral.
No, a domain should have only one SPF record. Having multiple SPF records is a configuration error per RFC 7208 and may cause email delivery issues. Multiple records should be merged into one.
SPF has a limit of 10 DNS lookups (including include, a, mx, ptr, exists, and redirect mechanisms). Exceeding this limit causes a PermError, which may result in email delivery failures.
Yes. SPF records live on public name servers, so they cannot be read without a network query. The tool sends only the domain name you enter to Cloudflare's public DNS over HTTPS resolver. No email content, credentials, or personal data are involved, and no signup is required.
No. SPF only validates the sending server against the envelope sender, and it can break on forwarded mail. For dependable protection, pair SPF with DKIM signatures and a DMARC policy so receiving servers know how to treat messages that fail authentication.
Create a single TXT record at your DNS provider that starts with v=spf1, list your authorized senders with include, ip4, or mx mechanisms, and end with ~all or -all. Publish the change, allow DNS time to update, then run this checker again to confirm.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance