SPF Generator Tool
Build a custom SPF (Sender Policy Framework) record for your domain. All logic runs in your browser.
What is SPF?
SPF (Sender Policy Framework) is a DNS TXT record that helps prevent email spoofing by specifying which mail servers are allowed to send email for your domain.
How do I use this record?
Copy the generated SPF record and add it as a TXT record for your domain in your DNS provider's control panel.
Tips for a good SPF record
- Only include trusted senders and IPs.
- Use
-allfor strict enforcement,~allfor testing. - SPF records must be under 255 characters per string; long records may need to be split.