Build a valid SPF record from your server IPs and the services that send for you (Google Workspace, Microsoft 365, MailBaby and others) with the right all policy.
Where it runs
Runs in your browser
Last updated
October 3, 2026
List every system that sends mail using your domain and get a single SPF record to publish as a TXT record on the domain root. The generator runs in your browser.
Runs in your browser. What you enter is processed on your device; this tool does not send it to our server.
Table of Contents
Common includes
Google Workspace: _spf.google.com. Microsoft 365: spf.protection.outlook.com. MailBaby: relay.mailbaby.net. Amazon SES: amazonses.com. Mailchimp/Mandrill: servers.mcsv.net. Zoho: zoho.com (or zoho.eu). Check each provider’s documentation — they change occasionally.
After publishing, run the SPF record checker to confirm the lookup count stays at 10 or below.
SPF record generator at a glance
In short: List every system that sends mail using your domain and get a single SPF record to publish as a TXT record on the domain root.SPF record generator: the sections of this tool at a glance.Answers: Where do I publish the record? Should I include my MX?
As a TXT record on the domain itself (host @ or blank). Replace any existing SPF record rather than adding a second one.
Should I include my MX?
Only if your inbound mail servers also send outbound mail. For Google or Microsoft hosted mail use their include instead.
How long can an SPF record be?
Each TXT string is limited to 255 characters, but a record can contain several strings; keep the whole record under about 450 characters to avoid UDP truncation.
Share this tool
Free website test
Is your website set up right?
Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.
Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None
Try:
srvScripts GenieFinds the right tool, guide or fix
Tell me what is wrong, for example emails going to spam, SSL expired on example.com or 550 5.7.1 rejected. Add a domain or IP address and I run a quick check right here, for example check DNS for example.com.
Never paste passwords or keys. Unanswered questions are kept for up to 90 days to improve our guides, with keys, passwords, IP and e-mail addresses masked (best effort: leave out confidential details), and without your IP address, account or cookies. Details