🛡️ SPF Record Generator

Build a valid SPF record for your domain. Select your email providers, add custom IPs or includes, and choose your policy.

Select all the services that send email on behalf of your domain.

Add any additional IP addresses that send mail for your domain.

Add any additional include mechanisms for third-party services.

Choose what happens to emails that don't match your SPF record.

What is SPF?

SPF (Sender Policy Framework) is an email authentication protocol that helps prevent email spoofing. It specifies which mail servers are authorized to send email on behalf of your domain.

  • ~all — Soft fail: emails from unauthorized servers are marked as suspicious
  • -all — Hard fail: emails from unauthorized servers are rejected
  • ?all — Neutral: no policy enforcement (not recommended)